应该是termsrv.dll被破坏了吧。首先从其他正常的XP-SP2上复制termsrv.dll(位于c:\windows\System32下)过来。再检查注册表,看HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters下的ServiceDll的类型是不是REG_EXPAND_SZ以及后面数据的是不是%SystemRoot%\System32\termsrv.dll,如果不是,要改正过来(新建一个扩展字符串),
=======================================================================
完整TermService注册表内容如下:
可另存为reg文件导入
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TermService]
"ErrorControl"=dword:00000001
"ObjectName"="LocalSystem"
"Start"=dword:00000003
"Description"="允许多位用户连接并控制一台机器,并且在远程计算机上显示桌面和应用程序。这是远程桌面(包括管理员的远程桌面)、快速用户转换、远程协助和终端服务器的基础结构。"
"DisplayName"="Terminal Services"
"DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,00,00
"Type"=dword:00000020
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,20,00,2d,00,6b,00,20,00,44,00,43,00,\
6f,00,6d,00,4c,00,61,00,75,00,6e,00,63,00,68,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TermService\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
74,00,65,00,72,00,6d,00,73,00,72,00,76,00,2e,00,64,00,6c,00,6c,00,00,00
"Certificate"=hex:01,00,00,00,01,00,00,00,01,00,00,00,06,00,5c,00,52,53,41,31,\
48,00,00,00,00,02,00,00,3f,00,00,00,01,00,01,00,ff,5a,31,e7,24,74,29,89,6d,\
c6,94,fa,22,9b,9c,fe,bb,98,e0,8b,37,f9,e3,1f,c0,2c,a2,29,30,ed,c6,8a,06,74,\
61,61,1a,b9,a3,77,37,d0,eb,eb,ab,61,65,c2,c4,27,52,5c,bb,d1,87,0a,c2,79,a8,\
b6,b0,9b,b5,bd,00,00,00,00,00,00,00,00,08,00,48,00,b8,db,ea,c8,83,06,6d,8d,\
86,06,c7,46,66,17,1a,c9,89,67,97,57,5b,c9,dd,45,df,59,25,58,27,b4,57,4e,32,\
1c,02,03,aa,22,81,59,c6,2f,d0,1d,b7,c8,56,36,51,fb,44,51,89,13,b6,3c,ae,a8,\
2e,85,a8,40,d2,30,00,00,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TermService\Performance]
"Close"="CloseTSObject"
"Collect Timeout"=dword:000003e8
"Collect"="CollectTSObjectData"
"Open Timeout"=dword:000003e8
"Open"="OpenTSObject"
"Library"="perfts.dll"
"Last Counter"=dword:00000886
"Last Help"=dword:00000887
"First Counter"=dword:00000806
"First Help"=dword:00000807
"Object List"="2054 2176 2054 2176"
"Library Validation Code"=hex:00,40,b2,d3,5c,e7,a8,01,00,30,00,00,00,00,00,00
"WbemAdapFileSignature"=hex:f5,d1,57,f1,28,23,81,b9,d3,e6,83,68,2d,64,70,47
"WbemAdapFileTime"=hex:00,40,b2,d3,5c,e7,a8,01
"WbemAdapFileSize"=dword:00003000
"WbemAdapStatus"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TermService\Enum]
"0"="Root\\LEGACY_TERMSERVICE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\TermService]
"ErrorControl"=dword:00000001
"ObjectName"="LocalSystem"
"Start"=dword:00000003
"Description"="允许多位用户连接并控制一台机器,并且在远程计算机上显示桌面和应用程序。这是远程桌面(包括管理员的远程桌面)、快速用户转换、远程协助和终端服务器的基础结构。"
"DisplayName"="Terminal Services"
"DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,00,00
"Type"=dword:00000020
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,20,00,2d,00,6b,00,20,00,44,00,43,00,\
6f,00,6d,00,4c,00,61,00,75,00,6e,00,63,00,68,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\TermService\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
74,00,65,00,72,00,6d,00,73,00,72,00,76,00,2e,00,64,00,6c,00,6c,00,00,00
"Certificate"=hex:01,00,00,00,01,00,00,00,01,00,00,00,06,00,5c,00,52,53,41,31,\
48,00,00,00,00,02,00,00,3f,00,00,00,01,00,01,00,ff,5a,31,e7,24,74,29,89,6d,\
c6,94,fa,22,9b,9c,fe,bb,98,e0,8b,37,f9,e3,1f,c0,2c,a2,29,30,ed,c6,8a,06,74,\
61,61,1a,b9,a3,77,37,d0,eb,eb,ab,61,65,c2,c4,27,52,5c,bb,d1,87,0a,c2,79,a8,\
b6,b0,9b,b5,bd,00,00,00,00,00,00,00,00,08,00,48,00,b8,db,ea,c8,83,06,6d,8d,\
86,06,c7,46,66,17,1a,c9,89,67,97,57,5b,c9,dd,45,df,59,25,58,27,b4,57,4e,32,\
1c,02,03,aa,22,81,59,c6,2f,d0,1d,b7,c8,56,36,51,fb,44,51,89,13,b6,3c,ae,a8,\
2e,85,a8,40,d2,30,00,00,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\TermService\Performance]
"Close"="CloseTSObject"
"Collect Timeout"=dword:000003e8
"Collect"="CollectTSObjectData"
"Open Timeout"=dword:000003e8
"Open"="OpenTSObject"
"Library"="perfts.dll"
"Last Counter"=dword:00000886
"Last Help"=dword:00000887
"First Counter"=dword:00000806
"First Help"=dword:00000807
"Object List"="2054 2176 2054 2176"
"Library Validation Code"=hex:00,40,b2,d3,5c,e7,a8,01,00,30,00,00,00,00,00,00
"WbemAdapFileSignature"=hex:f5,d1,57,f1,28,23,81,b9,d3,e6,83,68,2d,64,70,47
"WbemAdapFileTime"=hex:00,40,b2,d3,5c,e7,a8,01
"WbemAdapFileSize"=dword:00003000
"WbemAdapStatus"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]
"ErrorControl"=dword:00000001
"ObjectName"="LocalSystem"
"Start"=dword:00000003
"Description"="允许多位用户连接并控制一台机器,并且在远程计算机上显示桌面和应用程序。这是远程桌面(包括管理员的远程桌面)、快速用户转换、远程协助和终端服务器的基础结构。"
"DisplayName"="Terminal Services"
"DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,00,00
"Type"=dword:00000020
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,20,00,2d,00,6b,00,20,00,44,00,43,00,\
6f,00,6d,00,4c,00,61,00,75,00,6e,00,63,00,68,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
74,00,65,00,72,00,6d,00,73,00,72,00,76,00,2e,00,64,00,6c,00,6c,00,00,00
"Certificate"=hex:01,00,00,00,01,00,00,00,01,00,00,00,06,00,5c,00,52,53,41,31,\
48,00,00,00,00,02,00,00,3f,00,00,00,01,00,01,00,ff,5a,31,e7,24,74,29,89,6d,\
c6,94,fa,22,9b,9c,fe,bb,98,e0,8b,37,f9,e3,1f,c0,2c,a2,29,30,ed,c6,8a,06,74,\
61,61,1a,b9,a3,77,37,d0,eb,eb,ab,61,65,c2,c4,27,52,5c,bb,d1,87,0a,c2,79,a8,\
b6,b0,9b,b5,bd,00,00,00,00,00,00,00,00,08,00,48,00,b8,db,ea,c8,83,06,6d,8d,\
86,06,c7,46,66,17,1a,c9,89,67,97,57,5b,c9,dd,45,df,59,25,58,27,b4,57,4e,32,\
1c,02,03,aa,22,81,59,c6,2f,d0,1d,b7,c8,56,36,51,fb,44,51,89,13,b6,3c,ae,a8,\
2e,85,a8,40,d2,30,00,00,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Performance]
"Close"="CloseTSObject"
"Collect Timeout"=dword:000003e8
"Collect"="CollectTSObjectData"
"Open Timeout"=dword:000003e8
"Open"="OpenTSObject"
"Library"="perfts.dll"
"Last Counter"=dword:00000886
"Last Help"=dword:00000887
"First Counter"=dword:00000806
"First Help"=dword:00000807
"Object List"="2054 2176 2054 2176"
"Library Validation Code"=hex:00,40,b2,d3,5c,e7,a8,01,00,30,00,00,00,00,00,00
"WbemAdapFileSignature"=hex:f5,d1,57,f1,28,23,81,b9,d3,e6,83,68,2d,64,70,47
"WbemAdapFileTime"=hex:00,40,b2,d3,5c,e7,a8,01
"WbemAdapFileSize"=dword:00003000
"WbemAdapStatus"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Enum]
"0"="Root\\LEGACY_TERMSERVICE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001 |