Protected Storage Service

Last week I engaged in a few interesting email exchanges regarding NT services. In one exchange, which referred back to last year's November 11, 1997 article, Internet Explorer 4 on NT, the user found that the Protected Storage service (pstores.exe), which installs with Internet Explorer 4 and takes up a good chunk of RAM, but which appears relatively useless in IE4 (unless you use the MS Wallet application), is required running for Outlook Express 98.

Indeed, and right on que, nt.zdnet.com's Russ Cooper wrote a rather in-depth article, "Service Pack 4: No Browser Required?", regarding the Protected Storage service. (In effect, you didn't need to install IE4 to use SP3 or the Option -- you just needed the Protected Storage service which is installed with IE4)

Running an Application as a Service

The other relevant email exhange dealt with NTVDM running the CPU up to nearly 100% when running certain 16-bit applications some of the time.

The user had installed SP3 (a common answer to the NTVDM problem), to no avail. Finally, he ended up making the application (Word 2.0) a service, and now it seems to runs fine all the time (except he has to remember to turn the "service" off manually when he's finished with the application).

srvany.exe, available in the Resource Kit, allows you to easily add an application as a service. While the Resource Kit Help file indicates that not all 16-bit applications may function well as services, it certainly might be worth a shot if you're having similar CPU-hogging problems. The usage is as follows:

    instsrv {AnyName} {drive}:\{path}\srvany.exe

You can run any number of applications this way, as long as each has a different service name ("AnyName" in the above example).

Services are applications that launch at startup (either on boot or when called by another program), without need for intervention from the user. They can run without anyone logged on.

Services can be managed through the Control Panel applet Services. From this applet, you can view all registered services, their current running status, and their startup type (ie, System, Automatic, Manual, or Disabled). Furthermore, you can start and stop services from this applet.

You can also start and stop services using the console's net start and net stop commands. If you do this, you can call a service by its "display name" (see below... it's the name of the service as it appears in the Services applet), as long as you put the name in quotes, like:

Go To Page: 1 2


The copyright of the article NT Services in Windows NT Workstation is owned by . Permission to republish NT Services in print or online must be granted by the author in writing.

Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo


Here's the follow-up discussion on this article: View all related messages

4.   Sep 6, 2002 7:33 AM
Hello,

I have the same problem as you. Have you manage to fix it?

Greetings,

Aurelien TRICAULT

In response to message posted by ...


-- posted by atricault


3.   Jun 23, 2002 10:07 PM
I install 2 Windows NT workstation with fixed ip address. Both the PCs are able to see everyone else on the network except for the PCs installed with Windows NT Workstation. The rest of the PCs on the ...

-- posted by superpiggy


2.   Sep 30, 2000 2:36 AM
I have a few applications running as a service. These dont survive a logoff. is there any way to fix this?. The srvany documentation about this only applys to programmers. ...

-- posted by MentalDebris


1.   May 11, 1999 5:51 PM
Hi,

I am having a problem as discussed in

http://www.suite101.com/article.cfm/nt_workstation/11004

> The other relevant email exhange dealt with
> NTVDM running the CPU up to nearly 100%
...


-- posted by slin2





For a complete listing of article comments, questions, and other discussions related to Tracey Kirkpatrick-Pritchett's Windows NT Workstation topic, please visit the Discussions page.