-- Check Print Server Registry Fix
SELECT DISTINCT
'Check Registry Fix' Test, CAST(GROUP_CONCAT(name, ' '||CHAR(10)) AS TEXT) Result,
CASE
WHEN name = 'RestrictDriverInstallationToAdministrators' THEN 'Fix Applied'
Else 'Fix Not Applied'
END AS Status,
path FROM registry WHERE key = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint';