Autoexec.bat with Windows 2003 Server?

Discussion in 'Windows Server' started by Manny, Aug 20, 2008.

  1. Manny

    Manny Guest

    Hi. I do not think that the old autoexec.bat concept work with Windows 2003
    Server. So how do I now implement a command to execute automatically when the
    server is restarted, and without having to log into the server???

    I have a need to always and automatically have the server run a "ROUTE ADD"
    statement from the commmand line.

    Manny, Aug 20, 2008
    1. Advertisements

  2. Use the Task Scheduler to launch your command at boot time.
    Pegasus \(MVP\), Aug 20, 2008
    1. Advertisements

  3. Manny

    Manny Guest

    Sorry to be a bother. I am not quite sure how to do this as I am unfamiliar
    with Task Scheduler.


    What do I do now? I selected "Command Line" but where/how do I specify my
    actual command line of " ROUTE ADD..."???

    Thanks again!

    Manny, Aug 20, 2008
  4. Manny

    Manny Guest

    nevermind. pls disregard. i think i figured it out. thanks.
    Manny, Aug 20, 2008
  5. Now that you've solved your problem yourself, note that there
    is a Task Scheduler applet in the Control Panel. Much easier
    to locate than the path you used before. If you're a server admin
    then it will probably be worth your while looking at each and
    every applet in the Control Panel. Lots of good stuff there!
    Pegasus \(MVP\), Aug 20, 2008
  6. Hi Manny
    Try using the option -P in your route add the should tolerate reboot's and
    the route will always be thier
    Hikmat Kanaan, Aug 21, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.