mirror of
https://github.com/dockur/windows.git
synced 2024-06-08 17:55:22 +02:00
feat: automatically execute bat scripts in the host.lan/Data/FirstLogonCommands
This commit is contained in:
parent
80ae80ae10
commit
d0a0c65a59
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user