Question Locked

My logon bat file in Win2k3 will not run

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

I have a Win2k3 AD domain. I am trying to set up drive mapping on both Win2k and XP client machines.

I have created a bat file using the "net use" command and I have test it manually on the client machine and it works. When I try to run it through the logon script tab of the profile it does not work.

I have tried to place it in the sysvol of the DC (No luck). I placed it in and shared the the "C:\WINDOWS\system32\Repl\Imports\Scripts" as NetLogon on the DC and it will still not work. Does anyone have any ideas?

6 replies

by rob miners

way that you choose to go the script is put in this folder. It already has a Default Share as Netlogon.

C:\WINDOWS\SYSVOL\sysvol\domain.local\scripts

by ak233

Put your startup bat inside your \\%servername%\netlogon and then try using a group policy > user config > startup script

Hope that helps.

This discussion is closed to new replies.