XP Pro run command on startup
Posted on 2007-10-05
On a small Windows Server 2003 domain, I have a DOS command I want to run on an XP Pro client computer when it starts (not when a user logs in, when the machine starts up). I suddenly realized that it must have been years since I needed to do this, because I know how to add a command to the autoexec.bat file in Win98 to run something on startup, but I have know idea how to do this in XP.
I looked in the AD computer properties for an option to run something at start but found none. I can add something to a users logon script, but that is not what I need at the moment. I need to set a command line command to run at start, then reboot the machine. Is there a folder where I can put a bat file that will kick off on startup?