I'm looking for a solution to the following issue:
we have a windows server with a bunch of people logging in remotely to work on stuff; when we need to upgrade the server, we issue warnings via email and splash screen, asking not to login during the downtime - but people still login which often messes up our upgrade process
here is my question -
is it possible to write a script (Powershell perhaps) - for our system engineer to run at the beginning of the upgrade that would alter permissions/policies for all other users to login remotely (RDP) to this server? She needs to retain a full control over the server, and she is remote also (RDP)
When the upgrade is done, she will run a script again to restore all the permissions/policies for everybody to be able to work on the server via RDP
thanks!