Last active
October 3, 2021 12:36
-
-
Save Techlogist/4740f518a8070f871511a39bef9b55f6 to your computer and use it in GitHub Desktop.
Reset the print server spooler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM License: GNU General Public License v2.0 | |
REM Author: Miguel | |
REM Website: www.techlogist.net | |
REM Post: https://techlogist.net/batch/reset-the-print-server-spooler | |
REM Description: This script helps users to reset the print spooler | |
REM OS/Language/Region: Windows/EN-US | |
@echo off | |
REM This script helps users to reset the print spooler | |
title Restart Spooler | |
color f0 | |
mode con:cols=70 lines=10 | |
goto start | |
:start | |
net stop spooler | |
sc config spooler depend= RPCSS | |
del %systemroot%\System32\spool\printers* /Q /F /S | |
net start spooler | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment