Skip to content
Snippets Groups Projects
Commit 9bb1b2f6 authored by Rsge's avatar Rsge
Browse files

Added Java remains removal script

parent 462d2d97
No related branches found
No related tags found
No related merge requests found
......@@ -9,3 +9,4 @@ These are made for double-click execution via file explorer.
* `Fix printer not install- and selectable.bat` fixes a problem where no printer can be selected or even installed, caused by corrupted files.
* `Fix search & settings.bat` fixes the windows search and the settings app not starting up correctly and freezing.
* `Fix winmail.dat - Disable RTF & TNEF.reg` fixes the receiver of an email getting a `winmail.dat` file as attachment instead of a normal file by introducing a registry fix to keep Outlook from ever sending emails in RTF format or TNEF encryption.
* `Remove Java.bat` removes remains of a Java installation after uninstall.
\ No newline at end of file
@echo off
del "C:\Program Files (x86)\Common Files\Java\*" /s /q /f
reg query hklm\software\classes\installer\products /f "java(tm) 7" /s | find "HKEY_LOCAL_MACHINE" > deljava.txt
for /f "tokens=* delims= " %%a in (deljava.txt) do reg delete %%a /f
del deljava.txt
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\JavaSoft\Java Runtime Environment" /f
pause
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment