Windows Server 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 ?

 

image

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.”

image

Restarting the server provides no solution.

 

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

 

image

If this does not work best check the events :

For some services you will see these errors

image

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

NT SERVICE\ALL SERVICES

Once updated the installation should progress smoothly.

Enjoy !

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: