驱动总裁一键卸载,可在部署后调用

查看 76|回复 4
作者:LHChang   
[ol]cls
@echo off
taskkill /im DrvCeo.exe /f /t
for /f "tokens=3,*" %%i in ('reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Common Desktop"') do (set desk=%%j)
for /f "tokens=3,*" %%i in ('reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Common Programs"') do (set pro=%%j)
del /s /q /f "%desk%\驱动总裁.lnk"
del /s /q /f "%desk%\驅動總裁.lnk"
del /s /q /f "%desk%\DrvCeo.lnk"
rd /s /q "%pro%\驱动总裁2.0"
rd /s /q "%pro%\驅動總裁2.0"
rd /s /q "%pro%\DrvCeo2.0"
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\DrvCeo2.0" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DrvCeo" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DrvCeo2.0" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\DrvCeo2.0" /f
set "drvceo=%ProgramFiles(x86)%\SysCeo"
rd /s /q "%drvceo%"
:: del %0
exit
[/ol]复制代码这个是2.x版本的,如果是1.9版本需要自行修改,我没有测试。

总裁, 版本, 可在

dcsuibian   
谢谢楼主
h404bi   
谢谢楼主分享
ComputerIdiot   
很好 谢谢分享
aLazarus   
谢谢楼主分享
您需要登录后才可以回帖 登录 | 立即注册

返回顶部