firewall rule

This commit is contained in:
Mylloon 2024-10-23 22:53:23 +02:00
parent 6c6b306023
commit 7aea17a9c6
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -137,6 +137,11 @@ REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v St
REG ADD "HKLM\System\CurrentControlSet\Control\GraphicsDrivers" /v HwSchMode /t REG_DWORD /d 1 /f REG ADD "HKLM\System\CurrentControlSet\Control\GraphicsDrivers" /v HwSchMode /t REG_DWORD /d 1 /f
:: === Firewall rules ==
:: Disable Edge updates
netsh advfirewall firewall add rule name="Disable Microsoft Edge automatic updates" dir=out program="%ProgramFiles(x86)%\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" action=block
:: === Install optional features == :: === Install optional features ==
PowerShell -Command "" ^ PowerShell -Command "" ^
"Get-WindowsCapability -Online -Name 'App.WirelessDisplay.Connect*' | Add-WindowsCapability -Online" "Get-WindowsCapability -Online -Name 'App.WirelessDisplay.Connect*' | Add-WindowsCapability -Online"