> ## Content Index
> Fetch the complete content index at: https://www.oransblog.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to fix WMIC.exe Error within windows 11 dev builds
- URL: https://www.oransblog.com/wmic-fix/
- Published: 2021-11-09T03:21:50.000Z
- Updated: 2026-10-29T05:57:00.000Z
- Author: Oran C
- Tags: #Import 2026-11-12 01:14

### First off windows officially removed WMIC.exe from windows!

ARGH!

Last updated 20211215: new fixes and options, google drive link, neo4j fix

I'm running Windows 11 Insider Preview 22494.1000 currently (20211108)

![](https://www.oransblog.com/content/images/2021/11/image-6.png)

# What this change breaks:

- Neo4j install
- [https://github.com/neo4j-devtools/neo4j-desktop/issues/116](https://github.com/neo4j-devtools/neo4j-desktop/issues/116?ref=oransblog.com)

![](https://www.oransblog.com/content/images/2021/11/image-7.png)

- Cypress.io firefox and other browser detection

# What I've tired:

[Microsoft removed the WMIC tool from Windows 11 Dev buildsIf you often use the good old classic WMIC tool, here is a bit of bad news. The Redmond software giant deprecated it in Windows 10 version 21H1, and even![](https://winaero.com/favicon.ico)WinaeroView all posts by Sergey Tkachenko![](https://winaero.com/blog/wp-content/uploads/2016/01/Windows-10-wmic.png)](https://winaero.com/microsoft-removed-the-wmic-tool-from-windows-11-dev-builds/?ref=oransblog.com)

- installing wmic.exe into C:\\Windows\\System32\\wbem
- super sketchy website has a older version of wmic.exe that i installed into the system to try to get it to work no dice!
- [https://www.exefiles.com/en/exe/wmic-exe/](https://www.exefiles.com/en/exe/wmic-exe/?ref=oransblog.com)
- [https://www.exefiles.com/en/mui/wmic-exe-mui/](https://www.exefiles.com/en/mui/wmic-exe-mui/?ref=oransblog.com)

![](https://www.oransblog.com/content/images/2021/11/image-9.png)

#   
Try #2

[WMIC unter Windows 11 weiterhin nutzen (aktuell Dev-Version)Microsoft räumt weiter unter Windows 11 auf und entfernt alte Dinge, die nicht mehr weiterentwickelt werden. In der Windows 11 22483 (und höher) hat es nun WMIC (Windows Management Instrumentation …![](https://www-deskmodder-de.translate.goog/favicon.ico)Deskmodder.demoinmoin![](https://www.deskmodder.de/blog/wp-content/uploads/2021/10/wmci-unter-windows-11-weiterhin-nutzen-001.jpg)](https://www-deskmodder-de.translate.goog/blog/2021/10/24/wmci-unter-windows-11-weiterhin-nutzen-aktuell-dev-version/?%5Fx%5Ftr%5Fsl=de&%5Fx%5Ftr%5Ftl=en&%5Fx%5Ftr%5Fhl=en&%5Fx%5Ftr%5Fpto=nui,sc&ref=oransblog.com)

- Link to exe \[download here 20211108\]([https://my.hidrive.com/lnk/WzvoAd4a#file](https://my.hidrive.com/lnk/WzvoAd4a?ref=oransblog.com#file))

The WMIC.exe is in the folder `c:\windows\system32\wbem\`

![](https://www.oransblog.com/content/images/2021/11/image-10.png)

- WMIC.exe.mui in the folder `c:\windows\system32\wbem\en-US\`

![](https://www.oransblog.com/content/images/2021/11/image-11.png)

![](https://www.oransblog.com/content/images/2021/11/image-12.png)

seams more promising

### Update this doesnt work!

![](https://www.oransblog.com/content/images/2021/11/image-13.png)

## Fing MS does it again!

#   
Fix for what i was trying to do : install neo4j

[Install Stuck at “Please choose path ...” on \[Windows 11 dev build\] · Issue #116 · neo4j-devtools/neo4j-desktopNeo4j Version version 1.4.9 Expected behavor being abel to click &quot;confirm&quot; and select default location for store application data on first load of application install Error nothing happen...![](https://github.com/fluidicon.png)GitHubneo4j-devtools![](https://opengraph.githubassets.com/3d45042a609c5eb37c6f7c479dd8fa9a97a5da2c049fe378cc7e57d19ae53ae1/neo4j-devtools/neo4j-desktop/issues/116)](https://github.com/neo4j-devtools/neo4j-desktop/issues/116?ref=oransblog.com)

  
for the lazy heres the precompiled hack fix for this 

[GitHub - wisehackermonkey/wmic-fixContribute to wisehackermonkey/wmic-fix development by creating an account on GitHub.![](https://github.com/fluidicon.png)GitHubwisehackermonkey![](https://opengraph.githubassets.com/830f86477279074c28e13c0a22d5f38c91c70b156510bbd83a23034c5625ddd1/wisehackermonkey/wmic-fix)](https://github.com/wisehackermonkey/wmic-fix?ref=oransblog.com)

```bash
npm install -g pkg

```

![image](https://user-images.githubusercontent.com/29699356/144950560-ecf58518-a723-4f71-8e0e-2a594a871ec3.png)

```bash
echo 'console.log("Caption  FreeSpace    Size");
console.log("C:       23770869760  63758659584");' > wbem.js

```

```bash
pkg -t  win  wbem.js

```

![image](https://user-images.githubusercontent.com/29699356/144950980-ea6cf818-626f-4e6b-b773-2dce0f92fbf8.png)

![image](https://user-images.githubusercontent.com/29699356/144951189-6dbdec1f-22a8-422c-ac1f-4d398e7b7dfb.png)

  
`C:\Windows\System32\wbem.exe`  

![image](https://user-images.githubusercontent.com/29699356/144951592-e8e43afc-6442-40b0-b969-67770ee11492.png)

![image](https://user-images.githubusercontent.com/29699356/144951653-0b359e3d-72fd-4984-b8b0-6eb63a987ad3.png)

works!  

![image](https://user-images.githubusercontent.com/29699356/144951709-6939b3fe-cf01-4ad0-8073-b9f1a43bd8e3.png)

![image](https://user-images.githubusercontent.com/29699356/144951795-621e7557-1202-435e-aa54-4b00f6244e67.png)

# that didnt work ;/

I tried swithcing to wmic instead

```bash
pkg -t  win  wmic.js

```

![image](https://user-images.githubusercontent.com/29699356/144952094-c2ab22db-2eb4-41d8-ab72-3f40cacf502f.png)

![image](https://user-images.githubusercontent.com/29699356/144952133-b9132569-28ec-46e8-9e2a-b96351473087.png)

![image](https://user-images.githubusercontent.com/29699356/144952199-4216750b-3b78-4bf0-b01e-e0d3922e164e.png)

# try number 2

![image](https://user-images.githubusercontent.com/29699356/144952358-833d8df9-c8fa-4418-af1a-e4d118335b27.png)

![image](https://user-images.githubusercontent.com/29699356/144952493-f063c9d7-6145-4a5d-9aac-abf9c224a532.png)

WOW IT WORKED!  
thanks @[feckardt (Frank)](https://github.com/feckardt?ref=oransblog.com)

To future people: warning this wmic is used by other system stuff, and you could bork some shit, you have been warned! :)

my exe's for the lazy  
[https://github.com/wisehackermonkey/wmic-fix](https://github.com/wisehackermonkey/wmic-fix?ref=oransblog.com)  
or if your a good parionid dev, you can replicate my stuff.....

# Update: 20211215

I found a older copy of wmic.exe on my new pc, and copied it here for future reference. I tried finding some old versions but it was missing somethings, and i couldn't get it to work :/

Here's a more up to date versions that is less sketchy

[wmic\_blog\_post - Google Drive![](https://ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png)Google Drive![](https://drive-thirdparty.googleusercontent.com/128/type/application/octet-stream)](https://drive.google.com/drive/folders/1yFU5rD3kMROAL%5FkY3Vd93GwRHWrfLCPw?usp=sharing&ref=oransblog.com)