Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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
1  
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

 
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.