Service Control Manager

G

Guest

Everytime a user logs on to an XP computer, they are unable to print and the
printers disappear. I found many posts that addressed the issue of cleaning
up the printer drivers and making sure that the correct drivers are used.
But, this is still an issue. I have also done a sfc /scannow, which also did
not address the issue.

When logged on as an administrator, this is easily dealt with by adding a
batch file to the startup, which will start the spooler service when the user
logs on. But, for normal users this isn't a viable solution.

The Event Viewer message (shown below) indicates that the service control
manager (SCM) stops the spooler at start up, which, according to the event
id, is correct. On some computers I found that the service is then started
immediately after it was stopped, with the same event id.

My question is: How can I stop the SCM from stopping the spooler in the
first place or, if it is necessary for the spooler to be stopped at startup,
how can I get the SCM to start the spooler again on behalf of a normal user?

Any help will be much appreciated.

I added some more details below.

Assumptions:
XP Professional SP1 or 2
Logged on as any user (local or domain)
Any permissions - from users to domain admins

When logging on to the computer, the following event occurs:

Event Type: Information
Event Source: Service Control Manager
Event Category: None
Event ID: 7035
Date: 03/09/2004
Time: 08:36:04
User: NT AUTHORITY\SYSTEM
Computer: DELL
Description:
The Print Spooler service was successfully sent a stop control.

The Help and Support Centre responds to this with:

"A control code was correctly sent to the service. This message is logged
for informational purposes only."
 
G

Guest

Just an update:

When I tried to look at the dependencies of the service I got the following
error message:

Win32: The RPC server is unavailable.

Andre
 
G

Guest

I found the problem! It turns out that the spooler is stopped by the client
side of the remote control software, which we use.

We make use of third party remote control software, which consist of a
client installation and a control installation. In order for the controller
to make use of the client's printer, it makes use of printer mapping, which
is controlled by a .dll in the client installation.

The solution was as simple as renaming the relevant .dll (injlib.dll in this
case), which will stop the spooler from shutting down in the first place.

If you make use of any remote control software and are experiencing
difficulties, ty uninstalling the software first before trying to fix your
printer.

Andre
 
G

ghassanovich

I have the same problem but there are some differences. the service
control manager send a stop command to the spooler radomly, not
necesserly at logon time. it can be while the sesion is open. we have a
third party software with a server side and a client side. but I doubt
that it is our software application that does stop the spooler. for the
sake of test I completly installed win xp sp 2 on a client without
installing any application. the spooler worked correctly for several
days, but when I joined the machine to the damain the problem appeared
again. so the conclusion is that a network command (to stop the
spooler) either from one of the domain controller or perhaps from some
service in our software application is sent to the hosts joined to the
domain. this problem persisted now several month and it is seriously
getting on my nerve since everytime the spooler stops i receive a call
from a user to come and fix the problem: by logging out from his
session, loogin in with the administrator account, activating the
spooler, and logging back again with his account. I have tried so much
alternative the ones that I have in mind now is to run a batch file (as
you said) at loging time but for this the user must have the priviledge
to start the service. the second which is more delicate is to reinstall
the 2 domain controllers which will not necessarly fix the problem. if
you have any clue please .....
 

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