Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 2020286 - Last Review: June 24, 2010 - Revision: 6.0
Slow RDP logon caused by large WMI repository size
You may notice slow RDP logons on a Windows Server 2003 computer. If you enable Userenv logging on the problem server, it shows a delay related to Resultant Set of Policy (RSoP).
USERENV(5fa0.47b4) 10:58:47:509 AllocAdmFileInfo: Adding File name <\\contoso.com\sysvol\contoso.com\Policies\{63C4E095-EDDF-42EB-9BF3-4732623F705F}\Adm\wuau.adm> to the Adm list.
USERENV(5fa0.47b4) 10:59:23:165 LogRegistry RsopData: Successfully logged registry Rsop data
For more information on how to enable Userenv logging, see the following article in the Microsoft Knowledge Base:
221833 How to enable user environment debug logging in retail builds of Windows
This issue may occur if RSoP logging is enabled and there is a large WMI repository on the problem server. The WMI repository is located at the following location:
%windir%\System32\Wbem\Repository
RSoP uses the CIMOM database through WMI. When a computer logs on to a network, information such as the computer hardware, Group Policy Software Installation settings, Internet Explorer Maintenance settings, Scripts, Folder Redirection settings, and Security Settings, are written to the CIMOM database. When you start RSoP in logging mode, RSoP reports policy settings that have been applied using the information provided in the CIMOM database.
For more information on RSoP, see the following Microsoft website:
RSoP Overview
http://technet.microsoft.com/en-us/library/cc778752(WS.10).aspx
Disable RSoP logging to resolve this issue. RSoP logging is enabled by default. For information on how to disable RSoP logging, see the following Microsoft website:
RSoP Logging
http://technet.microsoft.com/en-us/library/cc783154(WS.10).aspx
Note: Disabling RSoP logging will prevent you from running the RSoP snap-in (rsop.msc) on that computer. You can get RSoP modeling information using the Group Policy Management Console (GPMC) if needed.
Rebuilding the WMI repository will resolve the issue for some time but it may eventually grow back to the same size and cause logon delays again.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See
Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.
APPLIES TO
- Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
- Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
- Microsoft Windows Server 2003, Standard Edition (32-bit x86)
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate