How to troubleshoot SMS Administrator console connectivity (317872)
The information in this article applies to:
- Microsoft Systems Management Server 2.0
- Microsoft Systems Management Server 2003
- Microsoft Windows XP Service Pack 2
This article was previously published under Q317872 Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry INTRODUCTION
If you are using SMS and you try to connect to the site server, you may receive a "Connection Failed" message. Or, the nodes may not be displayed after you are connected. Additionally, errors that are similar to the following may be logged in the AdminUI.log file on the server: Error: Possible UI connection error code is -2147023174 [0x800706ba]
Error: Possible UI connection error code is -2146959355 [0x80080005] Error: Possible UI connection error code is -2147217394 Error: Possible UI connection error code is -2147217389[0x80041013] Failed to execute method GetProviderVersion! Function GetProviderVersion returns empty string of ProviderVersion. Wbem call failed: T_WbemSyncEnumToContainer_Core, return code: -2147217389 We fail to get the ProviderVersion. SiteCode - SiteServerName , Provider Version : Failed to set the connection. error code: -2147217389
Error(ConnectServer):
Possible UI connection error code is -2147024891 Error: Possible UI connection error code is -2147024891 [0x80070005] [994][<date> <time>]:Error(CheckForDisconnect2): Invalid service pointer.
WMI connection has been dropped. : -2147024891 [0x80070005] This article describes how to troubleshoot a new or an existing SMS Administrator console to determine why it cannot connect to the site server.
MORE INFORMATIONHow to grant access to the SMS Administrator consoleIn order to access a local or remote SMS Administrator console, users must be members of the SMS Admins local group. The SMS Admins group is explicitly granted Enable Account and Remote Enable on the Root\SMS namespace. The SMS Admins group provides its members with access to the SMS Provider, through WMI. Add Users to the SMS Admins group when they need to access the SMS Administrator console, but do not have to be Local Administrators. If you want to use a different local group to grant access to the SMS Administrator console, you must also grant that local or domain local group the same WMI permission as the SMS Admins group. To grant access to the SMS Administrator console, follow these steps: - Create a global group for the domain that contains users who require specific access to the SMS Administrator console.
- Add this global group or the explicit domain user account to the local SMS Admins group.
- Configure the SMS permissions for the global group that you created.
Notes- To complete this step, you must be an administrator and have full permissions on the site.
- If you can connect to the database but if the nodes are not enumerated, examine the SMS permissions that are granted to the global group or to a specific user in the Security node of the SMS Administrator console. For example, determine whether the collections node, the packages node, or other nodes display any content.
The permissions that you grant depend on the functionality that you want the members of this global group to perform. To grant permissions, right-click the Security rights node in the SMS Administrator console, point to All tasks, and then click Manage SMS Users to start the Security Wizard. - Use the wizard to add, remove, or modify the security settings of users and of groups.
Note For SMS 2.0 Service Pack 3 (SP3) hierarchies in Microsoft Windows 2000 domains, you may have to obtain the hotfix that is described in the following Microsoft Knowledge Base article: 266712 SMS: Security based on global groups fails in Windows 2000 domains
For more information about how to grant additional users access to the SMS Administrator console, click the following article number to view the article in the Microsoft Knowledge Base:
252674
SMS: How to set up a Help Desk administrator
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
201126
SMS: Troubleshooting connectivity to the SMS site database
200670 SMS: Customizing the Systems Management Server Administrator console
How to troubleshoot SMS Administrator console connectivityIf you are testing a remote SMS Administrator console, make sure that the latest SMS service pack has been applied to this console. If the service pack has not been applied, an error that is similar to the following may be logged in the AdminUI.log file: CLASS_SMS_ContextMethods,METHOD_GetContextHandle! Failed to set the connection. error code: -2147217407 Run the Setup program from the service pack source to determine whether the SMS Administrator console is the only component that must be upgraded.
To troubleshoot SMS Administrator console connectivity, consider the following issues:
- Is the SMS site server running Microsoft Windows Server 2003 with Service Pack 1 (SP1)?
In Windows Server 2003 with SP1, a new local group is created that is named Distributed COM Users. To resolve the connectivity issue in Windows Server 2003 Service Pack 1, add the users who are trying to make remote connections to the SMS Administrator console to the Distributed COM Users local group.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
913000
After you install Windows Server 2003 Service Pack 1, you can no longer connect to the SMS site server by using a remote SMS Administrator console
895952 You receive a "You do not have the appropriate privilege" error message when you try to open the Microsoft Operations Manager (MOM) 2005 Administrator console
- Is the user a member of a global group that is a member in the SMS Admins group, or is the user explicitly defined in the SMS Admins Group?
The SMS Admins group is created during the SMS site installation. If a site was installed on a member server, the SMS Admins group is a local group in the local Security Accounts Manager (SAM). If a site server is a domain controller, the SMS Admins group is a local group in the domain. The user must belong to the SMS Admins group because this group is granted the necessary permissions to the SMS and SMS_site code namespace in the Windows Management Instrumentation (WMI) repository when the SMS site is built. - Has this server had a previous installation of SMS?
If the server has had a previous installation of SMS, there may be multiple site codes in the SMS_ProviderLocation class that is located in the site server's SMS namespace. Delete any site code that no longer exists on the site server. You can use the WBEMtest tool to view the SMS_ProverLocation class.
For more information about WBEMtest, click the following article number to view the article in the Microsoft Knowledge Base:
239899
Administrator console cannot connect after reinstallation
- On the site server, confirm property settings that are defined in the Dcomcnfg.exe utility.
To view the properties that are defined in the Dcomcnfg.exe utility, click the Default properties tab, and then confirm the following settings:- The Enable Distributed COM on this computer check box is selected.
- The Default Authentication level is set to Connect.
- The Default Impersonation level is set to Identify.
- If you are testing a remote SMS Administrator console, make sure that the latest SMS service pack has been applied to this console.
Run the Setup program from the service pack source to determine whether the SMS Administrator console is the only component that must be upgraded.
After you consider these issues, complete the troubleshooting procedures that are described in the following sections.
Troubleshooting SMS namespace connectivity
Make sure that the user can connect to the SMS namespace and the SMS_'sitecode' namespaces. To do this, follow these steps: - Click Start, click Run, and then type wbemtest.
- Click Connect, type \\siteserver\root\sms, and then click Login.
- Click Enum Classes, click Recursive, and then click OK.
- In the Query Result list, double-click SMS_ProviderLocation.
- Click Instances, and then double-click the line that contains the target site code. For example, SMS_ProviderLocation.SiteCode="xxx."
- In the Properties section, locate the NamespacePath line. You may have to double-click this line to see the whole line.
- Copy the NamespacePath value to the clipboard. For example, copy the following value:
\\server_name\root\sms\site_xxx
If you successfully complete this procedure, you can connect to the site server and enumerate the SMS namespace.
How to troubleshoot server connectivity
Determine whether you can connect to the server that the provider is located on. The server is defined in the NamespacePath value that you determined in the "How to troubleshoot SMS namespace connectivity" section. Typically, this server is the same server.
- Close all WBEMtest windows that may be open.
- Click Connect, paste the NamespacePath that you copied in step 7, and then click Login.
- Click Enum Classes, click Recursive, and then click OK
- In the Query Result list, double-click SMS_Site.
If you receive an "access denied" error message when you perform this procedure, this may be because of one of the following causes: - The Security Configuration Wizard has been run on the server that hosts the SMS Provider. However, the Security Configuration Wizard is unable to recognize the SMS Provider. If you run the wizard on the server that has the SMS Provider installed, you must enable the Remote WMI service in the wizard. Unless you enable Remote WMI, the SMS Administrator console on the site server and any other remote consoles cannot connect to the SMS namespace in WMI. To enable Remote WMI in the wizard, do the following:
- Select Remote WMI on the Select Administration and Other Options page of the Security Configuration Wizard.
Note For more information about how to secure SMS site systems, visit the following Microsoft Web site:
- The account that is used does not have the appropriate permissions to the namespace of the provider. To modify or to verify the permissions, follow these steps:
- On the server on which you enumerated the SMS site, click Start, click Run, type wmimgmt.msc, and then click OK.
- Right-click WMI Control, and then click Properties.
- On the Security tab, expand Root, and then click SMS.
- Click Security in the results pane to see the permissions.
- Click Advanced, click SMS Admins, and then click View-edit.
For the SMS namespace, the SMS Admins group must have the following permissions:- Enable account
- Remote enable
- Repeat steps a through e to examine the SMS Admins group for the SMS_xxx namespace. (xxx is a placeholder for the site code.) Then, grant Remote Enable permission to the user or to the group. If the user or the group does not have appropriate WMI permissions in Security for the SMS namespace, the following event may be logged in the AdminUI.log file: Error(ConnectServer): Possible UI connection error code is -2147217405 [0x80041003]
Other security issues
Use the troubleshooting procedures that are described in this section if any one of the following conditions is true: - Users are still denied access when they try to connect to the console after you have granted the appropriate accounts the "Remote Enable" right in WMI security.
- The console is only partially available.
Verify the Windows Firewall configuration
Windows XP SP2 and Windows Server 2003 SP1 include the Windows Firewall feature. If you run the SMS Administrator Console on a Windows XP SP2-based or a Windows Server 2003 SP1-based computer that has the firewall enabled, you must enable the Unsecapp.exe program and TCP port 135 to pass through the Windows Firewall. To do this, follow these steps: - Click Start, click Run, type firewall.cpl, and then click OK.
- On the General tab, click On to turn the firewall on. Click to clear the
Don't allow exceptions check box.
- On the Exceptions tab, click Add Program.
- Click Browse, type
%windir%\System32\Wbem\Unsecapp.exe in the File namebox, and then click Open. If you have to define the scope, click
Change scope, and then click OK. Click OK
to close the Add a Program dialog box.
- In the Programs and Services list, click to select the Unsecapp.exe check
box.
- Click Add Port.
- In the Port number box, type 135. Select TCP, and then
type a name for the exception in the Name box. If you have to define the scope,
click Change scope, and then click OK.
Click OK to close the Add Port dialog box.
- In the Programs and Services list, click to select the check box for the
exception that you added in step 7.
- Click OK.
Check DCOM security settingsWarning Do not make these changes unless you cannot resolve this issue by adding the Unsecapp.exe program and TCP port 135 to the exceptions list.
Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk. You may not resolve this issue by adding these exceptions to Windows Firewall. You may have to set anonymous remote permissions in DCOM for the client computer. To do this on the Windows XP SP2-based computer that is running the SMS Administrator console, follow these steps: - Click Start, click Run, type dcomcnfg.exe, and then click OK.
- Locate the Console root node, expand Component Services, expand Computers, and then click My Computer.
- Right-click My Computer, and then click Properties.
- In My Computer Properties, click the COM Security tab.
- In Access Permissions, click Edit Limits.
- Click ANONYMOUS LOGON.
- In Permissions for ANONYMOUS LOGON, click Allow setting for Remote Access.
- Click OK two times.
- Restart your computer.
Verify whether the default DCOM permissions have been changed Check for the DefaultAccessPermission value under the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole This indicates the default DCOM permissions have been changed. If this value does not exist, the default DCOM permissions are in effect. To resolve this problem, delete the DefaultAccessPermission value. This will reset all default DCOM permissions. This is a measure of last resort and is not guaranteed to correct the problem. Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. Important Before you delete this value, make sure that you have tried to resolve the issue by following the DCOM troubleshooting steps in in this article. Also, back up the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole registry subkey. To delete the DefaultAccessPermission value, follow these steps: - Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole - In the right pane, right-click DefaultAccessPermission, and then click Delete.
- In the Confirm Value Delete dialog box, click Yes.
- Exit Registry Editor.
- Log off the computer, and then log back on to the computer.
For more information about DCOM issues and their symptoms, click the following article number to view the article in the Microsoft Knowledge Base:
900960
You cannot perform actions such as search and drag when you use a Windows Server 2003-based computer
Include the Anonymous Logon security group in the Everyone security group
If the procedures that are previously described do not resolve the permissions issue for the SMS Administrator console, it may be difficult to do the following: - Determine which resource requires anonymous access on the computer that is running Windows XP
- Modify the permissions on all the necessary resources
In these situations, you may have to force the computer that is running Windows XP to include the Anonymous Logon security group in the Everyone security group. To support this functionality, Windows XP includes the EveryoneIncludesAnonymous registry entry. If the EveryoneIncludesAnonymous registry entry is set to REG_DWORD 0x1, the Local Security Authority (LSA) includes the security identifier (SID) of the Everyone security group in the anonymous user's access token. To set the value of the EveryoneIncludesAnonymous registry entry, use either of the following methods. Method 1: Set the EveryoneIncludesAnonymous registry entry by using local security settings- Click Start, click Run, type Control admintools, and then click OK.
- Double-click either Local Security Policy or Domain Security Policy (on domain controllers only).
- Double-click Local Policies, and then click Security Options.
- Right-click Network access: Let Everyone permissions apply to anonymous users, and then click Properties.
- To enable anonymous users to be members of the Everyone security group, click Enabled. To prevent the inclusion of the Everyone security group SID in the anonymous user's access token, click Disabled.
This is the default setting in Windows XP.
Method 2: Set the EveryoneIncludesAnonymous registry value by using Registry EditorWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. - Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
- Right-click EveryoneIncludesAnonymous, and then click Modify.
- To enable anonymous users to be members of the Everyone security group, type 1 in the Value data box. To prevent the inclusion of the Everyone security group SID in the anonymous user's access token, type 0 in the Value data box.
By default, the EveryoneIncludesAnonymous value is set to 0 in Windows XP.
- Exit Registry Editor.
- Restart the computer.
Note This change can affect the following Windows-based technologies: - Com
- Dcom
- IIS
- Message Queuing
- Any other technology where anonymous authentication is frequently employed.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
278259
Everyone group does not include anonymous security identifier
Additional connectivity tests
Start the WMI Control on the site server. Do not start the WMI control on the provider server if this server is different. Click the Logging tab, and then set the logging level to Verbose to increase the logging to the Windows_folder\System32\Wbem\Logs\Wbemcore.log file.
Analyze this log on the site server. You see all the WMI traffic that is generated. Look for the query for SMS_Providerlocation that occurred when an SMS Administrator console tried to connect. If this query is present, you can confirm that there is communication between the console and the site server. Test connectivity from the site server back to the requesting SMS Administrator console. Connectivity may not exist in the following scenarios: - The remote procedure call (RPC) server is unavailable.
If WBEMtest connectivity testing determines that the remote procedure call (RPC) server is unavailable, see the following Microsoft Knowledge Base article: 229091 SMS: Remote administrator gets a "Connection failed" error when connecting to Site Server
- There is a DNS name resolution issue.
The "Connection Failed "error message may also occur if name resolution is not completed correctly. To determine whether you are experiencing a name resolution issue, use the WBEMtest tool and try to connect to the site server by using the IP address. For example, use \\111.222.333.444\root\default as the address. If you can connect when you use the IP address, but you cannot connect when you use the netBIOS name of the site server, you are experiencing a name resolution issue. To resolve this issue, confirm either the WINS or the DNS configurations.
To make sure that no incorrect entries persist in the DNS resolver cache on the SMS 2003 site server, run the following command at a command prompt: If you cannot resolve the fully qualified domain name of the Windows XP SP2-based computer by using DNS, create an entry in the hosts file on the SMS 2003 site server to map the Windows XP SP2-based computer's fully qualified domain name to its IP address.
REFERENCES
For more information about how to set WMI Namespace security in Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
295292
How to set WMI Namespace security in Windows XP
For more information about Systems Management Server WMI terms and concepts, click the following article number to view the article in the Microsoft Knowledge Base:
216738
SMS: WMI terms and concepts
For more information about SMS Administrator connection problems, click the following article numbers to view the articles in the Microsoft Knowledge Base:
314169
SMS: "Connection failed" error message when you run Administrator console on Windows 2000
272937 SMS: Administrator console does not connect to Windows NT 4.0 Site Server
913000 After you install Windows Server 2003 Service Pack 1, you can no longer connect to the SMS site server by using a remote SMS Administrator console
908478 One or more site objects may be missing after you expand a site hierarchy node in a remote System Management Server 2003 Administrator Console
For more information about how to help secure remote WMI connections, visit the following Microsoft Web site: For more information about granular COM permissions, visit the following Microsoft Web site: For a list of frequently asked questions about site systems, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 7/17/2006 |
---|
Keywords: | kbprb kbhowto kbExpertiseAdvanced kbinfo KB317872 kbAudITPRO |
---|
|