2
votes
2answers
246 views

Load explorer from powershell with low privileges

I have a Powershell manteinance script that works this way: kill explorer do things restart explorer This script executes in elevated mode, but I would need to restart explorer without admin ...
2
votes
2answers
262 views

Powershell has started running as administrator

Something unusually has happened recently on my machine: every time I start powershell, it starts with Admin privileges by default. It used to be that it would start just as my user unless I ...
1
vote
1answer
564 views

How to run script as administrator?

I'm looking to do what's asked in this question: how to run a powershell script as administrator The accepted answer says to use a shortcut. I'd like to do that, but when I get into Advanced ...
2
votes
2answers
4k views

Powershell Access to the path denied

I'm sure this has been asked a million times, but I can't figure out why I can't run this simple command in powershell: PS> new-item -path c:\users\me\desktop\testfolder -name (get-date).txt ...
4
votes
1answer
988 views

How do I make PowerShell run as administrator start in my home directory?

Whenever I run PowerShell as administrator, it starts in C:\WINDOWS\system32\WindowsPowerShell\v1.0. How do I make it start in my user's home directory instead? My $HOME has the expected value, i.e., ...
2
votes
1answer
418 views

Can't start PowerShell as administrator

I have Windows 7, and I want to run PowerShell as an administrator. I found it in the Start Menu, right clicked it and selected Run as administrator, but I get the following: Windows Explorer has ...
1
vote
3answers
3k views

How can I run commands in PowerShell with Administrator permissions?

I would like to run commands in PowerShell with Administrator permissions? How can I do that? I have tried to start PowerShell with the runas command, but PowerShell is closed immediately after I ...