mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 20:25:49 +00:00
feat: automatically execute /storage/shared/FirstLogonCommands/install.bat
This commit is contained in:
parent
80ae80ae10
commit
57704f2fc0
2 changed files with 18 additions and 0 deletions
|
|
@ -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 %v in (A B D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist "%v:\FirstLogonCommands\install.bat" "%v:\FirstLogonCommands\install.bat"</CommandLine>
|
||||
<Description>Execute FirstLogonCommands\install.bat</Description>
|
||||
</SynchronousCommand>
|
||||
</FirstLogonCommands>
|
||||
</component>
|
||||
</settings>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue