From c8b8716bc349173deae7990901182fe8a376faf2 Mon Sep 17 00:00:00 2001 From: breadcat Date: Tue, 10 Jul 2018 14:22:04 +0100 Subject: Initial commit --- 4-remove.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 4-remove.bat (limited to '4-remove.bat') diff --git a/4-remove.bat b/4-remove.bat new file mode 100644 index 0000000..1ca76b4 --- /dev/null +++ b/4-remove.bat @@ -0,0 +1,12 @@ +rem applications +rem remove onedrive, remove explorer tree item +taskkill /f /im onedrive.exe +if exist "%windir%\system32\onedrivesetup.exe" "%windir%\system32\onedrivesetup.exe" /uninstall +if exist "%windir%\syswow64\onedrivesetup.exe" "%windir%\syswow64\onedrivesetup.exe" /uninstall +reg delete "HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f +reg delete "HKCR\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f +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 -- cgit v1.2.3