Documentation · Policy appendix
Devices and removable media
Every setting of the “Devices and removable media” package with its effect, value and recommending sources.
since 0.9.8.11
Purpose
This page lists every setting of the “Devices and removable media” package: what it does, which value Setup Foundry sets and who recommends it. It is generated from the catalog and never edited by hand.
9 settings.
Notes
Set the default behavior for AutoRun
This policy controls how Windows handles AutoRun commands. These commands are usually stored in an autorun.inf file on the media and can launch an installer or another application.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoAutorun = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Set the default behavior for AutoRun
- Source: Microsoft Learn: Autoplay Policy CSP – SetDefaultAutoRunBehavior
- Recommended by: Windows 11 v25H2 Security Baseline
Deny write access to removable drives not protected by BitLocker
This computer policy makes write access to a removable data drive dependent on the drive's BitLocker protection status.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\FVE\RDVDenyCrossOrg = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Deny write access to removable drives not protected by BitLocker
- Source: Microsoft Learn: Configure BitLocker – Deny write access to removable drives not protected by BitLocker
- Recommended by: Windows 11 v25H2 Security Baseline
Limits print driver installation to Administrators
This REG_DWORD value controls whether non-administrators can install or update print drivers through Point and Print.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint\RestrictDriverInstallationToAdministrators = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Limits print driver installation to Administrators
- Source: Microsoft Learn: Printers Policy CSP – RestrictDriverInstallationToAdministrators
- Recommended by: Windows 11 v25H2 Security Baseline
Prevent installation of devices using drivers that match these device setup classes
This computer policy prevents Windows from installing or updating driver packages whose device setup class GUID appears in the deny list. A device setup class groups devices that Windows installs and configures in a similar manner. The restriction can therefore cover an entire class of devices rather than one model or individual device instance.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClassesRetroactive = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Prevent installation of devices using drivers that match these device setup classes
- Source: Microsoft Learn: DeviceInstallation Policy CSP – Prevent installation of matching device setup classes
- Recommended by: Windows 11 v25H2 Security Baseline
Prevent installation of devices using drivers that match these device setup classes
This computer policy prevents Windows from installing or updating driver packages whose device setup class GUID appears in the deny list. A device setup class groups devices that Windows installs and configures in a similar manner. The restriction can therefore cover an entire class of devices rather than one model or individual device instance.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Prevent installation of devices using drivers that match these device setup classes
- Source: Microsoft Learn: DeviceInstallation Policy CSP – Prevent installation of matching device setup classes
- Recommended by: Windows 11 v25H2 Security Baseline
Prevent installation of devices using drivers that match these device setup classes
This computer policy prevents Windows from installing or updating driver packages whose device setup class GUID appears in the deny list. A device setup class groups devices that Windows installs and configures in a similar manner. The restriction can therefore cover an entire class of devices rather than one model or individual device instance.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceClasses\1 = {d48179be-ec20-11d1-b6b8-00c04fa372a7} (REG_SZ)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Prevent installation of devices using drivers that match these device setup classes
- Source: Microsoft Learn: DeviceInstallation Policy CSP – Prevent installation of matching device setup classes
- Recommended by: Windows 11 v25H2 Security Baseline
Manage processing of Queue-specific files
This registry value controls which queue-specific files Windows processes when installing a print queue or a connection to a shared printer. A vendor-supplied installation component can associate such files with a particular queue. Clients connecting to the print server download the files that the policy permits.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\CopyFilesPolicy = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Manage processing of Queue-specific files
- Source: Microsoft Learn: Printers Policy CSP — ConfigureCopyFilesPolicy
- Recommended by: Windows 11 v25H2 Security Baseline
Configure Redirection Guard
This setting controls Redirection Guard for the Windows print spooler. The mitigation prevents spooler file operations from being redirected to other paths through untrusted file-system redirections.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\RedirectionGuardPolicy = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Configure Redirection Guard
- Source: Microsoft Learn: Printers Policy CSP – ConfigureRedirectionGuardPolicy
- Recommended by: Windows 11 v25H2 Security Baseline
Point and Print Restrictions
This computer policy controls Point and Print connections to shared network printers that use non-package-aware print drivers. It can restrict the print servers from which driver components may be obtained and determine which security prompts appear when a driver is installed for a new connection or updated for an existing connection.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint\NoWarningNoElevationOnInstall = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Devices and removable media
- In detail: Point and Print Restrictions
- Source: Microsoft Learn: Printers Policy CSP – PointAndPrintRestrictions
- Recommended by: Setup Foundry