add windows11 script
This commit is contained in:
parent
6a6a7f45ba
commit
b7636c9784
2 changed files with 69 additions and 5 deletions
16
README.md
16
README.md
|
@ -3,11 +3,14 @@
|
|||
|
||||
## Windows 11
|
||||
Nécessite [W10Privacy](https://www.w10privacy.de/english-home/)
|
||||
- Charger la [configuration](./W10Privacy.ini).
|
||||
- Charger la [configuration (4.0.0.1)](./W10Privacy.ini).
|
||||
- Télécharges [windows11.bat](./windows11.bat) et lances le script pour optimiser
|
||||
et installer les applications que j'utilises
|
||||
|
||||
<details><summary>Firefox</summary>
|
||||
|
||||
Placer [`user.js`](./.mozilla/firefox/user.js) dans `%APPDATA%\Mozilla\Firefox\Profiles` (dossier `*.default-release`).
|
||||
Placer [`user.js`](./.mozilla/firefox/user.js) dans `%APPDATA%\Mozilla\Firefox\Profiles`
|
||||
(dossier `*.default-release`).
|
||||
</details>
|
||||
|
||||
## WSL (Arch)
|
||||
|
@ -76,11 +79,13 @@ curl https://git.kennel.ml/Anri/confOS/raw/branch/main/arch.sh -s | sudo bash
|
|||
```
|
||||
|
||||
## Android
|
||||
Avec [UAD](https://github.com/0x192/universal-android-debloater), ma liste d'applications est [uad_exported_selection.txt](./uad_exported_selection.txt).
|
||||
Avec [UAD](https://github.com/0x192/universal-android-debloater), ma liste
|
||||
d'applications est [uad_exported_selection.txt](./uad_exported_selection.txt).
|
||||
|
||||
<!-- Penser a bien désactiver les applications, et non les désinstallés. -->
|
||||
|
||||
[Ici](https://git.kennel.ml/Anri/cat/wiki/Debloat-MIUI) un petit descriptif de quelques applications que je désactive qui sont mauvaise.
|
||||
[Ici](https://git.kennel.ml/Anri/cat/wiki/Debloat-MIUI) un petit descriptif de
|
||||
quelques applications que je désactive qui sont mauvaise.
|
||||
|
||||
## [**outdated**] Manjaro
|
||||
Commande pour lancer mon installation :
|
||||
|
@ -108,7 +113,8 @@ Détails concernant l'import/export de la clé GPG :
|
|||
- Exporté clé privé : `gpg --output private.gpg --armor --export-secret-key user@email`
|
||||
- Importé clés publique : `gpg --import public.gpg`
|
||||
- Importé clés privé : `gpg --allow-secret-key-import --import private.gpg`
|
||||
- Récupérer numéro de clé (`sec`) : `gpg --list-secret-keys --keyid-format LONG user@email` (dans `sec rsa4096/30F2B65B9246B6CA 2017-08-18 [SC]` c'est `30F2B65B9246B6CA`)
|
||||
- Récupérer numéro de clé (`sec`) : `gpg --list-secret-keys --keyid-format LONG user@email`
|
||||
(dans `sec rsa4096/30F2B65B9246B6CA 2017-08-18 [SC]` c'est `30F2B65B9246B6CA`)
|
||||
- Utilisé clé pour git : `git config --global user.signingkey <numéro de la clé>`
|
||||
|
||||
---
|
||||
|
|
58
windows11.bat
Normal file
58
windows11.bat
Normal file
|
@ -0,0 +1,58 @@
|
|||
@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 00000002 /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
|
||||
|
||||
:: 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"
|
Loading…
Reference in a new issue