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