From b57b81f6a9f0f544bd18b17cd6ea55524afc6784 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 17 Apr 2024 16:30:56 +0200 Subject: [PATCH] Add optionnal feature (#32) --- windows11.bat | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/windows11.bat b/windows11.bat index fe0dd09..16ce478 100644 --- a/windows11.bat +++ b/windows11.bat @@ -82,6 +82,11 @@ REG ADD "HKCU\Software\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWind REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v AutoCheckSelect /t REG_DWORD /d 0 /f +:: === Install optional features == +PowerShell -Command "" ^ + "Get-WindowsCapability -Online -Name 'App.WirelessDisplay.Connect*' | Add-WindowsCapability -Online" + + :: === WinGet == :: Auto accept ToT ECHO Y | winget list >NUL