Article ID: 828664 - Last Review: July 24, 2007 - Revision: 4.9 An access violation error occurs if your Terminal Services information is corrupted
On This PageSYMPTOMS When you run a Terminal Services administrative utility, such as Tsprof.exe, Mmc.exe, or Usrmgr.exe, the utility may generate an access violation error and quit unexpectedly when it manages certain user accounts. When you run any program that uses the API functions of WTSSetUserConfig or WTSQueryUserConfig to set or to retrieve user information, the utility may generate an access violation error and quit unexpectedly when it manages certain user accounts. When you make a Remote Desktop connection and then try to log on with a certain user account, the Remote Desktop connection may suddenly close. If the Remote Desktop-based logon attempt was to a Microsoft Windows XP-based computer or to a Microsoft Windows Server 2003-based console computer, the Remote Desktop computer will perform a bugcheck after Winlogon unexpectedly quits. Depending on the configuration, the Remote Desktop computer may restart. One or more of the following events may be written to the event log: Event ID 1004 Event ID 1004 Event ID 1004 Event ID 1004 Event ID 1004 Event ID 1001 Event ID 1001 CAUSE This problem may occur when corrupted user data is encountered. RESOLUTIONWindows Server 2003 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=support
(http://support.microsoft.com/contactus/?ws=support)
Note 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.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 tool in Control Panel.Windows Server 2003, 32-bit editionsDate Time Version Size File name ----------------------------------------------------------- 19-Aug-2004 23:41 5.2.3790.202 50,176 Regapi.dll 19-Aug-2004 23:41 5.2.3790.202 81,920 Tsuserex.dll Windows Server 2003, 64-bit editionsDate Time Version Size File name Platform --------------------------------------------------------------------- 19-Aug-2004 21:37 5.2.3790.202 129,536 Regapi.dll IA-64 19-Aug-2004 21:37 5.2.3790.202 223,744 Tsuserex.dll IA-64 19-Aug-2004 21:41 5.2.3790.202 50,176 Wregapi.dll x86 19-Aug-2004 21:41 5.2.3790.202 81,920 Wtsuserex.dll x86 Windows XP service pack informationTo resolve this problem, obtain the latest service pack for Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:322389
(http://support.microsoft.com/kb/322389/
)
How to obtain the latest Windows XP service pack
Windows XP 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=support
(http://support.microsoft.com/contactus/?ws=support)
Note 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.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 tool in Control Panel.Windows XP, 32-bit editionsDate Time Version Size File name -------------------------------------------------------------- 10-Sep-2003 18:30 5.1.2600.1254 32,768 Cfgbkend.dll 10-Sep-2003 18:30 5.1.2600.1254 30,720 Pchsvc.dll 10-Sep-2003 18:30 5.1.2600.1254 33,280 Racpldlg.dll 10-Sep-2003 18:30 5.1.2600.1267 44,544 Regapi.dll 10-Sep-2003 18:30 5.1.2600.1254 41,472 Safrslv.dll 02-Aug-2003 07:45 5.1.2600.1254 129,536 Sessmgr.exe 10-Sep-2003 18:30 5.1.2600.1254 200,192 Termsrv.dll 10-Sep-2003 18:30 5.1.2600.1254 88,064 Tscfgwmi.dll Windows XP, 64-bit editionsDate Time Version Size File name Platform ---------------------------------------------------------------------- 10-Sep-2003 17:38 5.1.2600.1254 104,448 Cfgbkend.dll IA-64 10-Sep-2003 17:38 5.1.2600.1254 110,080 Pchsvc.dll IA-64 10-Sep-2003 17:38 5.1.2600.1254 90,112 Racpldlg.dll IA-64 10-Sep-2003 17:38 5.1.2600.1267 127,488 Regapi.dll IA-64 10-Sep-2003 17:38 5.1.2600.1254 111,616 Safrslv.dll IA-64 02-Aug-2003 08:44 5.1.2600.1254 419,328 Sessmgr.exe IA-64 10-Sep-2003 17:38 5.1.2600.1254 622,592 Termsrv.dll IA-64 10-Sep-2003 17:38 5.1.2600.1254 326,144 Tscfgwmi.dll IA-64 10-Sep-2003 18:30 5.1.2600.1267 44,544 Wregapi.dll x86 Windows 2000A 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=support
(http://support.microsoft.com/contactus/?ws=support)
Note 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.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 tool in Control Panel.Date Time Version Size File name ------------------------------------------------------ 07-Jan-2004 20:44 5.0.2195.6889 36,624 Regapi.dll STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. Windows XPThis problem was first corrected in Microsoft Windows XP Service Pack 2.MORE INFORMATIONThe hotfix that is described in this article does not correct the corrupted data. The hotfix protects the code from causing the process to quit unexpectedly with an access violation error.
After you apply this hotfix, you may be able to log on to a Windows 2000-based or a Windows XP-based computer by using Remote Desktop without errors. However, you may still receive an error message when you change the properties of the user account or when you log on by using that account. If you use Microsoft Management Console (MMC) to edit or view the user properties, you may receive an error message that is similar to the following: Terminal Services Properties Could not load Terminal Services properties for this user because: The parameter is incorrect. Logon Message
The system could not log you on due to the following error: The parameter is incorrect. Please try again or consult your system administrator
REFERENCESFor additional information about the terminology that is used in this article, click the following article number to view the article in the Microsoft Knowledge Base: 824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates APPLIES TO
| Article Translations
|

Back to the top
