Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

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.

Cause

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:

  • NetBIOS over TCP/IP (NetBT) name resolution is not available to resolve the flat name of the logon server. NetBT includes Windows Internet Naming Service (WINS) broadcasts.

  • The Domain Name System (DNS) domain name of the user account is not added to the DNS suffix search list of the client computer.

Resolution

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 information

A 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.

Prerequisites


Microsoft Windows XP Service Pack 2

Restart requirement


You must restart the computer after you apply this hotfix.



Hotfix replacement information
This hotfix does not replace any other hotfixes.

Hotfix installation information


When 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 disabled This setting lets you enable or disable logon scripts when NetBIOS is disabled.

Registry information

If you enable the new feature by using the new GPO, the following registry subkey is configured:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\Allow-LogonScript-NetBIOSDisabled
Value Type: DWORD
Value Data: 00000001You must also enable the Allow Cross-Forest User Policy and Roaming User Profiles GPO. When you do this, the following registry subkey is configured:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\AllowX-ForestPolicy-and-RUP
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.

File name

File version

File size

Date

Time

SP requirement

System.adm

Not Applicable

1,745,720

30-Jun-2006

08:54

SP2

Userinit.exe

5.1.2600.2943

26,112

03-Jul-2006

08:53

SP2

Workaround

To work around this problem, use one of the following methods.

Method 1: Enable NetBT name resolution

  1. Click Start, click Run, type ncpa.cpl, and then click OK.

  2. In Network Connections, right-click Local Area Connection, and then click Properties.

  3. Click Internet Protocol (TCP/IP), and then click Properties.

  4. In the Internet Protocol (TCP/IP) Properties dialog box, click Advanced.

  5. On the WINS tab, click Enable NetBIOS Over TCP/IP, and then click OK three times.

Note This method works only if the following conditions are true:

  • The WINS topology contains the domain controller records from the account domain.

  • The domain controllers can be accessed by using NetBT broadcasts.

Method 2: Add the DNS domain name of the user account to the DNS suffix search list of the client

  1. Click Start, click Run, type ncpa.cpl, and then click OK.

  2. In Network Connections, right-click Local Area Connection, and then click Properties.

  3. Click Internet Protocol (TCP/IP), and then click Properties.

  4. In the Internet Protocol (TCP/IP) Properties dialog box, click Advanced.

  5. On the DNS tab, click Append these DNS suffixes [in order], and then click Add.

  6. In the Domain Suffix field, type the domain name that you want to add, and then click Add.

  7. Click OK three times.

Note You can also use a GPO to configure DNS suffixes.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

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:

816662 Recommendations for managing Group Policy administrative template (.adm) files

References

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×