How to run a batch file the first time

  • Thread starter Thread starter Hank Arnold
  • Start date Start date
H

Hank Arnold

I'd like to runa a batch file automatically the first time a user logs onto
a machine. They will be logging onto a a domain at an XP Pro workstation as
a domain user. It assigns a network drive as well as several network
printers. Is there a straight forward to do this?

Regards,
Hank Arnold
 
Hank said:
I'd like to runa a batch file automatically the first time a user logs onto
a machine. They will be logging onto a a domain at an XP Pro workstation as
a domain user. It assigns a network drive as well as several network
printers. Is there a straight forward to do this?
Hi,

I suggest you do it in a logon script (set by a GPO).


Frequently Asked Questions About Logon Scripts
http://www.rlmueller.net/LogonScriptFAQ.htm

Logon Script info at LabMice.net
http://labmice.techtarget.com/scripting/logonscripts.htm


You will also find logon script examples at
http://cwashington.netreach.net as well.

E.g. here:
http://cwashington.netreach.net/dep...itory&ScriptType=command&SubType=LogonScripts
 
|>I'd like to runa a batch file automatically the first time a user logs onto
|>a machine. They will be logging onto a a domain at an XP Pro workstation as
|>a domain user. It assigns a network drive as well as several network
|>printers. Is there a straight forward to do this?

Run gpedit.msc, edit the logon scripts.
 
Back
Top