>My server is 2003, i want to the client computer execute my bat file in open the computer >(Clinet computer open will auto logon the server, so i want to set the logon script) >But i unknow is my setting have some problem or logon script must can not use bat file(my bat file must no problem )? > >step 1. I create the folder in server2003, C:\Sales.... > And share this ( go to sharing and security set the permissions is full Control in everyone) > >step 2. Go to Active Directory > Now right click on any user after select and then click on Properties option. (for example User is Tony ) > After in Profile Page, i set the > Profile path: \\server2003\Sales\%Tony% < in this is my prolem, ( \\servername\sharefilename\username)? ) > logon script: aaa.bat ? > >My aaa.bat in c:\sales >And the code.... copy Y:\ABC.exe c:\ > @exit > > >But i also can't see the c:\ABC.exe, how can i do? > >1. The default path for logon scripts is C:\Windows\Sysvol\Sysvol\{your domain name}\scripts . I'd start with putting any of your logon scripts there first. If you do that, you leave the profile path blank, and specify the name of the BAT or CMD file you want to run as the logon script (with no path required).
copy \\ServerName\ShareName\ABC.exe c:\