996 Posted November 13, 2003 Posted November 13, 2003 I've set this up at the 13mins install wia cmdlines.txt because windows file protection isn't active there yet.installs.cmd (relevant part)echo Uninstalling very controversial Onbrad Defrag...regedit /s uninstdefrag.regdel /q /f "%windir%\system32\dllcache\DfrgFat.exe"del /q /f "%windir%\system32\dllcache\DfrgNtfs.exe"del /q /f "%windir%\system32\dllcache\DfrgRes.dll"del /q /f "%windir%\system32\dllcache\DfrgSnap.dll"del /q /f "%windir%\system32\dllcache\DfrgUI.dll"del /q /f "%windir%\system32\dllcache\Defrag.exe"del /q /f "%windir%\system32\DfrgFat.exe"del /q /f "%windir%\system32\DfrgNtfs.exe"del /q /f "%windir%\system32\DfrgRes.dll"del /q /f "%windir%\system32\DfrgSnap.dll"del /q /f "%windir%\system32\DfrgUI.dll"del /q /f "%windir%\system32\Defrag.exe"del /q /f "%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Disk Defragmenter.lnk"uninstdefrag.regWindows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\InstallationSources][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\{476e6449-aaff-11d0-b944-00c04fd8d5b0}\Extensions\NameSpace][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\NodeTypes\{476e644a-aaff-11d0-b944-00c04fd8d5b0}\Extensions\ContextMenu][-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns\{43668E21-2636-11D1-A1CE-0080C88593A5}][-HKEY_CLASSES_ROOT\CLSID\{80EE4901-33A8-11d1-A213-0080C88593A5}][-HKEY_CLASSES_ROOT\CLSID\{80EE4902-33A8-11d1-A213-0080C88593A5}]I've just tested this and it works. Only drawback: right clicking on a drive -> properties -> tools -> defragmentaion no longer has functionality and shows "no defragmentation program installed" (although O&O Defrag was installed afterwards). I suspect the DefragPath entry to be responsible for this.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now