Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Users logon script fails without error

HTVi
TV Discussion Newsgroups

Users logon script fails without error
gumby <gumby.3hnlvb[ at ]DoNotSpam.com> 10/21/2008 11:16:29 PM
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
Re: Users logon script fails without error
"Richard Mueller [MVP]" <rlmueller-nospam[ at ]ameritech.nospam.net> 10/22/2008 12:28:55 AM

"gumby" <gumby.3hnlvb[ at ]DoNotSpam.com> wrote in message
news:gumby.3hnlvb[ at ]DoNotSpam.com...
[Quoted Text]
>
> 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

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


Re: Users logon script fails without error
"Al Dunbar" <AlanDrub[ at ]hotmail.com.nospaam> 10/22/2008 3:28:10 AM

"Richard Mueller [MVP]" <rlmueller-nospam[ at ]ameritech.nospam.net> wrote in
message news:O3og109MJHA.1308[ at ]TK2MSFTNGP02.phx.gbl...
[Quoted Text]
>
> "gumby" <gumby.3hnlvb[ at ]DoNotSpam.com> wrote in message
> news:gumby.3hnlvb[ at ]DoNotSpam.com...
>>
>> 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:

[ at ]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


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen