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

is there a way to open a cmd propmpt and run a command automatically when the server starts up or boots up?

I want to run this C:\Design run on bootup

how would I do that


share|improve this question

I believe what you're looking for is a startup script. You would set it in the group or local policy.

share|improve this answer

You could also setup this as a service. There are many articles on the web to do this. I had to do this to ensure a share was properly mapped on my Windows server globally.

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.