Services in MS-Windows™ impact the functioning of a system. With a default installation of MS-Windows™, many unnecessary services are installed and are automatically enabled at startup. It is a tedious job for administrators to stop or uninstall unnecessary services on each individual computer.
net service allows you to manage installed services on local and remote machines without physically logging in to the machine. This tool helps system administrators in performing housekeeping tasks and security auditors in checking the services running on remote systems when direct access is not always possible.
Just copy netps onto your executable path. Typing "netservice -h" displays its usage syntax.
The syntax is straightforward and easy to learn.
Arguments supplied to netservice are case sensitive.Download netport ( 222 KB)
To check and dump output to netservice.xml, the configuration of w3svc service on a machine with IP address 10.10.8.7, using administrator credentials,
To enumerate all inactive WIN32 services and dump output to service.xml,
To enumerate all the services and dump output to allservices.xml,
To enumerate dependencies for the active service iisadmin, type
To enumerate all dependencies for the service iisadmin, type
netservice has been tested on Windows 2000, Windows XP and Windows 2003.
netservice is included in a command-line toolkit named NSTools from Net-Square, that aid in the administration and audit of remote Windows NT/2K/XP/2003 systems.