From 43965451f725e025517a3a20f4d2d8cfeacab07e Mon Sep 17 00:00:00 2001 From: breadcat Date: Mon, 1 Apr 2019 09:59:01 +0100 Subject: Remove silverlight --- 4-remove.bat | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '4-remove.bat') 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" -- cgit v1.2.3