%logonserver% mapping fails to work in logon script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to run a script that is machine dependent so I have defined a logon script to be run via gpo on an OU
Computer Configuration - Administrative Template - System - Logon - "Run these programs at user logon properties

The script is replicated to all my dc's within the NETLOGON share.
If I point to %logonserver%\NETLOGON\smsls.bat it fails
If I point to \\domaincontroller\NETLOGON\smsls.bat it works. ??

I log on and then use the %logonserver% variable and it always defines the connection correctly

Any ideas

Paul
 
\\yourdomain\netlogon\smsls.bat" substitute your domain name for
"yourdomain"
Paul said:
I need to run a script that is machine dependent so I have defined a logon
script to be run via gpo on an OU:
Computer Configuration - Administrative Template - System - Logon - "Run
these programs at user logon properties"
 
Genius - Webster defines it as the News Group User who posted this fix for me!!!



THANKS!!!!!!!!!!!!!!!
 
Back
Top