[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

XP Pro run command on startup

Posted on 2007-10-05
2
Medium Priority
?
677 Views
Last Modified: 2012-05-05
Hi,
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?

0
Comment
Question by:westone
2 Comments
 
LVL 70

Accepted Solution

by:
KCTS earned 2000 total points
ID: 20021700
As you are on a domain you can set it to run as either a startup script - to execute when the machine starts up, or if its related to the user, as a logon script - to execute then the user logs on
see http://www.rlmueller.net/LogonScriptFAQ.htm
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/gptext_assigncomputerstartupscripts.mspx?mfr=true
0
 

Author Comment

by:westone
ID: 20021971
Thank you! I was not familiar with startup and shutdown scripts.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Screencast - Getting to Know the Pipeline

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question