Start/Stop IIS related services using NET START/STOP

by Wayne Maples [Published on 20 April 2004 / Last Updated on 20 April 2004]

Starting/stopping Windows NT services from the commandline using the net start and net stop commands is valuable those who prefer the commandline interface and for scheduling the stopping of services and later restart of services after backups. The net start/stop commands require the service name listed under

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

The services applet in Control Panel uses the DisplayName. The net command does not recognize the DisplayName. This is true for any service. For IIS specifically: the service names and displaynames are:

Service name DisplayName
Iisadmin IIS Admin Service
Msftpsvc FTP Publishing Service
Nntpsvc Microsoft NNTP Service
Smtpsvc Microsoft SMTP Service
W3svc World Wide Web Publishing Service

See Also

Featured Links