feat: automatically execute bat scripts in the host.lan/Data/FirstLogonCommands

This commit is contained in:
hellodword 2024-04-27 14:04:43 +00:00
parent 80ae80ae10
commit d0a0c65a59
No known key found for this signature in database
GPG Key ID: 094D44EBA7DBAE80

View File

@ -487,6 +487,11 @@
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
<Description>Disable unsupported hardware notifications</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>201</Order>
<CommandLine>cmd.exe /c "for %i in (\\host.lan\Data\FirstLogonCommands\*.bat) do %i"</CommandLine>
<Description>Execute all bat files in the shared directory</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>