summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2019-04-01 09:59:01 +0100
committerbreadcat2019-04-01 09:59:01 +0100
commit43965451f725e025517a3a20f4d2d8cfeacab07e (patch)
tree18aa7f0c2f18161e961eebd1cadaab28208c3b7c
parentd27f95871d5475e0fbfd083be5da857790dd62a5 (diff)
downloadwin10-prep-43965451f725e025517a3a20f4d2d8cfeacab07e.tar.gz
win10-prep-43965451f725e025517a3a20f4d2d8cfeacab07e.tar.bz2
win10-prep-43965451f725e025517a3a20f4d2d8cfeacab07e.zip
Remove silverlight
-rw-r--r--4-remove.bat14
1 files changed, 13 insertions, 1 deletions
diff --git a/4-remove.bat b/4-remove.bat
index 1ca76b4..82f64d6 100644
--- a/4-remove.bat
+++ b/4-remove.bat
@@ -9,4 +9,16 @@ rd /s /q "%userprofile%\OneDrive"
rd /s /q "%localappdata%\Microsoft\OneDrive"
rd /s /q "%programdata%\Microsoft OneDrive"
rem remove internet explorer 11
-dism /online /disable-feature /featurename:Internet-Explorer-Optional-amd64 /NoRestart \ No newline at end of file
+dism /online /disable-feature /featurename:Internet-Explorer-Optional-amd64 /NoRestart
+rem remove silverlight (https://support.microsoft.com/en-us/kb/2608523)
+reg delete HKLM\Software\Microsoft\Silverlight /f
+reg delete HKEY_CLASSES_ROOT\Installer\Products\D7314F9862C648A4DB8BE2A5B47BE100 /f
+reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\D7314F9862C648A4DB8BE2A5B47BE100 /f
+reg delete HKEY_CLASSES_ROOT\TypeLib\{283C8576-0726-4DBC-9609-3F855162009A} /f
+reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\install.exe /f
+reg delete HKEY_CLASSES_ROOT\AgControl.AgControl /f
+reg delete HKEY_CLASSES_ROOT\AgControl.AgControl.5.1 /f
+reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} /f
+reg delete HKEY_CURRENT_USER\SOFTWARE\AppDataLow\Software\Microsoft\Silverlight /f
+rmdir /s /q "%ProgramFiles%\Microsoft Silverlight"
+rmdir /s /q "%ProgramFiles(x86)%\Microsoft Silverlight"