Hello any and all knowledgable script writers:

I am hoping you can help me with a vbs login script I am writing to map
network drives. I am done, but the only problem I am facing is that if
the user cannot touch the computer (i.e. launch outlook) because the
script is interrupted and it doesn't map the drives. Is it possible
to code something that will render any user input void until the script
is completed running? I guess the question is, what do I need to add to
the vbs to make the script uninterruptible? Any and all help is greatly
greatly appreciated!! Thank you!

-- Marivi

Re: Preventing interruptiong of Logon Script by Jerold

Jerold
Thu Dec 14 07:27:19 CST 2006

On 13 Dec 2006 12:58:11 -0800, "Marivi Sanabria" <marivisanabria@gmail.com> wrote:

>Hello any and all knowledgable script writers:
>
>I am hoping you can help me with a vbs login script I am writing to map
>network drives. I am done, but the only problem I am facing is that if
>the user cannot touch the computer (i.e. launch outlook) because the
>script is interrupted and it doesn't map the drives. Is it possible
>to code something that will render any user input void until the script
>is completed running? I guess the question is, what do I need to add to
>the vbs to make the script uninterruptible? Any and all help is greatly
>greatly appreciated!! Thank you!
>
>-- Marivi


Implement the Run logon scripts synchronously policy and the Always wait for the network at computer startup and logon policy.
See tip 4133 » The 'Run logon scripts synchronously' policy does NOT work in Windows XP
and link in the 'Tips & Tricks' at http://www.jsifaq.com

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com

Re: Preventing interruptiong of Logon Script by Marivi

Marivi
Thu Dec 14 10:57:52 CST 2006

According to the tip you referrenced (by the way, thank you!) I need
to:

To work around this feature, enable the Always wait for the network at
computer startup and logon Group Policy:

1. Open the appropriate GPO.
2. Expand Computer Configuration / Administrative Templates / System /
Logon
3. Double-click Always wait for the network at computer startup and
logon.
4. Enable the policy and press OK.

Am i looking for the users' gpo or the machines?
Does this mean I shouldn't have the script in Netlogon folder and tell
the user object, through the profile tab to run logon.vbs for example.
Does the script need to be part of the gp or can it be called by the
user object?

Thank you!