Microsoft testing Windows 11 batch file security improvements
Source: Bleeping Computer
Microsoft is rolling out new Windows 11 Insider Preview builds that improve security and performance during batch‑file or CMD‑script execution.
Batch‑file security improvements
IT administrators can now enable a more secure processing mode that prevents batch files from being modified while they run. This is done by adding the LockBatchFilesInUse registry value under
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor
Policy authors can also enable this mode using the LockBatchFilesWhenInUse application‑manifest control.
“We are giving administrators and Application Control for Business policy authors additional controls over the processing of batch files and CMD scripts. Starting with this release, administrators may enable a more secure mode for processing batch files that ensures they do not change during execution,” — Windows Insider team.
“This enhances the performance and security of batch file processing when code integrity is enabled, as signature validation will only be required to be performed a single time, instead of per statement executed in the batch file.”
Shared audio enhancements
The latest Insider builds also improve the Shared audio feature that was introduced in October 2025. The update adds individual volume sliders for each listener and device, and a new taskbar indicator appears during active sharing sessions to provide a visual reminder and a one‑click shortcut to sharing settings.

Shared Audio volume sliders (Microsoft)
The compatible device lineup has expanded to include more Bluetooth LE Audio accessories, such as:
- Samsung Galaxy Buds 4 and Buds 4 Pro
- Sony WF‑1000XM6
- Xbox Wireless Headset
These capabilities are rolling out to Windows Insiders in the Beta and Dev channels who have installed:
- Windows 11 Preview Build 26220.7934 (KB5077242) – Beta channel
- Windows 11 Preview Build 26300.7939 (KB5077243) – Dev channel