RamDisk Plus v8 专用卸载脚本(保存为.bat运行即可)

@Echo Off
Echo *******************************************************
Echo *******************************************************
Echo ——————————————————-
Echo RamDisk / RamDisk Plus v8 Uninstall Script
Echo ——————————————————-
Echo *******************************************************
Echo *******************************************************
Echo .
Echo This script will uninstall RamDisk or RamDisk Plus v8.
Echo .
Echo To abort press Ctrl-C. Otherwise,
Pause

rem
echo Deleting system files…
rem
del %systemroot%\system32\drivers\sscrdbus.sys
del %systemroot%\system32\drivers\sscrdfdo.sys
del %systemroot%\system32\rdcfg.exe
del %systemroot%\system32\sscrdcpa.cpl

rem
echo Deleting files in Program Files…
rem
del /s /q “%programfiles%\SuperSpeed Software\*.*”
rmdir /s /q “%programfiles%\SuperSpeed Software”

rem
echo Deleting start menu entries…
rem
del /s /q “%allusersprofile%\Start Menu\Programs\SuperSpeed Software\*.*”
rmdir /s /q “%allusersprofile%\Start Menu\Programs\SuperSpeed Software”

rem
echo Deleting registry Services keys…
rem
reg delete HKLM\System\CurrentControlSet\Services\SscRdBus /f
reg delete HKLM\System\CurrentControlSet\Services\SscRdFdo /f

rem
echo Deleting registry EventLog service keys…
rem
reg delete HKLM\System\CurrentControlSet\Services\EventLog\System\SscRdBus /f
reg delete HKLM\System\CurrentControlSet\Services\EventLog\System\SscRdFdo /f

rem
echo Deleting Uninstall key…
rem
reg delete HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{5B14E062-97A1-11D3-B2C8-00C0F014C0F2} /f
rem
echo Deleting control panel applet registrations…
rem
reg delete “HKLM\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\RAM Disk Devices” /f
reg delete “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Cpls” /v “RAM Disk Devices” /f
reg delete “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2” /v “%SystemRoot%\System32\SscRdCpa.cpl” /f

rem
rem Inform user
rem
Echo *******************************************************
Echo *******************************************************
Echo ——————————————————-
Echo To complete manual uninstall, please reboot the system.
Echo ——————————————————-
Echo *******************************************************
Echo *******************************************************
Pause

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

18 + = 25