PSS ID Number: 241404
Article Last Modified on 6/24/2004
The information in this article applies to:
- Microsoft Windows NT Server 4.0 Terminal Server Edition
- Microsoft Windows 2000 Server
This article was previously published under Q241404
SYMPTOMS
When a user logs on to a Terminal Server session, a Dr. Watson error in Userinit.exe may be generated. The stack trace may look something like this:
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name 0012f8f8 02e21dc2 00000000 00140d60 7ffdf000 006f0074 ntdll!wcscat 0012ff2c 02e2244b 02e20000 00000000 00140d60 0000000a userinit! <nosymbols> 0012ffc0 77f11397 00000000 00000000 7ffdf000 c0000005 userinit! <nosymbols>
The wcscat function should not have zero as the first parameter.
CAUSE
This behavior can occur when the following conditions exist:
- A file date in the following registry key key is newer than the date of the file in the
Userprofile
\Windows folder:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\IniFile Times
- The CITRIX_COMPAT_INISYNC (0x40) and CITRIX_COMPAT_WIN16 (0x04) .ini file synchronization flags are both set in the following registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\
name
where
name
is the module name (typically, the .ini file name with the .ini extension removed).
- The file has no period (.) in its name.
RESOLUTION
Windows 2000
To resolve this problem, obtain the latest service pack for Microsoft 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
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Windows 2000
This problem was first corrected in Microsoft Windows 2000 Service Pack 4.
Keywords: kbWin2kSP4fix kbbug kbenv kberrmsg kbfix KB241404
Technology: kbNTTermServ400 kbNTTermServSearch kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbWinNT400search kbWinNTS400search kbWinNTsearch kbWinNTSsearch