Group Policy Login or Logon Scripts Not Running, Not Working or Not Executing

In Windows 2000 Server and Windows 2003 Server, logon scripts can be assigned and deployed by Group Policy or Domain Group Policy with or without implementation of Active Directory. Main advantage of using the Group Policy to enforce logon scripts is that it will be easier when have to change the script name or add a new logon scipt. However, sometimes the workstations will have the symptom and problem where login scripts are not running or not executing, even if the logon scripts have been properly assigned via Group Policy, and the VBScripts has been put in the correct path in domain controller (i.e. %SystemRoot%\Sysvol\Sysvol\domainname\Scripts folder).

The problem of not working logon script via group policy is due to slow network connection (the rate of which data is transferred from domain controller providing policy update to the computers in the group) that is been detected during the initial logon process. If the Group Policy slow link is detected, the logon script will not run unless the policy processing settings are defined to override the program’s specified response to slow link. The default behaviour when slow link is detected are:

Policies that are applied are Registry settings, Security policies, EFS recovery policy and IP security, while policies that are not applied are Application Deployment, Scripts, Folder Redirection and Disk Quotas.

The resolution or workaround to the problem of logon scipts not executing, not running or not working is to create or modify a Group Policy Object (GPO) to alter the default behavior:

  1. Open the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in, right-click on domain object and select Properties.
  2. Select the Group Policy tab.
  3. If you’re using Group Policy Management Console snap-in for MMC, run the Group Policy Management and skip the above 2 steps.
  4. Select the Default Domain Policy (or any other enforced domain policy) and click Edit. (Right click on the Default Domain Policy or the enforced domain policy that you want to change in Group Policy Management console)
  5. Navigate to Computer Configuration -> Administrative Templates -> System -> Group Policy.
  6. Look for Scripts policy processing. Double click on Scipts policy processing and select (check) Enabled. Then, also select (check) Allow processing across a slow network connection in the box and press OK.

    Note: Other default behaviours that is not executing when slow link detected can also be changed:

    Folder redirection policy processing
    Disk quota policy processing
    Scripts policy processing
    EFS recovery policy processing
    Software installation policy processing
    IP security policy processing
    Internet Explorer Maintenance policy processing
    Wireless policy processing

  7. Close the MMC snap-in.
  8. Restart the remote computer or workstation.

You can also modify the predefined settings for slow link connection for users, which apply to users regardless of which computer they log on. The steps will be similar to the above, but instead of navigating to Computer Configuration, navigate to User Configuration instead. After that, go to Administrative Templates -> System ->Group Policy. Enable (check the Enabled radio button) the Scripts policy processing, and then select the Allow processing across a slow network connection check box.

It’s also possible to disable the Group Policy slow link detection directly, by select (check) the Enable Group Policy slow link detection, and then type 0 in the Connection speed box. However, in some cases, this setting seems to be unreliable and not necessary will work.

Share and contribute or get technical support and help at My Digital Life Forums.



2 Responses to “Group Policy Login or Logon Scripts Not Running, Not Working or Not Executing”

  1. Windows Vista Security Guide Reviewed by NSA and NIST with Solution Accelerator » My Digital Life
    January 13th, 2007 14:48
    1

    [...] Download Windows Vista Security Guide solution accelerator from Microsoft Download Center. The download consists of Windows Vista Security Guide Release Notes.rtf and Windows Vista Security Guide.msi installer. Execute the installer to install these Windows Vista security solution accelerator together with GPOAccelerator tool (requires administrative privileges or admin rights to use the tool with Group Policy Management Console - GPMC) on your computer in a location of your choice (default installation location is your Documents folder). The installation places a shortcut to the guide that opens the Windows Vista Security Guide folder. [...]

  2. Ricardo Gaspar
    September 9th, 2008 02:26
    2

    Viva,
    Gostava de saber se uma politica local (Local Group Policy) do windows xp que encontra-se em c:\Windows\System32\GroupPolicy é compativer e funciona no Windows Vista? Cujo o folder é c:\Windows\System32\GroupPolicyUsers. O que desejo é copiar o folder do XP com as mais variadas politicas e realizar um paste no windows vista. Funciona?

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

group policy not working - logon scripts not running - gpo logon script - login scripts not running - vista login scripts - vista logon scripts - group policy logon scripts - group policy logon script - logon script not executing - group policy enforced - Logon Scripts not working - gpo logon - gpo not working - logon script gpo - group policy not running - group policy logon script not running - all - GPO login script - login scripts not working - gpo logon script not running - group policy is not working - GPO login - logon script not executed - gpo logon scripts - vista logon script not running - group policy login script not running - login script not executing - logon script group policy - Windows 2003 login script not running - GPO Script Not Running - vista logon script - vista domain logon script - logon script WIn2003 - win2003 login script - vista group policy logon script - group policy scripts not running - logon policy - active directory login script not running - script gpo - Active Directory logon script not running - GPO not running - server 2003 login script not running - windows vista login scripts - logon script not running vista - vista login script not running - vista domain login script - logon scripts vista - group policy logon - logon script vista - group policy not running scripts - group policy logon script not working - group policy not enforced - group policy not executing - vista not running login script - logon scripts not executing - windows 2003 logon script not running - GPO scripts not running - group policy login script - group policy logon script does not run - login script not executed - Scripts policy processing - gpo login script not running - Vista logon scripts not running - group policy logon scripts not running - windows vista logon script - vista login script - Group Policy Logon Message - group policies not running - windows 2003 login scripts not running - win2003 logon script - windows vista logon scripts - logon script not running on vista - logon script not working - group policies not working - logon scripts not working in vista -