Xp — Wmic Windows
Stop the WMI service:
:: Startup & software wmic startup list brief wmic product get name,version wmic windows xp
While "Add/Remove Programs" was the GUI standard, WMIC could silently uninstall software (provided the installer supported it): wmic product where name="Name of Application" call uninstall Stop the WMI service: :: Startup & software
| Command | Action | |---------|--------| | wmic process list brief | List all processes (PID, name, memory) | | wmic process where name="notepad.exe" call terminate | Kill all Notepad processes | | wmic service where name="wuauserv" get name,state | Check Windows Update service status | | wmic service where name="wuauserv" call stopservice | Stop a service | | wmic service where name="wuauserv" call startservice | Start a service | wmic windows xp
wmic service where name="ServiceName" call stopservice wmic service where name="ServiceName" call startservice
| Error | Likely Cause | Fix | |-------|--------------|-----| | 'wmic' is not recognized | Windows XP Home Edition or WMIC not installed | Use XP Professional or add WMIC from Windows CD | | RPC server is unavailable | Remote computer unreachable or firewall blocking | Check network, enable WMI firewall rule | | Access denied | Insufficient privileges | Run CMD as Administrator or use admin account | | Invalid XML content | Corrupted WMI repository | Run rundll32 wbemupgd, RepairWMISetup |
wmic [options] [alias] [verb] [noun] [properties]