Skip to content

Commit

Permalink
Move commands to the XML file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Herranz Ramírez committed Jan 22, 2025
1 parent 9b6c525 commit d87857f
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions data/wsl/Autounattend_Arm64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,22 @@
<Order>58</Order>
<Path>powershell.exe Set-ItemProperty -Path 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Microsoft.SkyDrive.Desktop\' -Name Enabled -Value 0</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>59</Order>
<Path>powershell.exe wmic UserAccount set PasswordExpires=False</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>60</Order>
<Path>%windir%\System32\reg.exe ADD HKLM\Software\Policies\Microsoft\Windows /v Explorer</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>61</Order>
<Path>%windir%\System32\reg.exe ADD HKLM\Software\Policies\Microsoft\Windows\Explorer /v DisableNotificationCenter /t REG_DWORD /d 1</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>62</Order>
<Path>%windir%\System32\reg.exe ADD HKLM\Software\Microsoft\Windows\CurrentVersion\PushNotifications /v ToastEnabled /t REG_DWORD /d 0</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
Expand Down
16 changes: 16 additions & 0 deletions data/wsl/Autounattend_BIOS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,22 @@
<Order>58</Order>
<Path>powershell.exe Set-ItemProperty -Path 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Microsoft.SkyDrive.Desktop\' -Name Enabled -Value 0</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>59</Order>
<Path>powershell.exe wmic UserAccount set PasswordExpires=False</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>60</Order>
<Path>%windir%\System32\reg.exe ADD HKLM\Software\Policies\Microsoft\Windows /v Explorer</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>61</Order>
<Path>%windir%\System32\reg.exe ADD HKLM\Software\Policies\Microsoft\Windows\Explorer /v DisableNotificationCenter /t REG_DWORD /d 1</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>62</Order>
<Path>%windir%\System32\reg.exe ADD HKLM\Software\Microsoft\Windows\CurrentVersion\PushNotifications /v ToastEnabled /t REG_DWORD /d 0</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
Expand Down
Binary file modified data/wsl/autounattend_arm64.iso
Binary file not shown.
Binary file modified data/wsl/autounattend_bios.iso
Binary file not shown.

0 comments on commit d87857f

Please sign in to comment.