diff options
author | breadcat | 2018-07-10 14:22:04 +0100 |
---|---|---|
committer | breadcat | 2018-07-10 14:22:04 +0100 |
commit | c8b8716bc349173deae7990901182fe8a376faf2 (patch) | |
tree | 5e36c7c34180527fedf1145bbf32e402e5e176dd /4-remove.bat | |
parent | 532a45ee7b68ee4f5606e1649380b3adf5e4d713 (diff) | |
download | win10-prep-c8b8716bc349173deae7990901182fe8a376faf2.tar.gz win10-prep-c8b8716bc349173deae7990901182fe8a376faf2.tar.bz2 win10-prep-c8b8716bc349173deae7990901182fe8a376faf2.zip |
Initial commit
Diffstat (limited to '4-remove.bat')
-rw-r--r-- | 4-remove.bat | 12 |
1 files changed, 12 insertions, 0 deletions
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 |