jueves, 3 de octubre de 2013

[How to] Query all windows services config from the command line


Windows < Windows 7

for /f "tokens=5 delims=\" %A in ('reg query HKLM\SYSTEM\CurrentControlSet\Services') do sc qc %A

Windows > Windows 7 box or otherwise have the option to use WMI you can use the following command:

wmic service get pathname

Source

No hay comentarios:

Publicar un comentario