How to Prevent a Disconnect During GP Update

If you’ve used RDP and run the gpupdate /force you may have seen the “Remote Desktop Services session has ended” error which forces your RDP to disconnect. Here’s how to prevent a disconnect during GP Update. It just requires a simple registry edit.

Desktop error-prevent disconnect

 

Prevent a Disconnect During GP Update

Reconnect to the machine and go to your registry editor.

Then go to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Terminal Server. There should be a value called fDenyTSConnections. Odds are you’ll see a value of “1”. Double-click to edit and change the Value data field to 0.

regedit fDeny - Prevent a Disconnect During GP Update

That’s it! When you go to run gpupdate /force again, the policy will successfully update.

Your email address will not be published.

Your Name