From c9f98428010578093c86a86eda418eaf16aff1eb Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sat, 6 Mar 2021 00:09:40 +0100 Subject: [PATCH] . --- {scripts => optional}/uninstall-telemetry.cmd | 24 +++++++++++++++-- scripts/autoconfig-all.cmd | 8 ------ scripts/delete-edgekeys.reg | Bin 0 -> 33878 bytes scripts/uninstall-edge.cmd | 25 +++++++++++------- scripts/unpack-zipfiles.cmd | 6 +++++ software/basic.csv | 1 + software/optional.csv | 1 + 7 files changed, 46 insertions(+), 19 deletions(-) rename {scripts => optional}/uninstall-telemetry.cmd (96%) create mode 100644 scripts/delete-edgekeys.reg diff --git a/scripts/uninstall-telemetry.cmd b/optional/uninstall-telemetry.cmd similarity index 96% rename from scripts/uninstall-telemetry.cmd rename to optional/uninstall-telemetry.cmd index dea1ed6..a1852a7 100644 --- a/scripts/uninstall-telemetry.cmd +++ b/optional/uninstall-telemetry.cmd @@ -1,9 +1,18 @@ @echo off echo ####### %0 ####### +rem most of this was took from: +rem https://forum.level1techs.com/t/take-back-your-windows-10-privacy/143097/2 +rem THANKS! +echo. +echo ... removing ALL the stupid fucking microsoft TELEMETRY BULLSHIT! + +echo. echo ADDING some registry keys to disable telemetry ... +echo. reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d "0" /f +reg add "HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d 0 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v AITEnable /t REG_DWORD /d 0 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisableInventory /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisablePCA /t REG_DWORD /d 1 /f @@ -27,7 +36,6 @@ reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableC reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f reg add "HKLM\Software\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform" /v NoGenTicket /t REG_DWORD /d 1 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f -reg add "HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 0 /f reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v "DisableConfig" /t "REG_DWORD" /d "1" /f reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v "DisableSR " /t "REG_DWORD" /d "1" /f @@ -53,14 +61,15 @@ reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules" /v "NumberOfSIUFInPeri reg add "HKLM\SYSTEM\ControlSet001\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v Start /t REG_DWORD /d 0 /f reg add "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "{2765E0F4-2918-4A46-B9C9-43CDD8FCBA2B}" /t REG_SZ /d "BlockCortana|Action=Block|Active=TRUE|Dir=Out|App=C:\windows\systemapps\microsoft.windows.cortana_cw5n1h2txyewy\searchui.exe|Name=Search and Cortana application|AppPkgId=S-1-15-2-1861897761-1695161497-2927542615-642690995-327840285-2659745135-2630312742|" /f +echo. echo DELETING some registry keys to disable telemetry ... +echo. reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules" /v "PeriodInNanoSeconds" /f reg delete "HKLM\SYSTEM\CurrentControlSet\Services\xbgm" /f reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Sense" /f reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SecurityHealthService" /f reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "SecurityHealth" /f reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" /v "SecurityHealth" /f - for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "wscsvc" ^| find /i "wscsvc"') do (reg delete %%I /f) for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "OneSyncSvc" ^| find /i "OneSyncSvc"') do (reg delete %%I /f) for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "MessagingService" ^| find /i "MessagingService"') do (reg delete %%I /f) @@ -71,7 +80,9 @@ for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "Sgrmbroker" ^| find /i "Sgrmbroker"') do (reg delete %%I /f) for /f "tokens=1" %%I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "ClipSVC" ^| find /i "ClipSVC"') do (reg delete %%I /f) +echo. echo DELETING some services ... +echo. sc delete PushToInstall sc delete XblAuthManager sc delete XblGameSave @@ -96,10 +107,14 @@ sc delete SessionEnv sc delete TroubleshootingSvc sc delete diagnosticshub.standardcollector.service +echo. echo RECONFIGURING some services ... +echo. sc config wlidsvc start=demand +echo. echo DISABLING some tasks ... +echo. schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /disable schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTaskLogon" /disable schtasks /Change /TN "\Microsoft\Windows\Maps\MapsUpdateTask" /disable @@ -144,11 +159,16 @@ schtasks /Change /TN "\Microsoft\Windows\Diagnosis\RecommendedTroubleshootingSca schtasks /Change /TN "\Microsoft\Windows\Diagnosis\Scheduled" /disable schtasks /Change /TN "\Microsoft\Windows\NetTrace\GatherNetworkInfo" /disable +echo. echo DELETING shadow copies ... +echo. vssadmin delete shadows /all /Quiet +echo. echo DELETING some files ... +echo. del /F /Q "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\*" echo ####### %0 ####### +pause diff --git a/scripts/autoconfig-all.cmd b/scripts/autoconfig-all.cmd index 92b1bba..56b09ef 100644 --- a/scripts/autoconfig-all.cmd +++ b/scripts/autoconfig-all.cmd @@ -27,10 +27,6 @@ echo ### GLOBAL settings ### echo ####################### echo. -rem echo DISABLE firewall ... -rem netsh advfirewall set allprofiles state off -rem echo. - rem 7-zip is essential for other scripts ... call unpack-7zip.cmd echo. @@ -172,10 +168,6 @@ rem ... remove ALL the stupid fucking microsoft TELEMETRY BULLSHIT! rem call uninstall-telemetry.cmd rem echo. -rem echo ENABLE firewall ... -rem netsh advfirewall set allprofiles state on -rem echo. - echo rebooting ... shutdown -g -t 0 echo. diff --git a/scripts/delete-edgekeys.reg b/scripts/delete-edgekeys.reg new file mode 100644 index 0000000000000000000000000000000000000000..cb4320e482c5919dda6a9513b7aba0afdc1e7b9e GIT binary patch literal 33878 zcmeI5Sx*~F7RT#(r1=h!-;H8c^Dqxy;09e1qCgUjh7kg6mcaqWI3e7t`RX(C|J89( zy#;Jm(^!`6?yl-`ou$s+<^TQnt2=h5uH(+!rMqx%+$Yy{hq`v*2Cna}bY(@Y$2vRH z`5X5|?R~W#>-<#b3vR}})$6bBFW2vXxOeV%-S>C5Rx{1Qms9`KKk()?@IRoy+O{EfzCPwzu9o-dabGFneNGs_(^c| z{5b#g7^%2FJqDKbx#Skrf7w-CQ^)f7VP5yn>%1zw)O??+J{NSn;^x$6QFrmVq|vkEuJ}6^ zbpMj>SoPyJb=KAq<1YB$;+J_>{YW)^GE*R=XG{IEBuR!6HEg`O*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O|89E=o_}?;T9HYD8cXIi{vSvD&jH(~b6vFI8RDL^y&sbQ zOTs=rXFdl=OqrNs(JoSV+gmPJR6UJ}*AsW_`J~^$<0Ga;L<7%0+vhGji9YN@-jEbe{uAXC=VT)I@3T>Me#_(h|FWBCMgRZ+ literal 0 HcmV?d00001 diff --git a/scripts/uninstall-edge.cmd b/scripts/uninstall-edge.cmd index fe82ed6..b7e838e 100644 --- a/scripts/uninstall-edge.cmd +++ b/scripts/uninstall-edge.cmd @@ -11,20 +11,27 @@ echo ####### %0 ####### @echo off timeout /T 10 +echo. echo cleanup ... -@echo on -rd /S /Q %EDGEROOT% -rd /S /Q %EDGEUPDATE% -del /F "%PUBLIC%\Desktop\Microsoft Edge.lnk" -del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" -del /F "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" -del /F "%USERPROFILE%\Desktop\Microsoft Edge.lnk" -rd /S /Q "%PROGRAMDATA%\Microsoft\EdgeUpdate" -@echo off +rd /S /Q %EDGEROOT% 2>nul +rd /S /Q %EDGEUPDATE% 2>nul +del /F "%PUBLIC%\Desktop\Microsoft Edge.lnk" 2>nul +del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" 2>nul +del /F "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Microsoft Edge.lnk" 2>nul +del /F "%USERPROFILE%\Desktop\Microsoft Edge.lnk" 2>nul +rd /S /Q "%PROGRAMDATA%\Microsoft\EdgeUpdate" 2>nul +echo. echo block edge updates ... reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EdgeUpdate" ^ /v "DoNotUpdateToEdgeWithChromium" /d 1 /t REG_DWORD /f +echo. +echo ... and finally delete ALL edge registry keys +echo hoping that frankensteins monster cannot come back after this ... +regedit /S delete-edgekeys.reg +echo READY. + +echo. echo ####### %0 ####### diff --git a/scripts/unpack-zipfiles.cmd b/scripts/unpack-zipfiles.cmd index 2476ac2..ea7f6e3 100644 --- a/scripts/unpack-zipfiles.cmd +++ b/scripts/unpack-zipfiles.cmd @@ -18,6 +18,7 @@ for %%A in ( installwimtweak offlineregistryfinder rclone + regscanner restic vim winscp @@ -76,6 +77,11 @@ move /Y %T%\rclone\rclone.exe %TOOLS% rd /S /Q %T%\rclone echo. +echo RegScanner +move /Y %T%\regscanner\*.exe %TOOLS% +rd /S /Q %T%\regscanner +echo. + echo Restic move /Y %T%\restic\*.exe %TOOLS%\restic.exe rd /S /Q %T%\restic diff --git a/software/basic.csv b/software/basic.csv index 094804f..54607de 100644 --- a/software/basic.csv +++ b/software/basic.csv @@ -18,6 +18,7 @@ https://www.sordum.org/files/downloads.php?st-windows-update-blocker wub.zip https://farmanager.com/files/Far30b5700.x64.20201112.msi far-setup.msi https://golang.org/dl/go1.16.windows-amd64.msi go-setup.msi https://www.python.org/ftp/python/3.9.2/python-3.9.2-amd64.exe python3-setup.exe +https://www.nirsoft.net/utils/regscanner-x64.zip regscanner.zip http://www.drivesnapshot.de/download/snapshot64.exe snapshot64.exe https://ftp.halifax.rwth-aachen.de/videolan/vlc/3.0.12/win64/vlc-3.0.12-win64.exe vlc-setup.exe https://github.com/microsoft/terminal/releases/download/v1.5.10411.0/Microsoft.WindowsTerminal_1.5.10411.0_8wekyb3d8bbwe.msixbundle windowsterminal-setup.msixbundle diff --git a/software/optional.csv b/software/optional.csv index 171ae15..ee8fa65 100644 --- a/software/optional.csv +++ b/software/optional.csv @@ -11,3 +11,4 @@ https://download.virtualbox.org/virtualbox/6.1.18/VirtualBox-6.1.18-142142-Win.e https://code.visualstudio.com/sha/download?build=stable&os=win32-x64 vscode-setup.exe https://download.xnview.com/XnViewMP-win-x64.exe xnview-setup.exe https://www.python.org/ftp/python/2.7.18/python-2.7.18.amd64.msi python2-setup.msi +https://download.microsoft.com/download/8/7/E/87E24B50-9C85-4B1D-A581-94AA037803F8/LyncEntry_bypass_ship_x64_en-us_exe/lyncentry.exe skype-setup.exe