Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have to run a powershell script every time a user logs on. This script needs to be run elevated. Is there a way to do this with out prompting the user. I am currently running the script using on windows 7 using gpedit.msc

Cheers, --Orlan

share|improve this question
add comment

1 Answer

Depends on what you are doing. I would recommend you download the launchapp.swf program from technet.

http://technet.microsoft.com/en-us/library/cc766208(WS.10).aspx

It basically uses Task Scheduler to launch your login script, which will launch it using admin creds.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.