Compare commits

..

2 commits

Author SHA1 Message Date
ee0d731309
update with the new w11 script 2022-10-17 21:16:38 +02:00
8645526629
uniformization of the comments 2022-10-17 21:16:25 +02:00
2 changed files with 17 additions and 22 deletions

View file

@ -2,15 +2,8 @@
> Pour rechercher efficacement, ^F "`===`" recherche catégorie par catégorie. > Pour rechercher efficacement, ^F "`===`" recherche catégorie par catégorie.
## Windows 11 ## Windows 11
- Charger la [configuration (4.0.0.1)](./W10Privacy.ini) de - Télécharger [windows11.bat](./windows11.bat) qui est une installation guidée™
[W10Privacy](https://www.w10privacy.de/english-home/) pour installer Windows et le setup comme je l'aime.
- Télécharger [windows11.bat](./windows11.bat) et lances le script pour optimiser
et installer les applications que j'utilises
### Firefox
- Placer [`user.js`](./.mozilla/firefox/user.js) dans `%APPDATA%\Mozilla\Firefox\Profiles`
(dossier `*.default-release`).
- La configuration de certaines extensions se trouve dans [ce dossier](./.mozilla/firefox/extensions/).
## WSL (Arch) ## WSL (Arch)
Commande pour lancer mon installation : Commande pour lancer mon installation :

View file

@ -10,33 +10,35 @@ fltmc >nul 2>&1 || (
exit 0 exit 0
) )
:: Right click of 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
:: Disabling the 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
:: Disabling 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
:: Disabling 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
:: Disabling the SysMain service :: === Disabling the SysMain service ==
sc stop "SysMain" & sc config "SysMain" start=disabled sc stop "SysMain" & sc config "SysMain" start=disabled
:: Added confirmation when trashing :: === 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
:: Don't create a Zone:Identify :: === 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
:: Disables memory integrity, see https://support.microsoft.com/en-us/windows/options-to-optimize-gaming-performance-in-windows-11-a255f612-2949-4373-a566-ff6f3f474613 :: === 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 "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 00000000 /f
:: Application downloads :: === Application downloads ==
:: Auto accept ToT
echo Y | winget list >nul echo Y | winget list >nul
winget install -h Mozilla.Firefox winget install -h Mozilla.Firefox
@ -71,7 +73,7 @@ wsl --install
:: Install 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"""" | 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"""" | Invoke-Expression"
:: Firefox configuration :: === Firefox configuration ==
"%PROGRAMFILES%\Mozilla Firefox\firefox.exe" "%PROGRAMFILES%\Mozilla Firefox\firefox.exe"
taskkill /im firefox.exe /F taskkill /im firefox.exe /F
@ -82,15 +84,15 @@ powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/ra
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/SponsorBlockConfig.json -OutFile %HOMEPATH%\Downloads\SponsorBlockConfig.json" powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/SponsorBlockConfig.json -OutFile %HOMEPATH%\Downloads\SponsorBlockConfig.json"
echo La configuration des differents Addons de Firefox est presente dans le dossier %HOMEPATH%\Downloads. echo La configuration des differents Addons de Firefox est presente dans le dossier %HOMEPATH%\Downloads.
:: C++ Libraries :: === C++ Libraries ==
echo Rend toi sur https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/ et installe les bibliotheques C++. echo Rend toi sur https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/ et installe les bibliotheques C++.
:: User Diag for drivers :: === User Diag for drivers ==
:: powershell -Command "Invoke-WebRequest -Uri https://userdiag.com/download -OutFile %HOMEPATH%\Downloads\UserDiag.exe" :: powershell -Command "Invoke-WebRequest -Uri https://userdiag.com/download -OutFile %HOMEPATH%\Downloads\UserDiag.exe"
:: echo Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag (cf. dossier Telechargements) :: echo Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag (cf. dossier Telechargements)
echo Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag (cf. https://userdiag.com/download) echo Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag (cf. https://userdiag.com/download)
:: W10Privacy :: === W10Privacy ==
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/W10Privacy.ini -OutFile %HOMEPATH%\Downloads\W10Privacy.ini" powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/W10Privacy.ini -OutFile %HOMEPATH%\Downloads\W10Privacy.ini"
echo Ensuite, utilise W10Privacy (https://www.w10privacy.de/deutsch-start/download/) avec le fichier present dans %HOMEPATH%\Downloads (version 4.0.0.1). echo Ensuite, utilise W10Privacy (https://www.w10privacy.de/deutsch-start/download/) avec le fichier present dans %HOMEPATH%\Downloads (version 4.0.0.1).