Microsoft testing Windows 11 batch file security improvements

Parkinsond

Level 63
Thread author
Verified
Top Poster
Well-known
Dec 6, 2023
5,040
15,162
6,169
Microsoft is rolling out new Windows 11 Insider Preview builds that improve security and performance during batch file or CMD script execution.

As Microsoft explained today, IT administrators can now enable a more secure processing mode that prevents batch files from being modified while they run 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.

This change is designed to boost performance and security in enterprise environments where admins rely heavily on scripted workflows.