You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Frank Aaron Peeler (Jira)" <ji...@apache.org> on 2025/07/25 18:53:00 UTC

[jira] [Created] (VCL-1152) Windows WMIC deprecated

Frank Aaron Peeler created VCL-1152:
---------------------------------------

             Summary: Windows WMIC deprecated
                 Key: VCL-1152
                 URL: https://issues.apache.org/jira/browse/VCL-1152
             Project: VCL
          Issue Type: Improvement
          Components: vcld (backend)
    Affects Versions: 2.5
            Reporter: Frank Aaron Peeler


WMIC command line utility was deprecated in 2016. Starting Jan 2024 WMIC feature is disabled by default and not included in Windows 11 except by Feature on Demand

[https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242|http://example.com]

Impacts deploying a Windows 11 VM when certain image settings are enabled: set hostname, Join AD

 

WMIC is used in the Windows.pm in the following sub routines:

ad_join_wmic

clear_event_log

get_installed_updates

get_timezone_offset_minutes

get_current_computer_hostname

set_computer_hostname

 

The goal is to replace WMIC with other options such as powershell or other native command line tool.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)