win7系统在添加打印机的时候提示打印后台程序没有运行。一般正常来说就是在服务里面启动打印后台程序就可以了。
首先同时点击Win键和R键,接着就会打开运行界面。
在运行界面中输入services.msc命令。
输入命令后点击确定,就会打开服务界面,在服务界面找到print spooler服务
在服务界面选择print spooler鼠标左键双击,进入服务属性界面。
print spooler属性界面的启动类型更改为自动,点击下面的启动按钮,print spooler服务就会被成功启动了。
如果我们在服务界面找不到print spooler这项服务怎么办呢。这个时候我们就吧下面的代码保存为后缀为reg格式的文件,导入注册表就可以了。下面的代码为win7旗舰版的。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Spooler]
DisplayName=@%systemroot%\\system32\\spoolsv.exe,-1
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,53,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
Description=@%systemroot%\\system32\\spoolsv.exe,-2
ObjectName=LocalSystem
ErrorControl=dword:00000001
Start=dword:00000002
Type=dword:00000110
DependOnService=hex(7):52,00,50,00,43,00,53,00,53,00,00,00,68,00,74,00,74,00,\
70,00,00,00,00,00
ServiceSidType=dword:00000001
RequiredPrivileges=hex(7):53,00,65,00,54,00,63,00,62,00,50,00,72,00,69,00,76,\
00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,\
72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,\
00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,\
72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,\
00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,\
69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,\
00,69,00,67,00,6e,00,50,00,72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,\
6b,00,65,00,6e,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,\
00,53,00,65,00,4c,00,6f,00,61,00,64,00,44,00,72,00,69,00,76,00,65,00,72,00,\
50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
FailureActions=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
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
代码必须服务完整。保存好后的文件图标应该是这样的。
里面的内容核对一下一下图片的文本。
双击刚刚保存的文件,导入注册表,然后进入服务里面就可以找到print spooler这项服务了。到此就可以按前面的步骤进行启动print spooler服务。
本文由梁桂钊于2023-08-24发表在梁桂钊的博客,如有疑问,请联系我们。
本文链接:https://720ui.com/8845.html