I have an application that essentially restarts IIS programmatically. On
Windows 2000, 2003 and XP, the name for the IIS service was "iisadmin".
However on Windows 7 (and probably Vista too?) this name is no longer
recognized. Through some experimentation, I figured the new name was "http"
but wanted to confirm it with you folks.
Thanks.
-- Abe
Cheers
Ken
"Abe Simpson" <a...@simpson.com> wrote in message
news:ueC2sv1J...@TK2MSFTNGP06.phx.gbl...
c:\>net stop iisadmin /y
The response is, "The service name is invalid."
however
c:\>net stop http /y
does work and stops W3SVC and other services.
Thanks again for your reply.
-- Abe
"Ken Schaefer" <kenR...@THISadOpenStatic.com> wrote in message
news:e5IOcvMK...@TK2MSFTNGP02.phx.gbl...
If you run: sc.exe query type= service in an elevated command window you
will get a list of services (and it also gives you the ability to
start/stop/pause/etc services and drivers). You can also see exposed
services via the Services MMC (Start -> Control Panel -> System -> Admin
Tools -> Services)
Cheers
Ken
"Abe Simpson" <a...@simpson.com> wrote in message
news:uVfzVpPK...@TK2MSFTNGP04.phx.gbl...