Microsoft KB Archive/316877

From BetaArchive Wiki

Article ID: 316877

Article Last Modified on 2/21/2007



APPLIES TO

  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Service Pack 1
  • Microsoft Windows 2000 Service Pack 2



This article was previously published under Q316877

SYMPTOMS

When a profile is upgraded from Microsoft Windows NT 4.0 to Windows 2000, Command Prompt.lnk and Windows Explorer.lnk may be missing from the Start menu, and the following errors may be logged in the Userenv.log file:

USERENV(b8.98) 11:38:33:906 ProcessFiles: Item 2 has an action of 3.
USERENV(b8.98) 11:38:33:906 ProcessFiles: C:\Documents and Settings\Default User\Start Menu\Programs\Command Prompt.lnk ==> C:\Documents and Settings\test1\Start Menu\Programs\Command Prompt.lnk [FAILED 2].
USERENV(b8.98) 11:38:34:171 ProcessFiles: Item 2 has an action of 4.
USERENV(b8.98) 11:38:34:171 ProcessFiles: Failed to deleted C:\Documents and Settings\test1\Start Menu\Programs\Windows Explorer.lnk with 2


CAUSE

This problem may be caused by a defect in the userdiff registry hive that is used to upgrade a profile from Windows NT 4.0 to Windows 2000. The userdiff registry hive is created from the Hiveusd.inf file during Windows 2000 Setup.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack


The English version of this fix should have the following file attributes or later:

   Date       Time   Size     File name
   --------------------------------------
   25-Feb-02  12:28  151,598  Hiveusd.inf
                


How to Install the Hotfix

  1. Run the Q316877_w2k_sp3_x86_en.exe /x command to extract the files to the folder you specify. Note that the following folders and files are extracted:
    • IA\Hiveusd.inf: The Microsoft Windows 2000 Advanced Server fix.
    • ID\Hiveusd.inf: The Microsoft Windows 2000 DataCenter Server fix.
    • IP\Hiveusd.inf: The Microsoft Windows 2000 Professional fix.
    • IS\Hiveusd.inf: The Microsoft Windows 2000 Server fix.
    • IW\Hiveusd.inf: The Microsoft Windows Powered fix (for Microsoft Windows CE, etc.).

    NOTE: All of these files are identical except for the IW\Hiveusd.inf file.

  2. Copy the Windows 2000 installation files to a network share.
  3. Delete the I386\Hiveusd.inf file from the installation share.
  4. Copy the appropriate fixed Hiveusd.inf file to the I386\ folder on the share, and then start the Windows 2000 installation from this share to create a corrected userdiff hive in the %windir%\System32\Config folder.
  5. Back up the %windir%\System32\Config\Userdiff folder on your existing Windows 2000 installations, and then copy the corrected userdiff file from the new installation to these computers (%windir%\System32\Config\Userdiff).

If you use the corrected userdiff hive, the Command Prompt and Windows Explorer links are successfully created on the Start menu when the profile is upgraded. When a user logs on from Windows NT 4.0 after the profile is upgraded, these links remain on the Start menu. To see them, click Start, point to Programs, and then click Accessories.

WORKAROUND

To work around this problem, manually create the links. When you create links, use environment variables in the paths. For example, a Windows NT 4.0 user creates a link to the Calculator tool by using the c:\Winnt\System32\Calc.exe path instead of %windir%\System32\Calc.exe. When the user logs on to Windows 2000 (where %windir% is not c:\Winnt), the link does not work.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.

MORE INFORMATION

For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product


For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot



Additional query words: kbMgmtAdmin

Keywords: kbbug kbfix kbwin2000presp3fix kbqfe kbsysadmin kbwin2000sp3fix kbenv kbui kbhotfixserver KB316877