Re: logon scripts

From: David Everett [MSFT] (deverett_at_online.microsoft.com)
Date: 03/05/04


Date: Fri, 5 Mar 2004 13:04:23 -0600

Hi Tim,

Does this mainly happen right after the workstations are booted or does it
happen if the machines have been running and the user is just logging on for
the first time in the morning? If this mainly happens with Windows XP
workstations after a reboot try Disabling Fast Logon Optimization on one
test machine.

On the workstation open gpedit.msc and locate the setting called "Always
wait for the network at computer startup and logon". This setting is
located is under Computer Configuration\Administrative
Templates\System\Logon. Once it is set to Disabled run the following
command at the command line:

     gpupdate /force

Reboot the workstation and see if the scripts run consistently.

If this does not provide relief please reply with the following:

a. The operating system and service pack that is installed on the problem
workstations.

b. Any errors in the application event log from the Source: Userenv.

c. Is the connection slow between the workstations and the DC?

d. When the script fails to map the drives, and the drives are not listed in
My Computers, see if they are listed in the command prompt.

e. Do all the group policy settings get applied when the drives fail to map?

-- 
David Everett
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"Manfred" <simonet@cdiglobal.com> wrote in message
news:174401c384cf$cca46b50$a301280a@phx.gbl...
"tim" <anonymous@discussions.microsoft.com> wrote in message
news:4abc01c3ffa8$2e6f71b0$a401280a@phx.gbl...
> Hello,
>
>    I am having an issue with one of my site servers and
> the logon script.  Once in awhile the script will run
> fine, other times it will flash by and not load any drive
> mappings and once in awhile it will not run at all.  If I
> release and renew the IP address the script will run just
> fine for a few days.  This is happening on multiple pc's,
> laptops as well as desktops.  Has anyone seen this and is
> there a fix?
>
> Thanks,
>
> Tim


Relevant Pages

  • Re: Slow registry access using StdRegProv
    ... The intention is to put it in the login script at some point. ... running it from the command line with both script and wscript. ... I will investigate some more today to see if other machines exhibit the same ... For Each subkey In arrSubKeys ...
    (microsoft.public.scripting.wsh)
  • WSH - Unable to run on Windows server 2003 sp1?
    ... Whenever I try to launch a script from a command line, ... Attempt to execute Windows Script Host while it is disabled. ... This is the same on two completely different machines. ...
    (microsoft.public.windows.server.scripting)
  • Re: Create simple file share on the fly
    ... Here is the script I was using... ... Machines here to connect; I am using an actual XP Workstation. ... You can place the command line below as the final line in your WMI ... the shares that I make from the Windows GUI, ...
    (microsoft.public.windowsxp.security_admin)
  • re:dsquery pipe to dsmove
    ... If the aforementioned script is run, it will move a single machine ... But if there are several machines in the container, my findings are, ... that you would use the command to move scores of machines ...
    (microsoft.public.windows.server.active_directory)
  • Re: Shell Script or AppleScript?
    ... The script will need to take the latest file and post only ... that file to the other machines. ... It comes as a GUI and command line duo. ...
    (comp.sys.mac.system)