World Wide Web Publishing Service stops

E

ernpal

The company I work for has some sort of script (or something) that
issues a command(s) that stops my WWW Publishing sercvice. I can
manually start the service, and it'll work until the next time the
script runs. I have tried scheduling a batch file to run a .reg file
that would allegedly start the service. But it doesn't work. It will
change what is displayed in Services mmc, but it doesn't seem to
actually start the service. In fact, after doing this, the service
cannot be manually started until after I change its startup type, hit
apply, and then change the start-up type back to manual or auto.

This is the code for the .BAT file:
@echo off
REM re-enabe and start "World Wide Web Publishing" service (W3SVC)

REM set service startup type to "Automatic"
echo World Wide Web Publishing - Startup type: Automatic
echo
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC]
echo "Start"=dword:00000002
echo.
regedit /s W3Svc_Auto.reg

REM start service
net start "World Wide Web Publishing"

rem pause

This is the code for W3Svc_Auto.reg:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC]
"Start"=dword:00000002


Thanks for your help,
Ernest Pallares
 
V

Vagabond Software

The company I work for has some sort of script (or something) that
issues a command(s) that stops my WWW Publishing sercvice. I can
manually start the service, and it'll work until the next time the
script runs. I have tried scheduling a batch file to run a .reg file
that would allegedly start the service. But it doesn't work. It will
change what is displayed in Services mmc, but it doesn't seem to
actually start the service. In fact, after doing this, the service
cannot be manually started until after I change its startup type, hit
apply, and then change the start-up type back to manual or auto.

This is the code for the .BAT file:
@echo off
REM re-enabe and start "World Wide Web Publishing" service (W3SVC)

REM set service startup type to "Automatic"
echo World Wide Web Publishing - Startup type: Automatic
echo
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC]
echo "Start"=dword:00000002
echo.
regedit /s W3Svc_Auto.reg

REM start service
net start "World Wide Web Publishing"

rem pause

This is the code for W3Svc_Auto.reg:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC]
"Start"=dword:00000002


Thanks for your help,
Ernest Pallares


Try disabling the Remote Registry service for a day and see if that fixes
the problem. If you know that it is a local daemon disabling the WWW
Publishing, try disabling that daemon as well.

carl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top