Sửa lỗi log on failure the user has not been năm 2024
If you receive this error from the Windows Task Scheduler then it means the user account does not have the logon right (Log on as a batch job, SeBatchLogonRight) required to run scheduled tasks. Administrator accounts usually have this logon right, but standard users typically do not. As an administrator you can give this logon right to a non-admin user. Show Note that this does not make the account an administrator. It just gives the account the ability to use the task scheduler in Windows. If you cannot give the account the logon right, or do not wish to, then one option is to configure to schedule to run only when the user is logged on. Alternatively, you could set the profile to run when the users logs in. Running a profile on logout is not recommended or even possible in many situations. This is because Windows aggressively acts against programs that slow or stop the logoff process from happening in a timely manner. To give a user the necessary logon right:
If you are using Windows 7 Home (or a non-Professional version of Windows) then you may have to use a different method because Microsoft has removed the Local Security Policy applet from that version of Windows:
In this post, we’re gonna solve “Logon failure: The user has not been granted the requested logon type at this computer” error. We will also go through the following: You might also like to read Evaluation Period expired for Windows Server 2012 R2, How to extend it? I have created a new user in Active Directory on Windows Server 2012 R2, when I tried to log in with the newly created user to a site or windows, unfortunately, I couldn’t log in, I got the below error. Logon failure: The user has not been granted the requested logon type at this computer. How to solve “The user has not been granted the requested logon type at this computer”?This error usually occurs in case the login user does not have permission to log on locally to this computer. The login user does not have permission to log on locally to this computerTo solve “The user has not been granted the requested logon type at this computer” error, you should make sure that the login user and all groups that belong to are allowed to log on locally to this computer. To get which groups the current user belongs to, Please check Get Groups in which a user is a member Using PowerShell. Allow Logon Locally In Windows ServerSteps
Note: if “Add User button is disabled in User Rights Assignment“, that means the current user is not a domain admin account, to solve this issue please, check the . Force Group Policy UpdateTo instantly reflect the above changes in Group Policy Management, you should do the following:
Allow Logon Locally to Windows (Alternative Method)Alternatively, you can also allow the newly created user to logon locally to the windows by doing the following: Steps
Note: Although you have run the Group Policy Management as an administrator, you may get the Edit option is disabled which means you didn’t log in to the server/PC as a domain administrator account. to solve this issue, please, check the .
Note: if Add User button is disabled in User Rights Assignment, that means the current user is not a domain admin account. to solve this issue please, check the . Force Group Policy UpdateTo instantly reflect the above changes in Group Policy Management, you should do the following:
Edit default domain policy grayed outEven if you have run the “Group Policy Management” as administrator, You may not be able to edit default domain policy as shown below: Actually, you get “Edit default domain policy grayed out” If the current user is not a member of Domain Admins security group or Enterprise Admins security group. To check if the current user is a member of Global Domain Admins group or not, Please check Get all Groups a user is a member of Using PowerShell Enable “Edit default domain policy”To enable “Edit default domain policy” option, you must
Whatever which method you will use, you would be able to “Edit default domain policy” now as shown below: Add User button is grayed out in User Rights AssignmentAgain, you may get “Add User button is grayed out in User Rights Assignment” as shown below: This issue also occurs If the current user is not a member of Domain Admins security group or Enterprise Admins security group. Enable “Add User button in User Rights Assignment”To enable “Add User button in User Rights Assignment“, you should do the following:
Applies To
In conclusion, we have solved “Logon failure: The user has not been granted the requested logon type at this computer” error by configuring group policy management and allowing Logon Locally privileges to the new user to be able to login to the windows. |