Re: Logon script does not run randomly

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Pierrot Robert" <mcthepro_at_hotmail.com> wrote in message
news:OKAMuUB1FHA.2616@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I have a Windows 2003/2000 domain with 50+ workstations with XP SP2.
>
> Ramdomly, the logon script will not run on a workstation. It happens to
> different users, different computers.
>
> If I reboot the computer, it does not run either. I have to logoff, than
> logon, and the logon script runs, until next time it refuses to run. It
> works for weeks, even months, than suddenly it happens.
>
> I checked the netlogon share of every DC and the script is there.
>
> Any ideas ?
>
> Thanks.
>

Your first step should consist of creating a reliable log file
so that you ***really*** know whether the script runs
or not. Perhaps it runs but bombs out for some reason!
Modify your script as follows:

@echo off
echo %date% %time% %UserName% >> c:\logon.txt

Next time you think that the script did not run, have a
look at c:\logon.txt.


.



Relevant Pages

  • Re: Group policy does not apply correctly .. please comment
    ... user policy to be different on some specific computers (e.g terminal servers ... You need to put the logon script into a separate GPO that is linked to ...
    (microsoft.public.windows.group_policy)
  • Re: Need help invoking logon script after logging in to VPN authenticated by RSA software token
    ... Tokens for VPN authentication, and it changes the order of the login ... Cisco VPN client appears before the Windows GINA. ... The logon script maps drives for the user. ...
    (microsoft.public.windows.server.scripting)
  • Re: Where user is logged on?
    ... - takes a username as input (doesn't matter how it takes the input) ... I mean I want to know the name of the workstation where the user is ... when the script ends running, can you be shure that he wasn't ... Why not just change your logon script to account for their logon location in ...
    (microsoft.public.windows.server.scripting)
  • Trouble with VBscript
    ... Hey - I wrote a logon script in vbs to log username, ... It is located in Active Directory Users and Computers, ...
    (microsoft.public.scripting.vbscript)
  • Logon Script Help (Long)
    ... I need help modifying my logon script for my SBS 03 Server, ... closest to the workstation they are logged onto. ... everyone’s roaming profile soon, so they will be forced to use the updated ...
    (microsoft.public.windows.server.sbs)