|
1 | 1 | --- |
2 | 2 | title: Error message when you select Roles in Server Manager on Windows Server |
3 | 3 | description: Resolves the Windows Server problem in which selecting Roles in Server Manager generates an error message and Event 1601. |
4 | | -ms.date: 01/15/2025 |
| 4 | +ms.date: 04/28/2025 |
5 | 5 | manager: dcscontentpm |
6 | 6 | audience: itpro |
7 | 7 | ms.topic: troubleshooting |
8 | | -ms.reviewer: kaushika |
| 8 | +ms.reviewer: kaushika, warrenw, adrianlutai |
9 | 9 | ms.custom: |
10 | 10 | - sap:system management components\server manager |
11 | 11 | - pcy:WinComm User Experience |
12 | 12 | --- |
13 | 13 | # Error message when you select Roles in Server Manager on Windows Server |
14 | 14 |
|
15 | | -This article provides a resolution to the Windows Server problem in which selecting Roles in Server Manager generates an error message and event 1601. |
| 15 | +This article provides a resolution to the Windows Server problem in which selecting Roles in Server Manager generates an error message. |
16 | 16 |
|
17 | 17 | _Original KB number:_ 971509 |
18 | 18 |
|
19 | 19 | ## Symptoms |
20 | 20 |
|
21 | | -When you click **Roles** in **Server Manager** on a Windows Server computer, your profile doesn't load correctly and you receive an error message. If you select **Error Details**, you see the following message: |
| 21 | +When you install roles in **Server Manager** on a Windows Server computer, your profile doesn't load correctly and you receive an error message. If you select **Error Details**, you see the following message: |
22 | 22 |
|
23 | 23 | > **Server Manager:** |
24 | | -Unexpected error refreshing Server Manager; cannot open an anonymous level security token. (Exception from HRESULT: 0x00070543) |
| 24 | +Unexpected error refreshing Server Manager; cannot open an anonymous level security token. (Exception from HRESULT: 0x80070543) |
25 | 25 | For more information, see the event log: Diagnostics, Event Viewer, Applications and Services Logs, Microsoft, Windows, Server Manager, Operational. |
26 | 26 |
|
27 | | -To see the event details, open Event Viewer and navigate to **Applications and Services Logs\\Microsoft\\Windows\\Server Manager\\Operational**. Look for Event 1601. This entry provides the following information: |
28 | | - |
29 | | -> Log Name: Microsoft-Windows-Server Manager/Operational |
30 | | -Source: Microsoft-Windows-ServerManager |
31 | | -Date: MM/DD/YYYY hr:min:sec PM |
32 | | -Event ID: 1601 |
33 | | -Task Category: None |
34 | | -Level: Error |
35 | | -Keywords: |
36 | | -User: XXXXXXXXXXXX |
37 | | -Computer: XXXXXX.XXXXX |
38 | | -Description: |
39 | | -Could not discover the state of the system. An unexpected exception was found: System.Runtime.InteropServices.COMException (0x80070543): Cannot open an anonymous level security token. (Exception from HRESULT: 0x80070543) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.Windows.ServerManager.ComponentInstaller.CreateSessionAndPackage(IntPtr& session, IntPtr& package) at Microsoft.Windows.ServerManager.ComponentInstaller.InitializeUpdateInfo() at Microsoft.Windows.ServerManager.ComponentInstaller.Initialize() at Microsoft.Windows.ServerManager.Common.Provider.Initialize(DocumentCollection documents) at Microsoft.Windows.ServerManager.ServerManagerModel.InternalRefreshModelResult(Object state) |
| 27 | +To see the event details, open Event Viewer and navigate to **Applications and Services Logs\\Microsoft\\Windows\\ServerManager-DeploymentProvider\\Operational** and **Applications and Services Logs\\Microsoft\\Windows\\ServerManager-MultiMachine\\Operational**. You might see the following errors: |
| 28 | + |
| 29 | +```output |
| 30 | +Log Name: Microsoft-Windows-ServerManager-DeploymentProvider/Operational |
| 31 | +Source: Microsoft-Windows-ServerManager-DeploymentProvider |
| 32 | +Date: MM/DD/YYYY hr:min:sec PM |
| 33 | +Event ID: 403 |
| 34 | +Task Category: GetAlterationState method call. |
| 35 | +Level: Error |
| 36 | +Keywords: |
| 37 | +User: XXXXXXXXXXXX |
| 38 | +Computer: XXXXXX.XXXXX |
| 39 | +Description: GetAlterationState method returned Failed. Error: The request to add or remove features on the specified server failed. Installation of one or more roles, role services, or features failed. Cannot open an anonymous level security token. Error: 0x80070543 |
| 40 | +``` |
| 41 | + |
| 42 | +```output |
| 43 | +Log Name: Microsoft-Windows-ServerManager-DeploymentProvider/Operational |
| 44 | +Source: Microsoft-Windows-ServerManager-DeploymentProvider |
| 45 | +Date: MM/DD/YYYY hr:min:sec PM |
| 46 | +Event ID: 1315 |
| 47 | +Task Category: GetServerComponent request on a separate thread. |
| 48 | +Level: Error |
| 49 | +Keywords: |
| 50 | +User: XXXXXXXXXXXX |
| 51 | +Computer: XXXXXX.XXXXX |
| 52 | +Description: Exception Detected: Installation of one or more roles, role services, or features failed. Cannot open an anonymous level security token. Error: 0x80070543 ErrorID: DISMAPI_Error__Failed_To_Enable_Updates |
| 53 | +``` |
| 54 | + |
| 55 | +```output |
| 56 | +Log Name: Microsoft-Windows-ServerManager-MultiMachine/Operational |
| 57 | +Source: Microsoft-Windows-ServerManager-MultiMachine |
| 58 | +Date: MM/DD/YYYY hr:min:sec PM |
| 59 | +Event ID: 4002 |
| 60 | +Task Category: Add-_InternalWindowsRole task. |
| 61 | +Level: Error |
| 62 | +Keywords: |
| 63 | +User: XXXXXXXXXXXX |
| 64 | +Computer: XXXXXX.XXXXX |
| 65 | +Description: Add-_InternalWindowsRole workflow reported an error installing or removing the requested component(s), TargetComputer:, RequestState:2, RebootRequired: false, ErrorMessage: The request to add or remove features on the specified server failed. Installation of one or more roles, role services, or features failed. Cannot open an anonymous level security token. Error: 0x80070543 , ErrorId: DISMAPI_Error__Failed_To_Enable_Updates, ErrorCategory: 7, Warning: |
| 66 | +``` |
40 | 67 |
|
41 | 68 | ## Cause |
42 | 69 |
|
|
0 commit comments