Denied access in Power Shell command

Joined
Apr 24, 2018
Messages
22
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
 
A

Advertising

Joined
Sep 26, 2017
Messages
1,168
Reaction score
187
Are you using the PowerShell (Admin) version? The Title bar will distinguish between the 2 choices on the right-click of the Start button.
 
Reactions: Ian
A

Advertising

Ian

Administrator
Joined
Oct 27, 2013
Messages
1,482
Reaction score
497
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
 
A

Advertising

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