* add memory integrity patch
* translate comments to en
This commit is contained in:
parent
48d6bdd37f
commit
f0fbfc6f75
1 changed files with 15 additions and 10 deletions
|
@ -10,30 +10,33 @@ fltmc >nul 2>&1 || (
|
||||||
exit 0
|
exit 0
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Clic droit de Windows 10
|
:: Right click of Windows 10
|
||||||
REG ADD "HKCU\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
|
||||||
|
|
||||||
:: Désactivation de la gamebar
|
:: Disabling the gamebar
|
||||||
REG ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 00000000 /f
|
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 "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 00000000 /f
|
||||||
|
|
||||||
:: Désactivation des widgets
|
:: Disabling widgets
|
||||||
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 00000000 /f
|
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 00000000 /f
|
||||||
|
|
||||||
:: Désactivation de l'hibernation
|
:: Disabling hibernation
|
||||||
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 00000000 /f
|
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 00000000 /f
|
||||||
powercfg /H off
|
powercfg /H off
|
||||||
|
|
||||||
:: Désactivation du service SysMain
|
:: Disabling the SysMain service
|
||||||
sc stop "SysMain" & sc config "SysMain" start=disabled
|
sc stop "SysMain" & sc config "SysMain" start=disabled
|
||||||
|
|
||||||
:: Ajout de la confirmation lors de la mise à la corbeille
|
:: 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 "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ConfirmFileDelete /t REG_DWORD /d 00000001 /f
|
||||||
|
|
||||||
:: Ne créer pas de Zone:Identifier
|
:: 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 "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 00000001 /f
|
||||||
|
|
||||||
:: Télécharges des applications
|
:: 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
|
||||||
|
|
||||||
|
:: Application downloads
|
||||||
winget install -h Mozilla.Firefox
|
winget install -h Mozilla.Firefox
|
||||||
winget install -h 7zip.7zip
|
winget install -h 7zip.7zip
|
||||||
winget install -h Discord.Discord
|
winget install -h Discord.Discord
|
||||||
|
@ -58,11 +61,13 @@ winget install -h Front.scrcpy+
|
||||||
winget install -h Obsidian.Obsidian
|
winget install -h Obsidian.Obsidian
|
||||||
winget install -h KDE.KDEConnect
|
winget install -h KDE.KDEConnect
|
||||||
|
|
||||||
:: Installe WSL
|
:: Install WSL
|
||||||
wsl --install
|
wsl --install
|
||||||
|
|
||||||
:: Installe Spotify
|
:: Install Spotify
|
||||||
powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_on -cache_on -block_update_off -start_spoti"""" | Invoke-Expression"
|
powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_on -cache_on -block_update_off -start_spoti"""" | Invoke-Expression"
|
||||||
|
|
||||||
|
echo Redémarre l'ordintateur
|
||||||
|
|
||||||
pause
|
pause
|
||||||
exit /b
|
exit /b
|
||||||
|
|
Loading…
Reference in a new issue