Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
When you try to log on interactively to Windows, the user object logon script does not run
Article ID: 918495 - View products that this article applies to.
When you try to log on interactively to a Microsoft Windows XP-based client computer, the user object logon script does not run. This problem occurs even though the Allow Cross-Forest User Policy and Roaming User Profiles policy setting is enabled.
This problem occurs when you log on by using a user account from a domain that differs from the domain of the computer account.
This problem occurs because the Userinit.exe file cannot execute the logon script because of name resolution problems. This behavior occurs if the following conditions are true:
There is a hotfix update for Windows XP. In Windows Vista and newer the change is included, but not enabled by default. So you still need to enable the policy setting "Allow LogonScripts with NetBIOS disabled" as described below.
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
PrerequisitesMicrosoft Windows XP Service Pack 2
Restart requirementYou must restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
Hotfix installation informationWhen you install the hotfix, an updated version of the Userinit.exe file and of the System.adm file are installed together with the hotfix package. The System.adm file contains the following new Group Policy object (GPO) setting:
Computer Configuration\Administrative Templates\System\Scripts\Allow LogonScripts with NetBIOS disabledThis setting lets you enable or disable logon scripts when NetBIOS is disabled.
Registry informationIf you enable the new feature by using the new GPO, the following registry subkey is configured:
You must also enable the Allow Cross-Forest User Policy and Roaming User Profiles GPO. When you do this, the following registry subkey is configured:
Value Type: DWORD
Value Data: 00000001
Value Type: DWORD
Value Data: 00000001
File informationThe English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
To work around this problem, use one of the following methods.
Method 1: Enable NetBT name resolution
Method 2: Add the DNS domain name of the user account to the DNS suffix search list of the client
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
To publish the new registry setting in Group Policy for a domain, you must modify the new GPO that is contained in the System.adm file. Modify the System.adm file on a computer that is running Window XP Service Pack 2 and that has hotfix 918495 installed. The Group Policy Object Editor copies the new version of the System.adm file to the related Administrative Template (ADM) directory on the system volume (SYSVOL) and makes the new setting available.
For more information about ADM files, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/816662/ )Recommendations for managing Group Policy administrative template (.adm) files
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 918495 - Last Review: October 27, 2011 - Revision: 6.0