Skip to content

Watchmaker support for Windows Server 2025 #3599

Description

@andy-mehta

While attempting to use Watchmaker userdata with a Windows Server 2025 AMI, received an error output in the watchmaker.log stating 'wmic' is not recognized as an internal or external command.

Salt_call.debug.log entry:
'wmic' is not recognized as an internal or external command, operable program or batch file.

This is a deprecated command and the recommendation is to use PowerShell cmdlets such as Get-CimInstance for the same functionality.

Also, noticed that Windows Server 2025 (and 2022) is not on the supported list at https://watchmaker.readthedocs.io/en/stable/scap.html

Watchmaker and salt_call.debug log files are attached.

watchmaker.log
salt_call.debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions