update windows update

This commit is contained in:
Mylloon 2022-12-16 12:44:51 +01:00
parent 764b7b7dac
commit 51c18cef2b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 10 additions and 0 deletions

View file

@ -8,7 +8,13 @@ fltmc >nul 2>&1 || (
exit 0 exit 0
) )
:: Windows programs
winget upgrade -h --all winget upgrade -h --all
:: Windows Update
powershell -Command "Set-ExecutionPolicy Bypass -Scope Process;" ^
"Import-Module PSWindowsUpdate;" ^
"Get-WindowsUpdate -AcceptAll -Install"
pause pause
exit /b exit /b

View file

@ -106,6 +106,10 @@ echo Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag
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).
:: === Modules ==
powershell -Command "Install-PackageProvider -Name NuGet -Force"
powershell -Command "Install-Module -Name PSWindowsUpdate -Force"
:: === Miscellaneous == :: === Miscellaneous ==
:: Rename shortcut for Minecraft :: Rename shortcut for Minecraft
C:\Users\anri\AppData\Roaming\Microsoft\Windows\Start Menu\Programs C:\Users\anri\AppData\Roaming\Microsoft\Windows\Start Menu\Programs