PDQ.com mobilePDQ.com desktop

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.


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.

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

Don't miss the next post!

Using PowerShell to Install Printers

When installing printers, we will need to do the four things; Add Driver to the Store, Install the Driver, Create Printer Port, and Install the Printer