I want to create a batch file that will create a value set to 0 in the registry. This is because of the print nightmare issue so I can do this in several computers in the business...
Location: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
DWORD (32 bit) value RpcAuthnLevelPrivacyEnabled
Value data 0
Thanks in advance for any help.
CodePudding user response:
This should do it:
REG ADD "HKLM\System\CurrentControlSet\Control\Print" /v RpcAuthnLevelPrivacyEnabled /t REG_DWORD /d 0 /f