From e48b2759b07d25defb27b75fc5c7c27403625cd0 Mon Sep 17 00:00:00 2001 From: breadcat Date: Tue, 16 Jun 2020 17:36:38 +0100 Subject: Remove adobe flash --- 4-remove.bat | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to '4-remove.bat') diff --git a/4-remove.bat b/4-remove.bat index 82f64d6..dd79bd6 100644 --- a/4-remove.bat +++ b/4-remove.bat @@ -22,3 +22,20 @@ reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstal reg delete HKEY_CURRENT_USER\SOFTWARE\AppDataLow\Software\Microsoft\Silverlight /f rmdir /s /q "%ProgramFiles%\Microsoft Silverlight" rmdir /s /q "%ProgramFiles(x86)%\Microsoft Silverlight" +rem remove adobe flash +takeown /f "%windir%\System32\Macromed" /r /d y +takeown /f "%windir%\System32\Macromed\Flash\*.*" +takeown /f "%windir%\SysWOW64\FlashPlayerApp.exe" /r /d y +takeown /f "%windir%\SysWOW64\FlashPlayerCPLApp.cpl" /r /d y +takeown /f "%windir%\SysWOW64\Macromed" /r /d y +takeown /f "%windir%\SysWOW64\Macromed\Flash\*.*" +icacls "%windir%\System32\Macromed" /grant administrators:F /t +icacls "%windir%\SysWOW64\FlashPlayerApp.exe" /grant administrators:F /t +icacls "%windir%\SysWOW64\FlashPlayerCPLApp.cpl" /grant administrators:F /t +icacls "%windir%\SysWOW64\Macromed" /grant administrators:F /t +rd /s /q "%appdata%\Adobe" +rd /s /q "%windir%\System32\Macromed" +rd /s /q "%windir%\SysWOW64\Macromed" +rd /s /q "%appdata%\Macromedia\Flash Player" +del "%windir%\SysWOW64\FlashPlayerApp.exe" +del "%windir%\SysWOW64\FlashPlayerCPLApp.cpl" \ No newline at end of file -- cgit v1.2.3