Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

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

share|improve this answer

Your Answer


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.