diff --git a/W10Privacy.ini b/W10Privacy.ini index 641803e..3086fcd 100755 --- a/W10Privacy.ini +++ b/W10Privacy.ini @@ -6,11 +6,11 @@ _kundenzufriedenheit=1 _benutzeraktivitaeten=1 _schreibverhalten=1 _sprachliste=1 -_positionserkennung=1 -_positionserkennung_benutzer=0 +_positionserkennung=0 +_positionserkennung_benutzer=1 _spracherkennung=1 _feedback=1 -_diagnose=0 +_diagnose=1 _diagnosedaten_verwenden=1 _startmenu_vorschlaege=1 _kamera_sperrbildschirm=1 @@ -202,7 +202,7 @@ _edge_shoppingassistant_user=1 _edge_localproviders=0 _edge_localproviders_user=1 _edge_prelaunch=1 -_edge_startupboost=0 +_edge_startupboost=1 _edge_tab_preloader=1 _edge_hubssidebar=1 _edge_follow=0 @@ -250,7 +250,7 @@ _biometrische_anmeldung=1 _energiesparen=1 _ruhezustand=1 _treiberinstallation=0 -_superfetch=0 +_superfetch=1 _statusmeldungen=1 _kompatibilitaet=0 _shutdown_apps=1 diff --git a/windows11.bat b/windows11.bat index fae21d8..8b84126 100644 --- a/windows11.bat +++ b/windows11.bat @@ -22,42 +22,42 @@ fltmc >NUL 2>&1 || ( :: Executed as admin user :: === Right click of Windows 10 == -REG ADD "HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve +REG ADD "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve :: === Disabling widgets == -REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 00000000 /f +REG ADD "HKLM\Software\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 0 /f :: === Disabling hibernation (prevents computer to really shutdown) == -REG ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 00000000 /f +REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 0 /f powercfg /H off :: === Disabling the SysMain service (preload some apps in memory) == sc stop "SysMain" & sc config "SysMain" start=disabled :: === Added confirmation when trashing == -REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ConfirmFileDelete /t REG_DWORD /d 00000001 /f +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ConfirmFileDelete /t REG_DWORD /d 1 /f :: === Don't create a Zone:Identify == -REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 00000001 /f +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 1 /f :: === Disables memory integrity == :: see https://support.microsoft.com/en-us/windows/options-to-optimize-gaming-performance-in-windows-11-a255f612-2949-4373-a566-ff6f3f474613 -REG ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 00000000 /f +REG ADD "HKLM\System\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 0 /f :: === Disables sticky keys == -REG ADD "HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys" /v Flags /t REG_SZ /d 506 /f +REG ADD "HKCU\Control Panel\Accessibility\StickyKeys" /v Flags /t REG_SZ /d 506 /f :: === Inverts the default shortcuts for changing input language and keyboard layout == -REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Hotkey" /t REG_SZ /d 1 /f -REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_SZ /d 2 /f +REG ADD "HKCU\Keyboard Layout\toggle" /v "Hotkey" /t REG_SZ /d 1 /f +REG ADD "HKCU\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_SZ /d 2 /f :: === Disable Game Bar == -REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 00000000 /f -REG ADD "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 00000000 /f +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 0 /f +REG ADD "HKCU\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 0 /f :: === Edge tweaks == -REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" /v HubsSidebarEnabled /t REG_DWORD /d 00000000 /f -REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" /v ShowRecommendationsEnabled /t REG_DWORD /d 00000000 /f +REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v HubsSidebarEnabled /t REG_DWORD /d 0 /f +REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v ShowRecommendationsEnabled /t REG_DWORD /d 0 /f :: === WinGet == :: Auto accept ToT @@ -87,7 +87,7 @@ for %%i in (!net_libs!) do ( ) :: Java dev kits -SET ^"java_jdk=EclipseAdoptium.Temurin.17.JDK EclipseAdoptium.Temurin.8.JDK"^ +SET ^"java_jdk=EclipseAdoptium.Temurin.17.JDK EclipseAdoptium.Temurin.8.JDK" for %%i in (!java_libs!) do ( !pmi! %%i @@ -100,13 +100,19 @@ SET ^"apps=Discord.Discord Mozilla.Firefox 7zip.7zip Valve.Steam Parsec.Parsec ^ ONLYOFFICE.DesktopEditors HeroicGamesLauncher.HeroicGamesLauncher ^ OBSProject.OBSStudio Xournal++.Xournal++ Microsoft.PowerToys ^ OpenWhisperSystems.Signal HandBrake.HandBrake Front.scrcpy+ ^ - KDE.KDEConnect PrismLauncher.PrismLauncher Microsoft.PowerShell ^ - RiotGames.LeagueOfLegends.EUW RiotGames.Valorant.EU" + KDE.KDEConnect PrismLauncher.PrismLauncher Microsoft.PowerShell" for %%i in (!apps!) do ( !pmi! %%i ) +:: Games +SET ^"games=Peppy.Osu! RiotGames.LeagueOfLegends.EUW RiotGames.Valorant.EU" + +for %%i in (!games!) do ( + !pmi! %%i +) + :: Install Vencord TASKKILL /im Discord.exe /F PowerShell -Command "$link = 'https://github.com/Vencord/Installer/releases/latest/download/VencordInstallerCli.exe';" ^ @@ -123,7 +129,13 @@ wsl --unregister Ubuntu :: Install Geek Uninstaller PowerShell -Command "$archive = '%TEMP%\geek.zip';" ^ "Invoke-WebRequest -Uri https://geekuninstaller.com/geek.zip -OutFile $archive;" ^ - "Expand-Archive -Path $archive -DestinationPath $env:HOMEPATH\Documents\Local" + "Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\Geek Uninstaller';" ^ + "$WshShell = New-Object -comObject WScript.Shell;" ^ + "$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Geek Uninstaller.lnk');" ^ + "$Shortcut.TargetPath = '%ProgramFiles%\Geek Uninstaller\geek.exe';" ^ + "$Shortcut.Save()" +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v DisplayName /t REG_SZ /d "Geek Uninstaller" +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\Geek Uninstaller" :: === Firefox configuration == "%ProgramFiles%\Mozilla Firefox\firefox.exe" @@ -176,6 +188,8 @@ PowerShell -Command "$WshShell = New-Object -comObject WScript.Shell;" ^ "$Shortcut.TargetPath = '%ProgramFiles%\OpenTabletDriver\OpenTabletDriver.UX.Wpf.exe';" ^ "$Shortcut.WorkingDirectory = '%ProgramFiles%\OpenTabletDriver';" ^ "$Shortcut.Save()" +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenTabletDriver" /f /v DisplayName /t REG_SZ /d "OpenTabletDriver" +REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenTabletDriver" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\OpenTabletDriver" :: WindowsInk PowerShell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/vmulti-bin/releases/download/v1.0/Driver.zip -OutFile '%TEMP%\Driver-VMulti.zip'"