2012年8月3日 下午 05:14I'm having an issue with Windows 7 Pro 32bit virtual desktops. The vm's have almost 60 printers installed. The problem I'm having is that randomly when someone tries to print the spooler service hangs up and their printers disappear. The service doesn't actualy crash and stop working, it just hangs up. I've been banging my head against the wall for over a month with no solution. I've rebuilt the vm from scratch twice and it keeps coming back. I'm at a loss as to how to proceed and the client is of course very agitated at the moment. Only thing I can think of at this point is to remove all the printers and add them back on at a time until the issue pops up. However I'd prefere to find a way of isolating which printer is causing this. Any suggestions would be greatly appreciated, thank you.
2012年8月7日 上午 08:06版主
We can clear the print spooler queue and make sure there is nothing suck in the print spooler.
Click start, type cmd in the search bar, right click cmd and run as administrator. Type the following commands and press enter.
net stop spooler
del /F /Q %systemroot%\System32\spool\PRINTERS\*
net start spooler
Meanwhile, you can test the issue in Clean Boot mode and check if there is some conflicts with the printer.
If the issue persists, the installed printer driver may not be corrupted. Reinstall the printer drivers to diagnose the issue.
TechNet Community Support
2012年8月7日 上午 11:59Rebooting the spooler fixes the issue temporarily but it's just a work around. I need to find out what keeps causing it to hang up in the first place. I've tried a clean boot already and that didn't help. The problem with reinstalling print drivers is that I have 60 printers and I don't know which printer may be causing the issue. I've already dropped it down to 3 printers and 3 other print devices such as pdf and fax printers which I can't remove. I'm hoping one of the printers still left isn't causing the issue but I won't know until I give it several days and I see whether or not it locks up. I've checked the print service logs but they never show anything useful. Are there any other log files for the spooler that might tell me why it keeps hanging up?
2012年8月8日 下午 02:16
The virtual desktops. Do they have windows update activated?
If so, look for Definition Update for Windows Defender - KB915597 (Definition 1.131.1547.0)
That right there is the root of all your problems with the print spooler.
Do a system restore to a date before the update was installed and make sure that update is never to be installed again.
It took me the entire summer to figure this out.
I stopped the update using group policy to prevent 2000+ laptops installing this update now when people are coming back from vacation and booting their computers back up
2012年8月9日 下午 03:14I looked but could not find that update or any other Windows Defender updates installed
2012年8月10日 上午 08:26版主
You may update the drivers of those printers which the users use to print or the issue occurs when these printers are working.
TechNet Community Support
- 已編輯 Tracy CaiMicrosoft Contingent Staff, Moderator 2012年8月10日 上午 08:27
2012年8月10日 下午 01:40Since they had 60 printers loading the only way I could think to manage the situation was was to remove as many printers as possible. I was able to get a small test group to only use 3 printers. With just three it has run for 4 days without any issues. I plan on adding in more drives on Monday and see how it goes. I will add a few days every few days until the problem returns and then hopefully I'll be able to determine which printer is causing it.
2012年8月14日 上午 06:26版主
2012年8月14日 上午 11:51After I dropped it down to only 3 printers the issue stopped occuring. I'm adding in a couple printers, waiting a few days, and adding some more. Hopefully by doing this I'll be able to determine which printer/driver is causing the issue.
2012年8月14日 上午 11:58
Are the printers deployed by Group Policy?
Try this on a computer and see what happens.
Log in as Admin
Make sure Windows Defender is active.
Start cmd and nagivate to C:\program files\Windows Defender
Once there type in MpCmdRun.exe -RemoveDefinitions -All and press enter
This will remove all the Windows Defender definitions.
Deactivate Windows defender manually under Settings -->Administrator or use a group policy.
Reboot computer and check the printers.
Some of the definitions "secure" intrusion of a hacker using a network printer to access your computer which results in printspooler crashing/freezing or printers deployed using group policy act wierd /disconnect/refuse connection/error out and what not
Windows Defender should not be used in a domain network. 3rd party Solution should be used (F-secure is an example).
This totally solved all our issued with printspoolers crashing on win 7 machines.
2012年8月14日 下午 05:58Windows Defender has been disabled for a very long time, I ran the command and will see if it helps at all.
Removing the definitions had no effect on the affected desktops.
- 已編輯 Baron164 2012年8月15日 下午 03:45
2012年12月27日 上午 11:30
Did you end up solving the spooler issue?
2012年12月27日 下午 06:50
I had the same symptoms for over a year on a small home wireless network with a networked HP LaserJet P1606dn printer. At seemingly unpredictable times Office 2010 would hang when trying to print, mainly from one particular laptop running Win7 Home Premium 32-bit. A temporary recovery (until next occurrence) was to stop/restart the print spooler service or delete/re-install the printer on that laptop.
Recently I assigned the printer a static IP address and so far have not seen the problem. See Step 6 in Printer does not maintain wireless connection.
Do your problematic printers have dynamic IP addresses? If so, maybe they get reassigned at random times which causes problems for some print drivers. That could be checked by tracking IP addresses for the problematic printers and then looking for a correlation between IP address changes and spooler hangs.
- 已編輯 BlueDragon48 2012年12月27日 下午 06:52
- 已編輯 BlueDragon48 2012年12月27日 下午 06:54
- 已編輯 BlueDragon48 2012年12月27日 下午 07:33
- 已編輯 BlueDragon48 2012年12月27日 下午 07:37
- 已編輯 BlueDragon48 2012年12月27日 下午 07:38
- 已編輯 BlueDragon48 2012年12月27日 下午 07:40
- 已編輯 BlueDragon48 2012年12月27日 下午 07:48
- 已編輯 BlueDragon48 2012年12月27日 下午 07:50
- 已編輯 BlueDragon48 2012年12月27日 下午 08:09
- 已編輯 BlueDragon48 2012年12月27日 下午 09:44
2013年1月21日 下午 02:34No they all have static addresses. My main problem was that I had over 50 printers being loaded. I believe the issue was just simply a conflict of too many printers and/or conflicting print drivers. I was able to convince the management to stop loading 50+ printers for each user and bring it down to a more manageable 5 or so printers based on geographic location.
- 已標示為解答 Baron164 2013年1月21日 下午 02:34