Denied access in Power Shell command

Joined
Apr 24, 2018
Messages
25
Reaction score
3
I tried to input this line of code in Power Shell but it said I was denied. Anybody got any ideas on how to get around that?


upload_2018-5-17_13-42-50.png
 
Joined
Sep 26, 2017
Messages
3,454
Reaction score
616
Are you using the PowerShell (Admin) version? The Title bar will distinguish between the 2 choices on the right-click of the Start button.
 

Ian

Administrator
Joined
Oct 27, 2013
Messages
1,736
Reaction score
630
Are you using the PowerShell (Admin) version? The Title bar will distinguish between the 2 choices on the right-click of the Start button.
Yep, it looks like it's the non-administrator version of powershell.

When you right click the start button to load the "quick links" menu, select Windows Powershell (Admin) instead. This will give you elevated privileges and all you to run that command:

Powershell Admin.png
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top