Restart print spooler windows 7 dos




















If this is ran on a machine on our domain without elevating it to admin, it deletes all desktop icons. I'm at a loss as to how or why?

Any advice would be gratefully appreciated as it's caused a slightly major problem this morning and I'm in need of an explanation. The problem is that your commands aren't being combined as you intend. Everything after del is being deleted -- most notably the line just before net start spooler which contains a spurious asterisk. If you want multiple commands to be issued as a result of a matched if condition, use parentheses and new lines. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Batch file for restarting print spooler deletes desktop icons, anyone? Ask Question. Asked 8 years, 10 months ago.

If any of the dependent services are missing or cannot be started, try uninstalling all installed printer drivers and then reinstalling them. To uninstall drivers, 1. Select a program, and then click Uninstall. Some programs include the option to change or repair the program in addition to uninstalling it, but many simply offer the option to uninstall.

To change a program, click Change or Repair. If you're prompted for an administrator password or confirmation, type the password or provide confirmation. SFC tool scans system files and replaces incorrect versions of the system files by using the correct versions. To run the System File Checker tool, follow these steps: 1.

Click Start, and then type cmd in the Start Search box. Right-click cmd in the Programs list, and then click Run as administrator. If you are prompted for an administrator password or confirmation, type your password or click Continue 3. Gokul — Microsoft Support. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site.

Thai Pepper. View this "Best Answer" in the replies below ». Johnson This person is a verified professional. Verify your account to enable IT peers to see that you are a professional.

Dan50 Jun 28, at UTC. Also update the print drivers if you haven't already. Wi-fi issue? Does you have the same problem if the printer connected to a switch? Gavin Jun 28, at UTC. After disabling it in the printer settings the problem was gone.



0コメント

  • 1000 / 1000