Discussion Locked

Run a bat file on PDC when client Logon

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I put a bat file on my PDC and want this file affect on every workstation when they logon to Domian.
How can I make this.
Thanks for any help.

7 replies

by donalconlon

Put the batch file in the c:\winnt\system32\repl\import directory on your server and in user manager for domains in each users profile button type in the name of the batch file where it asks you to.

by zchris

open the folder \\pdc\netlogon. save your batchfile as "logon.cmd" or so. open your usermanager. mark all users - ENTER - open "profile" (alt - "r") - and type your batchfile at "logon script name" in. that's it. all of your users will execute "logon.cmd" after they logon to the pdc. (if you have a bdc you'll have to set up directory replication)

good luck

This discussion is closed to new replies.