Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .