Access to the registry key for PowerShel' is denied.

When logged in as admin, still receive following error when attempting to enable powershell on Windows 7 Home Premium..  Request solution to following error: 

Set-ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\M icrosoft\PowerShell\1\ShellIds\Microsoft.PowerShell' is denied.
At line:1 char:20
+ set-ExecutionPolicy <<<<  unrestricted
+ CategoryInfo : NotSpecified: (:) [Set-ExecutionPolicy], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
Answer
Answer
Hi,

Did you install PowerShell in that ADMIN Account? If not re-install in it.

How to Open Windows PowerShell in Windows 7
http://www.sevenforums.com/tutorials/27758-windows-powershell.html


For Windows 7 - PowerShell check in with the TechNet Forums

TechNet Forums
http://social.technet.microsoft.com/Forums/en-us/categories/

TechNet - Windows PowerShell Forum
http://social.technet.microsoft.com/Forums/en-us/winserverpowershell/threads

Windows PowerShell - MSDN has development help
http://msdn.microsoft.com/en-us/library/aa973757(VS.85).aspx

Scripting with Windows PowerShell & Download Link
http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx

How Do I: Windows PowerShell 2.0?
http://technet.microsoft.com/en-us/windows/dd320288.aspx

Windows PowerShell
http://en.wikipedia.org/wiki/Windows_PowerShell

Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0)http://support.microsoft.com/kb/968929

Hope this helps.

Rob Brown - past Microsoft MVP - Windows Insider MVP 2016 - 2021
Microsoft MVP Windows and Devices for IT 2009 - 2020

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated September 28, 2023 Views 75,627 Applies to: