Deprecated Server Manager Command-Line Tool
AdminStudio 2022 | 23.0 | Application Manager
For this operating system compatibility test, the Windows Installer database is scanned for the presence of references to ServerManagerCmd.exe inside shortcuts, custom actions, and script files. The file extensions that are scanned are .cmd, and .vbs.
Test Group/Test Category
• | 0531—Operating System Compatibility/Windows Server 2012 |
• | 0631—Operating System Compatibility/Windows Server 2016 |
• | 1031—Operating System Compatibility/Windows Server 2019 |
Severity
Error
Messages
• | This Windows Installer database contains a reference to ServerManagerCmd.exe in script [FILE_NAME] (Table: File, Key: [FILE_KEY]). |
• | This Windows Installer database contains a reference to ServerManagerCmd.exe in shortcut [SHORTCUT_NAME] (Table: Shortcut, Key: [SHORTCUT_KEY]). |
• | This Windows Installer database contains a reference to ServerManagerCmd.exe in custom action [CUSTOM_ACTION_KEY] (Table: CustomAction, Key: [CUSTOM_ACTION_KEY]). |
Background
ServerManagerCmd.exe is a tool that has been part of Server Manager. It can run queries, perform installations, and remove roles and features. The ServerManagerCmd.exe command-line tool is deprecated on Windows Server 2008 R2 systems.
Resolution
The following resolutions are available. Note that this issue is not resolved automatically by default.
Manual Fix
An application compatible with the specified version of Windows Server should be delivered by its manufacturer. Self-developed applications should be re-engineered to use the Server Manager PowerShell cmdlets instead of the ServerManagerCmd.exe command-line tool.
Basic Auto Fix
No resolution is available.
Advanced Auto Fix
No resolution is available.
See Also