Windows 2016 – Prompts for a restart when adding Roles and Features

I wanted to install RAS VPN to the server but it failed all the time ?



Every time it asked to restart and ended up in the same circle….

“The operation cannot be completed, because the server that you specified requires a restart.”


Restarting the server provides no solution.



The solution is to grant the ‘log on as a service’ right to some addition built in accounts.

Start the Group Policy Management Console Open the Default Domain Controllers Policy or your specific server management policy.

Open the Computer Configuration –> Policies –> Windows Settings –> Security Settings –> Local Policies –> User Rights Assignment branch

And then double click the ‘Log on as a service’ setting. Add the IIS_WPG, NETWORK, NETWORK SERVICE, and SERVICE accounts (via the Browse option).

Once these settings have been applied the server needs to update to the current Group Policy version. On the server command line you can type


gpupdate /force



If this does not work best check the events :

For some services you will see these errors


So you need add one extra … to the GPO : Solution here


Once updated the installation should progress smoothly.

Enjoy !


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: