"Richard Mueller [MVP]" <rlmueller-> wrote in
message news:...
>
> "gumby" <> wrote in message
> news:...
>>
>> Hi all,
>>
>> I'm having issues with a simple logon script I am trying to run. The
>> script simply removes existing network shares and then adds some network
>> shares. I have put the script at \\domain.com\NETLOGON\LogonScript.vbs
>> an that is what I put at the users User Properties->Profile->Login
>> Script input box.
>>
>> The domain shares however never get added when the user logs in. I can
>> run \\domain.com\NETLOGON\LogonScript.vbs from Start->run from the
>> client PC without any problems. The server can also run the script
>> without problems.
>>
>> I have also tried setting the users Login Script setting on the domain
>> controller to a local file however the result is the same.
>>
>> We are running Windows Server 2003 Enterprise and the client is Windows
>> XP Pro.
>>
>> Any help anyone could offer would be greatly appreciated.
>>
>>
>> --
>> gumby
>> ------------------------------------------------------------------------
>> gumby's Profile: http://forums.techarena.in/members/gumby.htm
>> View this thread: http://forums.techarena.in/server-scripting/1059023.htm
>>
>> http://forums.techarena.in
>>
>
> If the logon script is saved in the location you specified, you should
> enter "LogonScript.vbs" on the Profile tab of ADUC (without the path
> information). For more, see this link:
>
> http://www.rlmueller.net/LogonScriptFAQ.htm
If you still have problems, another approach you could take would be to set
your logon script to "LogonScript.cmd" (co-located in the NETLOGON folder
with your original .vbs file), containing the following batch script:
@echo off
echo/starting script...
cscript //nologo "%~dp0LogonScript.vbs"
pause
Then you could write to the console window using wscript.echo statements
that will tell you the state of the script.
/Al