%logonserver% mapping fails to work in logon script

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
 
N

News Group User

\\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"
 
G

Guest

Genius - Webster defines it as the News Group User who posted this fix for me!!!



THANKS!!!!!!!!!!!!!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top