This commit is contained in:
Michael H.G. Schmidt 2021-02-14 15:29:16 +01:00
parent f311f9cf96
commit 44fd0cf305
6 changed files with 35 additions and 7 deletions

View File

@ -37,6 +37,10 @@ rem echo DISABLE firewall ...
rem netsh advfirewall set allprofiles state off rem netsh advfirewall set allprofiles state off
rem echo. rem echo.
rem this must be done EARLY!
call disable-updates.cmd
echo.
rem allow execution of any powershell script ... rem allow execution of any powershell script ...
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine" powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine"
powershell -Command ^ powershell -Command ^

View File

@ -0,0 +1,11 @@
@echo off
set TOOLS=c:\tools
echo ####### %0 #######
echo disabling UPDATES for ALL users ...
%TOOLS%\wub.exe /D /P
echo FUCK YOU MICROSOFT !
echo ####### %0 #######

View File

@ -7,5 +7,12 @@ echo ####### %0 #######
echo installing Citrix Receiver LTS ... echo installing Citrix Receiver LTS ...
%EXE% /silent /noreboot %EXE% /silent /noreboot
echo disabling autostart for Citrix Receiver ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32" ^
/v "ConnectionCenter" /d 0300000065d2d743d402d701 /t REG_BINARY /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32" ^
/v "Redirector" /d 030000005e06c842d402d701 /t REG_BINARY /f
echo ####### %0 ####### echo ####### %0 #######

View File

@ -1,4 +1,4 @@
# REMOVE all applications except the Storem, Calculator and Terminal ... # REMOVE all applications except the Store and the Terminal ...
write-host '#######',(split-path $PSCommandPath -Leaf),'#######' write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
@ -14,5 +14,12 @@ Get-AppxProvisionedPackage -online |
where-object {$_.name -notlike "*terminal*"} | where-object {$_.name -notlike "*terminal*"} |
Remove-AppxProvisionedPackage -online Remove-AppxProvisionedPackage -online
# REINSTALL the Calculator ...
# just sparing it is not working ... must be reinstalled ...
$PROGS=$Env:ProgramFiles
$CALC=Get-AppXpackage -Allusers Microsoft.WindowsCalculator | select -expand PackageFullName
Add-AppXPackage -register "$PROGS\WindowsApps\$CALC\AppXManifest.xml" -DisableDevelopmentMode
write-host '#######',(split-path $PSCommandPath -Leaf),'#######' write-host '#######',(split-path $PSCommandPath -Leaf),'#######'

10
tools/.gitignore vendored
View File

@ -1,5 +1,5 @@
*.exe *.exe
*.msi *.msi
*.xpi *.xpi
*.zip *.zip
*.ini

View File

@ -43,7 +43,6 @@ dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpee
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
dism /Image:%MNT% /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2020.1906.55.0_neutral_~_8wekyb3d8bbwe
@echo off @echo off