您的位置:首页 > 理论基础 > 计算机网络

添加网络打印机时,无法添加,服务里面没有Print Spooler

2016-04-06 16:44 579 查看
win7 64位系统,刚安装没几天,添加网络打印机时,无法添加,服务里面没有Print Spooler

把下面双横线之间的代码复制到记事本,存储为*.reg,然后双击运行,重启电脑即可。(360会提示阻止,点击允许运行)



==============================================================================

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSpooler]

"DependOnService"=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,00,00

"Description"="将文件加载到内存中以便迟后打印。"

"DisplayName"="Print Spooler"

"ErrorControl"=dword:00000001

"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,e8,47, 0c,

00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00

"Group"="SpoolerGroup"

"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,

74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,

00,70,00,6f,00,6f,00,6c,00,73,00,76,00,2e,00,65,00,78,00,65,00,00,00

"ObjectName"="LocalSystem"

"Type"=dword:00000110

"Start"=dword:00000002

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSpoolerPerformance]

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSpoolerParameters]

"Close"="PerfClose"

"Collect"="PerfCollect"

"Collect Timeout"=dword:000007d0

"Library"="winspool.drv"

"Object List"="1450"

"Open"="PerfOpen"

"Open Timeout"=dword:00000fa0

"WbemAdapFileSignature"=hex:b6,69,32,f1,cc,60,91,0e,38,f9,a0,87,63,c5,0b,d8

"WbemAdapFileTime"=hex:60,a8,de,cd,5a,2f,c4,01

"WbemAdapFileSize"=dword:00020200

"WbemAdapStatus"=dword:00000000

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSpoolerSecurity]

"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,

00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,

00,00,02,00,60,00,04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,

05,0b,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,

23,02,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,

02,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,

00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSpoolerEnum]

"0"="Root\LEGACY_SPOOLER\0000"

"Count"=dword:00000001

"NextInstance"=dword:00000001

===============================================================================

第二种方法:

运行:sc create Spooler binPath= "c:\windows\system32\spoolsv.exe"  DisplayName= "Print Spooler"    start= auto

然后去服务中启动Print Spooler,成功了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: