0
votes
1answer
83 views

Is it impossible to run powershell scripts that I wrote locally without admin privileges even if the scripts themselves dont require admin rights?

Im a standard user without admin privileges on my windows 7 box. I wrote a powershell script that doesn't require admin privileges (it downloads data from yahoo finance and saves it as a CSV file): ...
3
votes
1answer
177 views

Powershell systemroot in $env:path different when AC elevated

I have a strange behavior with the environment variables at my Windows XP SP3. When I logon as Administrator, the %SystemRoot% strings in PATH are substituted to C:\WINDOWS, the value of the variable ...
0
votes
0answers
85 views

Setting up microsoft intune, need to lock down computer

So, I have an initiative to set up Microsoft Intune on a number (~450) remote computers. Those computers are currently running deep freeze to reduce the damage that people can do to them by ...
2
votes
2answers
622 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
459 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
799 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 ...
3
votes
2answers
10k 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
1k 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
891 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
5k 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 ...