Bookman's
02-16-2006, 11:45 AM
I would like users who are on a VPN to run their logon scripts that they normally run in the office when logging onto the domain.
If I just use
start \\10.0.0.1\netlogon\username.bat
I get an unknown user error.
To get around this I set up a shared drive 'Remote_Launch$' and now the client script looks like:
net use x: \\10.0.0.1\Remote_Launch$ password /user:mydomain\username /persistant: no
\\10.0.0.1\netlogon\username.bat
That works, but seems a bit wasteful.
Any suggestions to avoid the added step of getting authentication by net use?
Thx,
D.
If I just use
start \\10.0.0.1\netlogon\username.bat
I get an unknown user error.
To get around this I set up a shared drive 'Remote_Launch$' and now the client script looks like:
net use x: \\10.0.0.1\Remote_Launch$ password /user:mydomain\username /persistant: no
\\10.0.0.1\netlogon\username.bat
That works, but seems a bit wasteful.
Any suggestions to avoid the added step of getting authentication by net use?
Thx,
D.