3del_print.reg
2re_print.reg
sc stop "Spooler"
sc config "Spooler" start= disabled
Dism /online /Disable-Feature /FeatureName:Printing-XPSServices-Features /Remove
Dism /online /Disable-Feature /FeatureName:Printing-Foundation-Features /Remove
Dism /online /Disable-Feature /FeatureName:WorkFolders-Client /Remove
프린터 삭제 복구
Dism /online /Disable-Feature /FeatureName:WorkFolders-Client /Remove
공용 클라우드 삭제 입니다 참고
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\Internet Print Provider]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services\PortNames]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services\Servers]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Local Port]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Microsoft Shared Fax Monitor]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\USB Monitor]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\WSD Port]
[-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\WSD Port\OfflinePorts]
;프린터 드라이브 삭제
echo === 윈도우10 기본 프린터 삭제 레지스트 ==
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\Internet Print Provider" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services\PortNames" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services\Servers" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Local Port" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Microsoft Shared Fax Monitor" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\USB Monitor" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\WSD Port" /f
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\WSD Port\OfflinePorts" /f
echo Dism /online /Disable-Feature /FeatureName:Printing-XPSServices-Features /Removeecho Dism /online /Disable-Feature /FeatureName:Printing-Foundation-Features /Remove
echo Dism /online /Disable-Feature /FeatureName:WorkFolders-Client /Remove
Dism /online /Enable-Feature /FeatureName:Printing-XPSServices-FeaturesDism /online /Enable-Feature /FeatureName:Printing-Foundation-Features
Dism /online /Enable-Feature /FeatureName:WorkFolders-Client
복구
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Local Port]
"Driver"="localspl.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Microsoft Shared Fax Monitor]
"Driver"="FXSMON.DLL"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port]
"Driver"="tcpmon.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\Standard TCP/IP Port\Ports]
"StatusUpdateEnabled"=dword:00000001
"StatusUpdateInterval"=dword:0000000a
"LprAckTimeout"=dword:000000b4
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\USB Monitor]
"Driver"="usbmon.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\WSD Port]
"Driver"="WSDMon.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Monitors\WSD Port\OfflinePorts]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers]
"EventLog"=dword:00000003
"RetryPopup"=dword:00000000
"RestartJobOnPoolEnabled"=dword:00000001
"NetPopup"=dword:00000001
"NetPopupToComputer"=dword:00000000
"RestartJobOnPoolError"=dword:00000258
"order"=hex(7):4c,00,61,00,6e,00,4d,00,61,00,6e,00,20,00,50,00,72,00,69,00,6e,\
00,74,00,20,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00,49,00,\
6e,00,74,00,65,00,72,00,6e,00,65,00,74,00,20,00,50,00,72,00,69,00,6e,00,74,\
00,20,00,50,00,72,00,6f,00,76,00,69,00,64,00,65,00,72,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\Internet Print Provider]
"DisplayName"="HTTP Print Services"
"Name"="inetpp.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services]
"Name"="win32spl.dll"
"DisplayName"="LanMan Print Services"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services\PortNames]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Providers\LanMan Print Services\Servers]
"AddPrinterDrivers"=dword:00000000
;프린터 복구
첫댓글 echo 프린터 중지
sc stop "Spooler"
sc config "Spooler" start= disabled
echo 작동
sc start "Spooler"
sc config "Spooler" start= auto