https://github.com/wisehackermonkey/wmic-fix
https://github.com/wisehackermonkey/wmic-fix
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wisehackermonkey/wmic-fix
- Owner: wisehackermonkey
- Created: 2021-12-07T02:08:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-31T01:52:21.000Z (over 4 years ago)
- Last Synced: 2025-01-07T15:43:56.992Z (over 1 year ago)
- Language: JavaScript
- Size: 12.3 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wmic-fix
### Updated 20211230
```bash
npm install -g pkg
```

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


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


works!


# that didnt work ;/
I tried swithcing to wmic instead
```bash
pkg -t win wmic.js
```



# try number 2


WOW IT WORKED!
thanks @feckardt
# how to uninstall wmic-fix

### option 1

```bash
del "C:\Windows\System32\wmic.exe"
```


### option 2
### delete it manually

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