Print Spooler corrupt

hi there,

having an issue with a W2k3 R2 Terminal Server. If the spooler service is running, the printers & faxes window from control panel hangs. if not, it works fine. (btw list of printers has disappeared)

I can stop and start the spooler service without a problem, but accessing printing options for any of the printers does not work.

I was also having 7022 errors, which were spooler related, but corrected them with: http://support.microsoft.com/kb/319127

Also, the fax service hangs if i try to stop it.

I've replaced the spoolsv.exe file from another server - no change.
I've run sfc /SCANNOW, rebooted - no changed.

let me know what you think.

thanks
Charlie8Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Charlie8Author Commented:
Update:

This is very strage, but:

1. If I reboot windows, with the spooler service set to automatically start (which it does successfully without complaining, i cannot RDP to the server remotely or locally (ie RDP from another box wont work and RDP to localhost/<servername> from the server itself also won't work). I have to restart the spooler service on it, after which i can RDP back and forth just fine, both remotely and locally.

2. If I reboot windows, with the spooler service set to disabled, i can RDP to the server right away.

3. If the spooler service is running, i can't open the "Manage Your Server" window (as well as the "printers & faxes" window form control panel). As soon as I stop the spooler service, this works. (though it could simply be that it's hanging trying to load the printer section)

thanks.
0
sensored2008Commented:
we face  the  same problem  here  last  week but it was solved by setting printers to use different  drivers for the same printer in our  case we switched it from from ps drivers to pcl

our case
1.  they not publishing on AD
2. spooler crashs very often
3. on some printers the printers are not accesibled either gives an error or access denied

the result of the change will be that
all users will be getting drivers need to be updated when trying to printer as soon as policy is applied to their machine

0
KutyiCommented:
Sounds like a driver issue.  I had the same thing last year and discovered it was Dell's Network Monitor software for their printers.  Had to run cleanspl and re-install all the printers, this time only using StaNDARD tcp/ip Ports and not the printer manufacturers port software.

You can download it here if you need to:http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

ChiefITCommented:
You probably ran a utility called CleanSpool. That will remove all of your printers.

The spooler getting constipated is caused by 2003 server having problems with drivers. I was really dissapointed in HP, Lexmark and M$ for not paying more attention to detail.

I found that if you disable bidirectional support and SNMP (Simple Network Management Protocol), usually this gives the spooler an exlax. Bidirectional support will be in the print driver settings, while SNMP will be on the port settings of the Mapped IP port.
0
aherpsCommented:
Sounds like a printer is corruptin the spooler. If you know which printer is causing the corruption - you can remove the printer via the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\[Printer Name]

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\[Printer Name]

Reboot the machine, and you should be able to get into the control panel.


0
Charlie8Author Commented:
Will try all this and post an update.

Keep in mind that I can't see the list of printers. When the spooler service is running, the menu hangs during launch and when it is stopped, the menu opens but is empty.
0
sensored2008Commented:
charlie8, the printer list will not  appear of course if the spooler  keeps crashing, anyways do the  printer driver change i mentioned eariler and ensure your  OS is also fully updated.
0
Charlie8Author Commented:
Thanks guys, eventually had no choice but to trash all printers and reinstall.

I followed these steps:

--

   6.

      open regedit (e.g. click Start, key regedit and press Enter)
   7.

      navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers

        under this key, there will be the keys Version-2 and Version-3 (one or the other of these may be absent - not a problem)

            the sub-keys under these contain the printer driver configuration information

        delete all the sub-keys inside Version-2 and Version-3, but not these keys themselves

    The Microsoft Knowledgebase article at http://support.microsoft.com/default.aspx?scid=kb;en-us;312052 lists some other registry entries to delete, but this is not usually necessary.

   8.

      open a Command Prompt window
   9.

      key the commands
             net stop spooler
             net start spooler
  10.

      open Windows Explorer
  11.

      navigate to %systemroot%\system32\spool\printers\ and delete any files there.  By default, this is where the print spooler stores print files.
  12.

      navigate to %systemroot%\system32\spool\drivers\w32x86 (%systemroot% is usually Windows, but it might be winnt or something else; this is set when the OS is installed).
  13.

      inside w32x86, there will be folders with the names 2 and 3 (one or more of these may be absent - not a problem)
             delete all of the files and sub-folders in each of the 2 and 3 folders, but not the folders themselves
           inside w32x86, there may be other folders with names starting with "hewlett_packard", "hphp" or something else; delete these folders also
  14.

      restart the print spooler (see steps 8 and 9 above)

At this point, the system should be pretty well back to the way it was before any printers were installed.

Some would suggest restarting Windows at this point, but with Windows 2000 and later, this does not seem to be required.

If you have a Lexmark printer, these additional steps may be necessary (thanks to Robert Orleth [MSFT] for providing this information).  The Lexmark printer installation process sometimes installs a service that makes the print spooler service dependent on itself.  If there is a problem with Lexmark service or a Lexmark printer driver (or you removed it using the steps above), the print spooler service may not start (see also http://support.microsoft.com/default.aspx?scid=kb;en-us;324757).  The steps below make the print spooler service only dependent on the Remote Procedure Call (RPC) service (RPCSS), which is normal.  The print spooler service dependencies are stored in the registry at

     HKEY_LOCAL_MACINE\SYSTEM\CurrentControlSet\Services\Spooler\DependOnService

The sc config command at step 16 resets the value of that entry.

  15.

      Open a Command Prompt window
  16.

      key the command
             sc config spooler depend= RPCSS
          (note the space after the = but not before)
  17.

      restart the print spooler (see steps 8 and 9 above)
0
KutyiCommented:
Glad to here you have it working!.....:)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.