PowerShell Execution Policy prevents Exchange Server 2013 Uninstall

Exchange Server 2013 LogoUninstalling Exchange Server 2013 will fail if GPO sets the PowerShell MachinePolicy or UserPolicy.

You will receive an error message referencing Microsoft KB article 981474, which refers primarily to Exchange Server 2010.

Screenshot showing the PowerShell Execution Policy Error

The following PowerShell command removes the GPO setting.

Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell -Name ExecutionPolicy –Value ""

After setting the ExecutionPolicy attribute to an empty string, Exchange Server 2013 can be uninstalled successfully.

Links


Do you plan to deploy Exchange Server 2016 or do you plan to go hybrid with Office 365?
Check out the enterprise technology services provides by Granikos https://www.granikos.eu/en

%d Bloggern gefällt das: