Set-ExecutionPolicy Access To The Registry Key Is Denied – PowerShell

When trying to set the execution policy in PowerShell, you can get the following error: set-executionpolicy : Access to the registry key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell’ is denied. This is because PowerShell does not have administrative access to the registry. To fix this: Close PowerShell Hold down Ctrl + right click the PowerShell icon Click Run as Administrator […]
Continue reading…

 

Powershell Is Unable To Connect To The Remote Server

You may find that you get the following error when trying to run PowerShell commands connecting to remote servers: Powershell is unable to connect to the remote server This is because you haven’t enabled PowerShell Remoting. To enable PowerShell Remoting, create a group policy object with the following policies set: Computer Configuration -> Policies -> […]
Continue reading…