Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set the Profile path and Logon script in server 2
Message
From
07/01/2011 16:25:49
 
 
To
07/01/2011 04:49:21
General information
Forum:
Windows
Category:
Roaming profiles
Miscellaneous
Thread ID:
01495123
Message ID:
01495204
Views:
25
>
>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).

2. In aaa.bat don't use drive letters, which may not be present for the client computer while the logon script runs. Use the UNC name e.g.
copy \\ServerName\ShareName\ABC.exe c:\
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform