mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #49980 from twangboy/lgpo_add_printer_drivers
Add support for AddPrinterDrivers
This commit is contained in:
commit
0069247ddf
1 changed files with 15 additions and 0 deletions
|
@ -1437,6 +1437,21 @@ class _policy_info(object):
|
|||
},
|
||||
'Transform': self.enabled_one_disabled_zero_transform,
|
||||
},
|
||||
'AddPrinterDrivers': {
|
||||
'Policy': 'Devices: Prevent users from installing '
|
||||
'printer drivers',
|
||||
'Settings': self.enabled_one_disabled_zero_strings.keys(),
|
||||
'lgpo_section': self.security_options_gpedit_path,
|
||||
'Registry': {
|
||||
'Hive': 'HKEY_LOCAL_MACHINE',
|
||||
'Path': 'System\\CurrentControlSet\\Control\\'
|
||||
'Print\\Providers\\LanMan Print Services\\'
|
||||
'Servers',
|
||||
'Value': 'AddPrinterDrivers',
|
||||
'Type': 'REG_DWORD',
|
||||
},
|
||||
'Transform': self.enabled_one_disabled_zero_strings_transform,
|
||||
},
|
||||
'AllocateDASD': {
|
||||
'Policy': 'Devices: Allowed to format and eject '
|
||||
'removable media',
|
||||
|
|
Loading…
Add table
Reference in a new issue