![]() ![]() Today, we saw how our Support Engineers fix this error. In short, we can fix the error unable to add or remove role: windows server requires to restart by granting SeServiceLogonRight to NT SERVICE\ALL SERVICES. Restart the Windows Server and try to install/remove a role again. Make sure that NT SERVICE\ALL SERVICES has appeared in the “Log on as a service” permissions in the Group Policy Editor console. We may now receive a message that granting SeServiceLogonRight to NT SERVICE\ALL SERVICES was successful. Ntrights.exe r SeServiceLogonRight -u “NT SERVICE\ALL SERVICES” Then grant the SeServiceLogonRight permission using these commands in the elevated command prompt: cd “C:\Program Files (x86)\Windows Resource Kits\Tools” Boot your server from Windows Server 2012 > click on Troubleshoot to enter in recovery mode console. Thus, we may need to grant the “Log on as a service” permissions to NT SERVICE\ALL SERVICES.įor this, we can use the ntrights.exe tool from the old Windows Server 2003 Resource Kit.ĭownload and install the Server 2003 Resource Kit (rktools.exe). Often it may trigger an error “name not found”. We can add it from the Add User or Group -> NT SERVICE\ALL SERVICES. We may see that there is no NT SERVICE\ALL SERVICES in this policy.Go to Computer Configuration, navigate to Local Policies in the Windows Settings Security Settings, and then to the User Rights Assignment.To solve the problem, we must grant the logon as a service permissions to “NT SERVICE\ALL SERVICES”. How to fix the error “Unable to add or remove role: windows server requires restart”? This service account does not have the required user right “Log on as a service”. The server event log at the Event Viewer -> Windows Logs -> System shows an error with the EventID 7041 and Service Control Manager as a source. The same error appears again while installing the role, even after restarting the server.Īs a result, we cannot install or remove any of the roles/features on Windows Server even after restarting the server and installing the latest updates. The operation cannot be completed, because the server that you specified requires a restart. Remove Computer Objects from AD: In your Active. The exact error message looks like the one below: The request to add or remove features on the specified server failed. From the Actions menu, click on Instance State and then from the sub menu, select Terminate. Unable to add or remove role: windows server requires restartĪt times, while installing any role or feature on Windows Server 2016, an error appears that the server requires a restart. Let us today discuss the possible causes and fixes for this error. ![]() While installing any role or feature on the Windows server, webmasters often face the error it is unable to add or remove role: windows server requires a restart.Īs a part of our Server Management Services, we help our Customers with Windows related errors regularly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |