Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Login error - "Loading script failed"

Reply
 
Old 02-09-2009   #1 (permalink)
Marten


 
 

Login error - "Loading script failed"

Can anyone offer suggestions as to why one of my users reported this
error: Loading script "\\TOR-SVR-DC1\MCWlogonPRO.vbs" failed
(0xC0000006) ?

The server in question is solely a Domain Controller for about 140
people. The same script is running from other regional DCs without
issue.

Is there an unofficial recommended max size to a login VBS script?
Mine is just 1596 lines long.

Martin

My System SpecsSystem Spec
Old 02-09-2009   #2 (permalink)
Richard Mueller [MVP]


 
 

Re: Login error - "Loading script failed"


"Marten" <absolute88@xxxxxx> wrote in message
news:tth0p4tp5e0q1o9b6dbose4h1ep76ku1g8@xxxxxx
Quote:

> Can anyone offer suggestions as to why one of my users reported this
> error: Loading script "\\TOR-SVR-DC1\MCWlogonPRO.vbs" failed
> (0xC0000006) ?
>
> The server in question is solely a Domain Controller for about 140
> people. The same script is running from other regional DCs without
> issue.
>
> Is there an unofficial recommended max size to a login VBS script?
> Mine is just 1596 lines long.
>
> Martin
I've never heard of a size limit for logon scripts. How do you configure
your logon scripts, with Group Policy or on the "Profile" tab of ADUC? In
both cases, the path should not specify a DC (even if there is only one).
This link details the two methods and where/how to save the *.vbs file:

http://www.rlmueller.net/LogonScriptFAQ.htm

Note that if there is connectivity with other DC's, you can not know for
sure which DC will authenticate the user.

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


My System SpecsSystem Spec
Old 02-09-2009   #3 (permalink)
Marten


 
 

Re: Login error - "Loading script failed"

We use the Profile tab at this time. We are just starting to look in
group policy functions for other functions. The value in the field is
just the script name "MCWlogonPro.vbs". The file resides in the
Netlogon folder and is of course replicated amongs the servers in the
domain.

The script has been working for the last 2 years without major issue
until the last month. The only thing I can think of is we did a
reinstall of the anti-virus software company wide. I wonder if the
real-time scanner on the DC is slowing response down if it scans the
script file each time it is requested?

Thanks for the reply.

Martin


On Mon, 9 Feb 2009 11:24:18 -0600, "Richard Mueller [MVP]"
<rlmueller-nospam@xxxxxx> wrote:
Quote:

>I've never heard of a size limit for logon scripts. How do you configure
>your logon scripts, with Group Policy or on the "Profile" tab of ADUC? In
>both cases, the path should not specify a DC (even if there is only one).
>This link details the two methods and where/how to save the *.vbs file:
>
>http://www.rlmueller.net/LogonScriptFAQ.htm
>
>Note that if there is connectivity with other DC's, you can not know for
>sure which DC will authenticate the user.
>
>--
>Richard Mueller
>MVP Directory Services
>Hilltop Lab - http://www.rlmueller.net
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
"windows login service service failed the login" General Discussion
SQL installation:"Login failed for user 'sa'" .NET General
Error Message "Error Loading C:\Windows\System32\csgina.dll" Vista General
BitLocker reports "an error occurred" during login Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46