Security News Microsoft testing Windows 11 batch file security improvements

Parkinsond

Level 62
Thread author
Verified
Well-known
Dec 6, 2023
5,185
14,803
6,069
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.