@Manuel Galdamez
So, after following this message board and following most of what has been done before. E.g preloading drivers, placing DLLs in C:\Windows\System32\spool\drivers\x64\3, or some other changes, only half worked or was inconsistent. I came up with the approach below. I am aware that this will allow the vulnerability, but it will restrict it to a single or chosen print servers, which you can monitor with any desired VS/Network tools. Also make sure that DC have printer server spooler turned off (which you should be doing anyway) and the printer server is NOT facing the outside/externally (which to me would be nuts!) then this way will work for you….
This approach will do the following,
Allow a certain print server to install to non admins. All other print servers or other machines are not allowed to add drivers via non admin accounts.
Allow you to carry on using GPO while you move to a better process like uni print.
No extra settings need to be added or reloaded via Intune/SCCM
Create the following rekey’s in GPP via Computer – Preferences – Windows settings – Registry – DO NOT USE A POLICY for some of the settings EVEN though they are located in the point and print template…..as this will not apply correctly. ALSO MAKE SURE THAT YOU ALSO APPLY IN ORDER AS MENTIONED BELOW 1-9. It’s very important the “RestrictDriverInstallationToAdministrators” is last to be applied. Also just apply it to your Machine OUs and you don’t have to change your existing printer policy.
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value name – Restricted
Value Type – REG_DWORD
Value data - 1
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value name – TrustedServers
Value Type – REG_DWORD
Value data – 1
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value name – ServerList
Value Type – REG_SZ
Value data – YOURPRINTSERVERNAME01@keyman .COM; YOURPRINTSERVERNAME02@keyman .COM
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value name – InForest
Value Type – REG_DWORD
Value data – 1
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value name – NoWarningNoElevationOnInstall
Value Type – REG_DWORD
Value data – 1
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value name – UpdatePromptSettings
Value Type – REG_DWORD
Value data – 1
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value name – PackagePointAndPrintServerList
Value Type – REG_DWORD
Value data – 1
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PackagePointAndPrint\ListofServers
Value name – YOURPRINTSERVERNAME01; YOURPRINTSERVERNAME02
Value Type – REG_SZ
Value data – YOURPRINTSERVERNAME01@keyman .COM; YOURPRINTSERVERNAME02@keyman .COM
Hive - HKEY_LOCAL_MACHINE
Key path - SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
Value name – RestrictDriverInstallationToAdministrators
Value Type – REG_DWORD
Value data – 0