Documentation · Policy appendix
Virus protection and attack surface
Every setting of the “Virus protection and attack surface” package with its effect, value and recommending sources.
since 0.9.8.11
Purpose
This page lists every setting of the “Virus protection and attack surface” package: what it does, which value Setup Foundry sets and who recommends it. It is generated from the catalog and never edited by hand.
37 settings.
Notes
Block Adobe Reader from creating child processes
This DWORD value controls the corresponding Microsoft Defender Antivirus attack surface reduction (ASR) rule. Value data 1 enables the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\7674ba52-37eb-4a4f-a9a1-f0f9a1619a2c = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block Adobe Reader from creating child processes
- Source: Microsoft Learn: Attack surface reduction rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Block all Office applications from creating child processes
This registry value controls the Microsoft Defender attack surface reduction rule identified by d4f940ab-401b-4efc-aadc-ad5f3c50688a. It is a DWORD value, and value data 1 places this individual rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\d4f940ab-401b-4efc-aadc-ad5f3c50688a = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block all Office applications from creating child processes
- Source: Microsoft Learn: Attack surface reduction rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Block executable content from email client and webmail
This DWORD value controls the corresponding Microsoft Defender Antivirus attack surface reduction (ASR) rule. A value of 1 places the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\be9ba2d9-53ea-4cdc-84e5-9b1eeee46550 = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block executable content from email client and webmail
- Source: Microsoft Learn: Attack surface reduction (ASR) rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Block credential stealing from the Windows local security authority subsystem
This registry value controls the attack surface reduction rule that protects the lsass.exe process (Local Security Authority Subsystem Service). It is a DWORD value, and value data 1 enables the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\9e6c4e1f-7d60-472f-ba1a-a39ef669e4b2 = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block credential stealing from the Windows local security authority subsystem
- Source: Microsoft Learn: Attack surface reduction (ASR) rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Boot-Start Driver Initialization Policy
This policy value determines which boot-start drivers Windows initializes after they have been evaluated by an Early Launch Antimalware (ELAM) driver. ELAM runs before other boot-start drivers and classifies each one as Good, Unknown, Bad but Boot Critical, or Bad.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Policies\EarlyLaunch\DriverLoadPolicy = 3 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Boot-Start Driver Initialization Policy
- Source: Microsoft Learn: System Policy CSP – BootStartDriverInitialization
- Recommended by: Windows 11 v25H2 Security Baseline
Configure the 'Block at First Sight' feature
This REG_DWORD value controls the Microsoft Defender Antivirus Block at First Sight feature. Because the value name begins with Disable, its logic is inverted: 0 turns the feature on, whereas 1 turns it off. Consequently, the Enabled state of the associated Group Policy turns on the feature even though it uses the value 0.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Spynet\DisableBlockAtFirstSeen = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Configure the 'Block at First Sight' feature
- Source: Microsoft Learn: ADMX_MicrosoftDefenderAntivirus Policy CSP – DisableBlockAtFirstSeen
- Recommended by: Windows 11 v25H2 Security Baseline
Block Office applications from injecting code into other processes
This registry value controls the attack surface reduction rule identified by 75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84. It is a DWORD value, and a value of 1 places the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\75668c1f-73b5-4cf0-bb93-3ecf5cb7cc84 = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block Office applications from injecting code into other processes
- Source: Microsoft Learn: Attack surface reduction rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Monitor file and program activity on your computer
This machine-wide registry value controls Microsoft Defender Antivirus on-access protection. Defender monitors file and program activity and can inspect files when they are opened, read, written, or modified. This continuous protection complements scheduled and on-demand antivirus scans.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableOnAccessProtection = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Monitor file and program activity on your computer
- Source: Microsoft Learn: Policy CSP – Defender – AllowOnAccessProtection
- Recommended by: Windows 11 v25H2 Security Baseline
Block persistence through WMI event subscription
This registry value controls the corresponding Microsoft Defender Antivirus attack surface reduction (ASR) rule. It is a DWORD value, and value data 1 places the rule in block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\e6db77e5-3df2-4cf1-b95a-636979351e5b = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block persistence through WMI event subscription
- Source: Microsoft Learn: ASR rules reference – Block persistence through WMI event subscription
- Recommended by: Windows 11 v25H2 Security Baseline
Configure monitoring for incoming and outgoing file and program activity
This integer registry value determines which direction of file and program activity Microsoft Defender Antivirus monitors on NTFS volumes as part of real-time protection:
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\RealtimeScanDirection = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Configure monitoring for incoming and outgoing file and program activity
- Source: Microsoft Learn: Defender Policy CSP – RealTimeScanDirection
- Recommended by: Windows 11 v25H2 Security Baseline
Turn off routine remediation
This machine-wide registry value controls whether Microsoft Defender Antivirus automatically takes remediation action on detected threats.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\DisableRoutinelyTakingAction = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Turn off routine remediation
- Source: Microsoft Learn: ADMX_MicrosoftDefenderAntivirus – DisableRoutinelyTakingAction
- Recommended by: Windows 11 v25H2 Security Baseline
Block Win32 API calls from Office macros
This registry value controls the corresponding Microsoft Defender Antivirus attack surface reduction (ASR) rule. DWORD data 1 enables the rule in Block mode. It prevents Visual Basic for Applications (VBA) macros in Microsoft Office from calling Win32 APIs.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\92E97FA1-2EDF-4476-BDD6-9DD0B4DDDC7B = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block Win32 API calls from Office macros
- Source: Microsoft Learn: Attack surface reduction rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Configure real-time protection and Security Intelligence Updates during OOBE
This registry value controls whether Microsoft Defender Antivirus enables real-time protection and Security Intelligence Updates during the Windows Out-of-Box Experience (OOBE).
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\OobeEnableRtpAndSigUpdate = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Configure real-time protection and Security Intelligence Updates during OOBE
- Source: Microsoft Learn: Defender CSP – OobeEnableRtpAndSigUpdate
- Recommended by: Windows 11 v25H2 Security Baseline
Turn off real-time protection
This machine-level Group Policy setting is backed by the DisableRealtimeMonitoring REG_DWORD value. When Microsoft Defender Antivirus is active, a value of 1 turns off its real-time monitoring. Files and active operations are no longer continuously examined by this protection function for known or suspected malicious activity.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableRealtimeMonitoring = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Turn off real-time protection
- Source: Microsoft Learn: Defender Policy CSP – AllowRealtimeMonitoring
- Recommended by: Windows 11 v25H2 Security Baseline
Use advanced protection against ransomware
This DWORD value controls the corresponding Microsoft Defender Antivirus attack surface reduction (ASR) rule. A value of 1 places the rule in block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\c1db55ab-c21a-4637-bb3f-a12568109d35 = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Use advanced protection against ransomware
- Source: Microsoft Learn: Attack surface reduction (ASR) rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Scan all downloaded files and attachments
This value controls whether Microsoft Defender Antivirus scans downloaded files and attachments through IOAV protection. It is a REG_DWORD value with negative logic:
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableIOAVProtection = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Scan all downloaded files and attachments
- Source: Microsoft Learn: Defender Policy CSP – AllowIOAVProtection
- Recommended by: Windows 11 v25H2 Security Baseline
Configure local administrator merge behavior for lists
This machine-level registry value controls whether Microsoft Defender Antivirus combines locally defined list entries with lists managed centrally through Group Policy.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\DisableLocalAdminMerge = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Configure local administrator merge behavior for lists
- Source: Microsoft Learn: ADMX_MicrosoftDefenderAntivirus Policy CSP – DisableLocalAdminMerge
- Recommended by: Windows 11 v25H2 Security Baseline
Block abuse of exploited vulnerable signed drivers (Device)
This machine-wide registry value controls the attack surface reduction rule identified by 56a863a9-875e-4185-98a7-b882c64b5ce5. A DWORD value of 1 places the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\56a863a9-875e-4185-98a7-b882c64b5ce5 = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block abuse of exploited vulnerable signed drivers (Device)
- Source: Microsoft Learn: ASR rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Block Office applications from creating executable content
This registry value controls the corresponding attack surface reduction (ASR) rule in Microsoft Defender Antivirus. A DWORD value of 1 enables the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\3b576869-a4ec-4529-8536-b80a7769e899 = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block Office applications from creating executable content
- Source: Microsoft Learn: Attack surface reduction (ASR) rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Block Office communication application from creating child processes
This registry value controls a Microsoft Defender Antivirus attack surface reduction (ASR) rule. It is a DWORD value, and a value of 1 enables the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\26190899-1602-49e8-8b27-eb1d0a1ce869 = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block Office communication application from creating child processes
- Source: Microsoft Learn: Attack surface reduction rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Configure detection for potentially unwanted applications
This registry value controls how Microsoft Defender Antivirus handles potentially unwanted applications (PUAs). A PUA is not necessarily classified as malware, but it can exhibit undesirable behavior such as displaying unexpected advertising, bundling additional software, evading security products, or adversely affecting device performance and use.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\PUAProtection = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Configure detection for potentially unwanted applications
- Source: Microsoft Learn: Defender Policy CSP – PUAProtection
- Recommended by: Windows 11 v25H2 Security Baseline
Turn on process scanning whenever real-time protection is enabled
This machine policy value controls whether Microsoft Defender Antivirus initiates a process scan when real-time protection is turned on. The scan can detect malware that might have started while real-time protection was off.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableScanOnRealtimeEnable = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Turn on process scanning whenever real-time protection is enabled
- Source: Microsoft Learn: Policy CSP – ADMX_MicrosoftDefenderAntivirus
- Recommended by: Windows 11 v25H2 Security Baseline
Configure Attack Surface Reduction rules
This machine policy sets the operating mode of individual attack surface reduction (ASR) rules. ASR rules are a Microsoft Defender Antivirus feature that detects specific risky behaviors commonly associated with malware and intrusion activity. The behavior covered by each entry is determined by the rule identified by its GUID.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\ExploitGuard_ASR_Rules = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Configure Attack Surface Reduction rules
- Source: Microsoft Learn: Configure ASR rules and exclusions
- Recommended by: Windows 11 v25H2 Security Baseline
Block JavaScript or VBScript from launching downloaded executable content
This registry value controls the corresponding Microsoft Defender Antivirus attack surface reduction (ASR) rule. A DWORD value of 1 enables the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\d3e037e1-3eb8-44c8-a917-57927947596d = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block JavaScript or VBScript from launching downloaded executable content
- Source: Microsoft Learn: ASR rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Turn on script scanning
This value controls script scanning in Microsoft Defender Antivirus. It is a REG_DWORD value whose name uses inverse logic:
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableScriptScanning = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Turn on script scanning
- Source: Microsoft Learn: Defender Policy CSP – AllowScriptScanning
- Recommended by: Windows 11 v25H2 Security Baseline
Configure Windows Defender SmartScreen
This computer policy controls Microsoft Defender SmartScreen’s Application Reputation feature, presented in Windows as “Check apps and files.” Windows evaluates programs obtained from the Internet by using security and reputation information. Before an unrecognized or known-malicious program runs, SmartScreen displays a warning. Programs that do not appear suspicious do not produce a SmartScreen dialog.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System\EnableSmartScreen = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Configure Windows Defender SmartScreen
- Source: Microsoft Learn: Available Microsoft Defender SmartScreen settings
- Recommended by: Windows 11 v25H2 Security Baseline
Block untrusted and unsigned processes that run from USB
This computer-scoped registry value controls the Microsoft Defender ASR rule identified by b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4. A DWORD value of 1 places the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\b2b3f03d-6a65-4f7b-a9c7-1c7ef74a9ba4 = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block untrusted and unsigned processes that run from USB
- Source: Microsoft Learn: Attack surface reduction rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Turn on behavior monitoring
This computer policy controls behavior monitoring in Microsoft Defender Antivirus. Behavior monitoring observes process, file, and service activity in real time. It uses known behavioral patterns and anomaly detection to identify and respond to suspicious activity, including threats that do not match known malware signatures.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableBehaviorMonitoring = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Turn on behavior monitoring
- Source: Microsoft Learn: Behavior monitoring in Microsoft Defender Antivirus
- Recommended by: Windows 11 v25H2 Security Baseline
Block execution of potentially obfuscated scripts
This DWORD value controls the Microsoft Defender attack surface reduction rule identified by 5beb7efe-fd9a-4556-801d-275e5ffc04cc. A value of 1 enables the rule in Block mode.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\5beb7efe-fd9a-4556-801d-275e5ffc04cc = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Block execution of potentially obfuscated scripts
- Source: Microsoft Learn: Attack surface reduction (ASR) rules reference
- Recommended by: Windows 11 v25H2 Security Baseline
Control whether or not exclusions are visible to Local Admins
This REG_DWORD value controls whether local administrators can view the exclusion list enforced by Microsoft Defender Antivirus.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\HideExclusionsFromLocalAdmins = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Control whether or not exclusions are visible to Local Admins
- Source: Microsoft Learn: Defender CSP – HideExclusionsFromLocalAdmins
- Recommended by: Windows 11 v25H2 Security Baseline
Scan removable drives
This value controls whether Microsoft Defender Antivirus includes removable media, such as USB flash drives, in full scans. It is a REG_DWORD value:
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Scan\DisableRemovableDriveScanning = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Scan removable drives
- Source: Microsoft Learn: Defender Policy CSP – AllowFullScanRemovableDriveScanning
- Recommended by: Windows 11 v25H2 Security Baseline
Prevent users and apps from accessing dangerous websites
This policy value controls Microsoft Defender Antivirus network protection at the device level. Network protection evaluates outbound connection destinations by domain or host reputation and can prevent supported browsers and other applications from accessing malicious or suspicious destinations. Examples include phishing sites, sources of malicious downloads, exploit-hosting sites, and technical-support scam sites.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection\EnableNetworkProtection = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Prevent users and apps from accessing dangerous websites
- Source: Microsoft Learn: Defender Policy CSP – EnableNetworkProtection
- Recommended by: Windows 11 v25H2 Security Baseline · Microsoft Learn
Configure Watson events
This machine-level registry value controls whether Microsoft Defender Antivirus sends Watson events to Microsoft. These are product diagnostic or error-reporting events.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Reporting\DisableGenericRePorts = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Configure Watson events
- Source: Microsoft Learn: ADMX_MicrosoftDefenderAntivirus Policy CSP
- Recommended by: Setup Foundry
Disable infection reporting by the Windows Malicious Software Removal Tool
The DontReportInfectionInformation value is a REG_DWORD. When its value data is 1, it disables the infection-reporting component of the Windows Malicious Software Removal Tool (MSRT). The tool consequently does not report infection information to Microsoft.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\MRT\DontReportInfectionInformation = 1 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Disable infection reporting by the Windows Malicious Software Removal Tool
- Source: Microsoft Learn: Manage connections from Windows operating system components to Microsoft services
- Recommended by: Setup Foundry
Always install with elevated privileges
This policy directs Windows Installer to install Windows Installer packages with elevated system privileges. It consequently allows non-administrative users to install packages that need to modify protected directories or registry keys.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\AlwaysInstallElevated = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Always install with elevated privileges
- Source: Microsoft Learn: AlwaysInstallElevated
- Recommended by: Windows 11 v25H2 Security Baseline
Allow user control over installs
This per-machine REG_DWORD value controls which public Windows Installer properties a non-administrative user can influence during a managed installation running with elevated privileges.
- Technical:
- Policy:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\EnableUserControl = 0 (REG_DWORD)
- Policy:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Allow user control over installs
- Source: Microsoft Learn: EnableUserControl
- Recommended by: Windows 11 v25H2 Security Baseline
Remote WSH
Remote WSH allows a local Windows script to be executed on another computer through the WshController and WshRemote objects. It uses DCOM to transfer and control the script, which is then run by Windows Script Host on the target computer.
- Technical:
- Registry value:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Settings\Remote = 0 (REG_DWORD)
- Registry value:
- Switch in the app: Policies › Virus protection and attack surface
- In detail: Remote WSH
- Source: Microsoft Learn: Windows Script Host 5.6 Boasts Windows XP Integration, Security, New Object Model
- Recommended by: BSI SiSyPHuS Win10, Arbeitspaket 11: Konfigurationsempfehlungen zur Härtung von Windows 10 mit Bordmitteln, Abschnitt 5.5.2.3