Keep up to date with the latest information about Microsfot Dynamics GP through articles from the Perfect Image and azurecurve blog.
PowerShell to Stop Server Manager Loading
August 13th, 2018 by Ian Grieve
One of the things that annoys me about Windows Server 2012 and later, is that the Server Manager launches automatically whenever you log in. This wouldn;t be a problem, if it didn’t take so long to fully launch.
Well, I did some exploring and investigation, and it turns out that the Server Manager is being launched at user log on by a Scheduled Task:
While you can switch off Server Manager manually, which I do when logging onto clients servers, I’d prefer to be able to switch it off for all users in one go on my test systems. Depending on which test system I am on, there can be up to 8 servers running and I can log on using a variety of usernames.
Fortunately, there is a way to do disable the scheduled task for all users using PowerShell. Launch a PowerShell command window and type the following:
Get-ScheduledTask -TaskName ServerManager | Disable-ScheduledTask
At user log on, the Server Manager will no longer aotumatically launch.
If you want to re-enable the scheduled task, the following command will do so:
Get-ScheduledTask -TaskName ServerManager | Enable-ScheduledTask