Discussion Locked

Start/Stop PWS from command line?

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Any command to start and stop PWS (Personal Web Services) from a command line in Win98? I assume NET STOP would work - but what's the name of the service?

9 replies

by parbo

As far as I know w98 doesnt offer that ability to start and stop services from the command line as in WINNT/2K.
Are you trying to start & stop this from a batch file? Maybe you can use a macro program to do that for you in W98, like MacroScheduler.

by 4u21der

Use the INCLUDED net start/net stop commands that are available in the Win98 shell

Open command prompt.

type:
net start /?
net stop /?

You will need to know the name of the service and or exe.

Good Luck!

by mr. origami

I know. Perhaps you shoud re-read my question. "I assume NET STOP would work - but what's the name of the service? "

by 4u21der

Start the PWS.
Then open MSINFO32.exe
Go to 'Running tasks'.
Look in the description field and it will tell you what the exe name is.

by mr. origami

Both PWSTRAY.exe and INETINFO.exe are listed as IIS/PWS components, but NET STOP/START fails with both saying they are not valid services.

by 4u21der

From Net Start help:

c:\net start /?
Starts services.

!Services cannot be started from a command prompt within Windows.!

NET START [BASIC | NWREDIR | WORKSTATION | NETBIND |
NETBEUI | NWLINK] [/LIST] [/YES] [/VERBOSE]

The Rest i cut out.

After looking into this a bit further, i am fairly sure that you cannot do this with a Win9x box.

If you do figure out a method, i would love to hear how you got it to work.

Sorry i want much help.

Good Luck!

by mr. origami

That's what I figured. As Win9x is "home" not "business", command line administration isn't really an option. Thanks for your efforts.

This discussion is closed to new replies.