.
This commit is contained in:
parent
f311f9cf96
commit
44fd0cf305
@ -37,6 +37,10 @@ rem echo DISABLE firewall ...
|
||||
rem netsh advfirewall set allprofiles state off
|
||||
rem echo.
|
||||
|
||||
rem this must be done EARLY!
|
||||
call disable-updates.cmd
|
||||
echo.
|
||||
|
||||
rem allow execution of any powershell script ...
|
||||
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine"
|
||||
powershell -Command ^
|
||||
|
11
scripts/disable-updates.cmd
Normal file
11
scripts/disable-updates.cmd
Normal 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 #######
|
||||
|
@ -7,5 +7,12 @@ echo ####### %0 #######
|
||||
echo installing Citrix Receiver LTS ...
|
||||
%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 #######
|
||||
|
||||
|
@ -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),'#######'
|
||||
|
||||
@ -14,5 +14,12 @@ Get-AppxProvisionedPackage -online |
|
||||
where-object {$_.name -notlike "*terminal*"} |
|
||||
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),'#######'
|
||||
|
||||
|
2
tools/.gitignore
vendored
2
tools/.gitignore
vendored
@ -2,4 +2,4 @@
|
||||
*.msi
|
||||
*.xpi
|
||||
*.zip
|
||||
|
||||
*.ini
|
||||
|
@ -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.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.WindowsCalculator_2020.1906.55.0_neutral_~_8wekyb3d8bbwe
|
||||
|
||||
@echo off
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user