An open API service indexing awesome lists of open source software.

https://github.com/wisehackermonkey/wmic-fix


https://github.com/wisehackermonkey/wmic-fix

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

          

# wmic-fix
### Updated 20211230

```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

# how to uninstall wmic-fix
![image](https://user-images.githubusercontent.com/29699356/147798202-1c4a9f92-c95a-4e81-a92f-9db8e0ce31e4.png)

### option 1

![image](https://user-images.githubusercontent.com/29699356/147798276-8c720f2d-5b72-49b7-8cfe-a7a22a6a3629.png)
```bash
del "C:\Windows\System32\wmic.exe"
```
![image](https://user-images.githubusercontent.com/29699356/147798363-684ce45e-9f2c-474f-b926-2036ca6b413d.png)
![image](https://user-images.githubusercontent.com/29699356/147798399-edaafa6f-665c-4da6-9553-7f74a5503415.png)

### option 2
### delete it manually
![image](https://user-images.githubusercontent.com/29699356/147798229-d9ad0e9e-94ab-47dc-968c-078f44f3d171.png)
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
or if your a good parionid dev, you can replicate my stuff.....