Part of any Operating System that you install, whether it is Server 2012 or Server 2019, Server Manager launches on startup.

A quick command below will create a registry key and disable it so it doesn’t start on windows boot. Here is the command:

  • Invoke-Command -ComputerName Exchange-2019 -ScriptBlock { New-ItemProperty -Path HKCU:\Software\Microsoft\ServerManager -Name DoNotOpenServerManagerAtLogon -PropertyType DWORD -Value “0x1” –Force}

I have tested this on Server 2012, R2 and Server 2016 and now Server 2019.

Here is a screenshot below of the output once run:

Exchange 2019 - assign services to an ssl certificate

Hope it helps.


    Discover more from Everything-PowerShell

    Subscribe now to keep reading and get access to the full archive.

    Continue reading