@ECHO off :: Start as administrator fltmc >nul 2>&1 || ( echo Vous devez lancer le programme en tant qu'administrateur. PowerShell Start -Verb RunAs '%0' 2> nul || ( echo Clic droit, Exécuter en tant qu'administrateur pause & exit 1 ) exit 0 ) :: Clic droit de Windows 10 REG ADD "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve :: Désactivation de la gamebar 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 :: Désactivation des widgets REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 00000000 /f :: Désactivation de l'hibernation REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 00000000 /f powercfg /H off :: Désactivation du service SysMain sc stop "SysMain" & sc config "SysMain" start=disabled :: Ajout de la confirmation lors de la mise à la corbeille 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 REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 00000001 /f :: Télécharges des applications winget install -h Mozilla.Firefox winget install -h 7zip.7zip winget install -h Discord.Discord winget install -h Valve.Steam winget install -h voidtools.Everything.Lite winget install -h VideoLAN.VLC winget install -h File-New-Project.EarTrumpet winget install -h EclipseAdoptium.Temurin.17.JDK winget install -h Microsoft.VisualStudioCode winget install -h GIMP.GIMP winget install -h DuongDieuPhap.ImageGlass winget install -h ONLYOFFICE.DesktopEditors winget install -h PolyMC.PolyMC winget install -h RiotGames.LeagueOfLegends.EUW winget install -h RiotGames.Valorant.EU winget install -h OBSProject.OBSStudio winget install -h Parsec.Parsec :: Installe WSL wsl --install :: Installe 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" pause exit /b