Server Fault is a question and answer site for system and network administrators. 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

Win 7 Home Premium doesn't have gpedit.msc as you know so, how to add startup script to Windows?

Start Menu entry doesn't work cause i need to have administrative rights for the script to run

share|improve this question
Why did you use the [diskpart] tag? – MDMarra Aug 27 '12 at 11:33
up vote 3 down vote accepted

You should be able to schedule a logon or startup event using the task scheduler.

share|improve this answer
And this will run as admin? i already tried that but unfortunately the script doesn't get the necessary rights – ToinoBiclas Aug 27 '12 at 10:27
There's a box that you can check to run the task with the highest privs. Check it. – MDMarra Aug 27 '12 at 10:28
I'll give it a try – ToinoBiclas Aug 27 '12 at 10:30
Working flawless – ToinoBiclas Aug 28 '12 at 10:13

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.