Closed rsoyxihnark closed 1 year ago
samples for trial. I tested below and none of them works btw.
DISM /online /disable-feature /featurename:PrintandDocumentServices DISM /online /disable-feature /featurename:InternetPrintingClient
Disable-WindowsOptionalFeature -Online -FeatureName PrintandDocumentServices Disable-WindowsOptionalFeature -Online -FeatureName InternetPrintingClient
Remove-WindowsCapability -online -name PrintandDocumentServices Remove-WindowsCapability -online -name InternetPrintingClient
some additions to ABS
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers" /v "DisableWebPrinting" /t REG_DWORD /d "1" /f reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows NT\Printers" /v "DisableHTTPPrinting" /t REG_DWORD /d "1" /f
we can use:
Dism /online /Get-Features
it's Printing-Foundation-InternetPrinting-Client
DISM /online /disable-feature /featurename:Printing-Foundation-InternetPrinting-Client
DISM /online /disable-feature /featurename:Printing-Foundation-Features