WMIC tool was deprecated by MS, it's also broken KMS_VL_ALL etc. But note there's a post by @abbodi1406 about currently activated Win/Office. There's a thread about it where you will see that coder/scripter folks here are working on it. [ Solution ] Restore WMIC tool
Now that wmic is or will be removed, is it possible to still use this CMD ? Office Click-to-Run Retail-to-Volume or what scripts are affected? If we can use the c2r-r2v script, we can after that use Microsoft toolkit as a temporary solution until there is a way for KMS VL All AIO cmd works again.
my stupid attempt to fix my KMS tool all of this because MS s**t. why remove WMIC ? Code: call :query "select * from Win32_OperatingSystem" "buildnumber" for /f "tokens=* skip=3" %%g in ('type "%temp%\result"') do set BuildNumber=%%g set buildnumber=!BuildNumber: =! Code: call :Query_Invoke "select * from !LicensingProductClass! where !wmiSearch!" "UninstallProductKey" Code: :Query set args_1=%1 set args_2=%2 >nul 2>&1 del /q "%temp%\result" >"%temp%\script.ps1" echo Get-WmiObject -Query "!args_1:~1,-1!" ^| format-table -Property !args_2:~1,-1! >"%temp%\result" 2>&1 powershell -noprofile -executionpolicy bypass -file "%temp%\script.ps1" goto :eof :Query_Invoke set args_1=%1 set args_2=%2 >nul 2>&1 del /q "%temp%\result" >"%temp%\script.ps1" echo Get-WmiObject -Query "!args_1:~1,-1!" ^| ForEach-Object { ($_).!args_2:~1,-1!()} >"%temp%\result" powershell -noprofile -executionpolicy bypass -file "%temp%\script.ps1" goto :eof :Query_Invoke_args set args_1=%1 set args_2=%2 set args_3=%3 >nul 2>&1 del /q "%temp%\result" >"%temp%\script.ps1" echo Get-WmiObject -Query "!args_1:~1,-1!" ^| ForEach-Object { ($_).!args_2:~1,-1!("!args_3:~1,-1!")} >"%temp%\result" powershell -noprofile -executionpolicy bypass -file "%temp%\script.ps1" goto :eof
'wmic' is not recognized as an internal or external command, operable program or batch file. 'wmic' is not recognized as an internal or external command, operable program or batch file. Checking public Office distribution channels for new updates *** ERROR checking: * Current * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID *** ERROR checking: * CurrentPreview * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID *** ERROR checking: * BetaChannel * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID *** ERROR checking: * MonthlyEnterprise * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID *** ERROR checking: * SemiAnnual * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID *** ERROR checking: * SemiAnnualPreview * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID *** ERROR checking: * PerpetualVL2019 * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID *** ERROR checking: * PerpetualVL2021 * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID *** ERROR checking: * DogfoodDevMain * channel *** No response from Office content delivery server *** Check Internet connection and/or Channel-ID Press any key to continue . . .
[Tool] Office 2010 --> 2021 VL deploy tool After spend about 6 hours. Now have 3 version. ~ WMIC Based [ Stop Supported on some system ] ~ PowerShell Based [ F%^ Slow, why MS Want us to use it ? ] ~ VBS Based [ Really fast, with some help from abbodi1406 ] So if MS decided to Remove WMIC & PowerShell, I Still have VBS Version
YAOCTRI v10.5 - Added powershell commands to compensate the missing wmic on Windows build 22483 or later
Great tool for Office installs. I never save a config and just (1. Install Now) at the end of the options. v10.5: Installed ProPlus full Suite Scrubbed Office - Rebooted. Installed single apps, Word, Excel, Powerpoint, Excel. Scrubbed Office - Rebooted. Installed 365 custom install. Perfect every time. Code: ============================================================= Source : "C:\Users\REMOVED\Downloads\Office-Stuff\ExtractedOffice365BusinessRetail" Version : 16.0.14326.20454 / Arch: x64 / Lang: en-GB Channel : Monthly CDN : 492350f6-3a01-4f97-b9c0-c7c6ddf67d60 Suite : O365ProPlusRetail Excluded: Groove,Lync,OneDrive,OneNote,Outlook,Teams Updates : True / AcceptEULA : True / Display : True PinIcons: False / AppShutdown: True / Activate: False Disable Telemetry: True ============================================================= 1. Install Now 2. Create setup configuration (Normal Install) 3. Create setup configuration (Auto Install) ============================================================= Choose a menu option to proceed, press 9 to go back, or X to exit:
C2R-Retail2Volume v15 Office Scrubber v7 - Implemented VBScript mode to compensate the missing wmic.exe on Windows 11 build 22483 and later