Skip to content

Commit

Permalink
feat: Enable Network Discovery by default (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Apr 26, 2024
1 parent b4cd822 commit 9e4facc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/win10arm64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,11 @@
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
<Description>Turn off Windows Update auto download</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>24</Order>
<CommandLine>netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes</CommandLine>
<Description>Enable Network Discovery and File Sharing</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
Expand Down
7 changes: 6 additions & 1 deletion assets/win11arm64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,16 @@
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>24</Order>
<CommandLine>netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes</CommandLine>
<Description>Enable Network Discovery and File Sharing</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>25</Order>
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
<Description>Disable unsupported hardware notifications</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>25</Order>
<Order>26</Order>
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
<Description>Disable unsupported hardware notifications</Description>
</SynchronousCommand>
Expand Down

0 comments on commit 9e4facc

Please sign in to comment.