mail2clk
asked on
Logon Scripts
I have a logon script located in the Netlogon share. Windows XP would not process the script. All works fine if run from the server manually. If I run the script from the Netlogon share Windows XP does not process it. If I copy the script locally and execute, it runs fine. The home directory does not appear in my computer.
Can anyone provide any guidance on how to solve this issue?
Can anyone provide any guidance on how to solve this issue?
One another option is you could setup home directories for all users
You can use below article to setup home directories for all users
http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx
The above article will help you to create home directory for all users from active directory in one shot.
You can create root shared folder with permissions as indicated in above article
Then You can select all users at a time in a given OU, or through saved query and right click and go to properties, under properties, on profile tab you could just setup \\servername\rootshare\%us ername%
This variable will create home folder for all users underneath root shared folder with appropriate permissions and also get mapped automatically for them during logon.
Mahesh
You can use below article to setup home directories for all users
http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx
The above article will help you to create home directory for all users from active directory in one shot.
You can create root shared folder with permissions as indicated in above article
Then You can select all users at a time in a given OU, or through saved query and right click and go to properties, under properties, on profile tab you could just setup \\servername\rootshare\%us
This variable will create home folder for all users underneath root shared folder with appropriate permissions and also get mapped automatically for them during logon.
Mahesh
Check your eventlogs after the PC has booted, and see what errors are shown.
also do
echo %logonserver%
at a CMD prompt to see which DC you're logging on with, and check the event logs there too. Is the script appearing in the NETLOGON share on that server?
on the PC, can you see the contents when you do
\\DCname\NETLOGON
also do
echo %logonserver%
at a CMD prompt to see which DC you're logging on with, and check the event logs there too. Is the script appearing in the NETLOGON share on that server?
on the PC, can you see the contents when you do
\\DCname\NETLOGON
Also, check the permissions on the Home folder are correct - can the user map a drive to there manually?
I'd also put a PAUSE command at the end of the logon script to force it to stop so you can see if it runs and generates any errors. However, be careful with this if any other users will be logging on at the same time, as they'll get the
Hit Any Key To Continue...
as well!
I'd also put a PAUSE command at the end of the logon script to force it to stop so you can see if it runs and generates any errors. However, be careful with this if any other users will be logging on at the same time, as they'll get the
Hit Any Key To Continue...
as well!
ASKER
The logon server is the exchange server and I checked the netlogon share and contains the same scripts as the netlogon share on the primary server. I added the pause command. If I run it from the Netlogon share the pause command does not work but I can see that the mapping of the drive completed successfully but does not appear in my computer. If I copy the script to the desktop the logon script works fine.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
the same for home folder?
If so, is it working for the same user on different machine? Or is it working for different user on this XP machine?