本文出自Simmy的个人blog:西米在线
http://simmyonline.com/archives/450.html
在删除Officescan的时候,需要密码,而密码是前公司IT设的,无法得知。为了删除,搜索到这篇好文。
首先,手动停掉Officescan的所有进程。再将下面的文字copy到记事本保存成bat格式执行即可。完成再查看Officescan的安装文件夹:C:\Program Files\Trend Micro,空了即表示完成了,重启电脑即可。
rem 根据趋势科技的“Windows 2000 Pro / XP客户端手工卸载 / 解除安装”技术文档编写;
rem By Jack Yang MSN: jocoyang[at]hotmail[dot]com
rem By Jack Yang MSN: jocoyang[at]hotmail[dot]com
@echo off
echo.
echo.
echo.
echo.
echo !!!!!!!!!!Warning Message Start!!!!!!!!!!
echo.
echo.
echo This program will auto clean OfficeScan from your system;
echo 这个程序将会自动清除你系统中的Officescan软件;
echo.
echo If your system not Win 2k Pro or Win XP,Pls use "CTRL+C" to shutdown!
echo 如果你的系统不是win 2k pro或win XP版本,请使用"CTRL+C"来结束本程序!
echo.
echo !!!!!!!!!!Warning Message End!!!!!!!!!!
echo.
echo.
echo Ver 1.1(2004.09.17)
echo.
echo.
echo.
echo.
echo.
echo !!!!!!!!!!Warning Message Start!!!!!!!!!!
echo.
echo.
echo This program will auto clean OfficeScan from your system;
echo 这个程序将会自动清除你系统中的Officescan软件;
echo.
echo If your system not Win 2k Pro or Win XP,Pls use "CTRL+C" to shutdown!
echo 如果你的系统不是win 2k pro或win XP版本,请使用"CTRL+C"来结束本程序!
echo.
echo !!!!!!!!!!Warning Message End!!!!!!!!!!
echo.
echo.
echo Ver 1.1(2004.09.17)
echo.
pause
pskill OfcDog
pskill pccntupd
pskill pccntmon
pskill pccntupd
pskill pccntmon
net stop tmlisten
net stop ntrtscan
net stop ntrtscan
echo Windows Registry Editor Version 5.00 >c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ntrtscan] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TmFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tmlisten] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSApiNt] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ntrtscan] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TmFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\tmlisten] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TmPreFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\VSApiNt] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\ntrtscan] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\TmFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\tmlisten] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\TmPreFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\VSApiNt] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >>c:\temp2kxp.reg
echo "OfficeScanNT Monitor"=- >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OfficeScanNT] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ntrtscan] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TmFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tmlisten] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSApiNt] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ntrtscan] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TmFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\tmlisten] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TmPreFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\VSApiNt] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\ntrtscan] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\TmFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\tmlisten] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\TmPreFilter] >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\VSApiNt] >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run] >>c:\temp2kxp.reg
echo "OfficeScanNT Monitor"=- >>c:\temp2kxp.reg
echo. >>c:\temp2kxp.reg
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OfficeScanNT] >>c:\temp2kxp.reg
%windir%\regedit.exe -s c:\temp2kxp.reg
del c:\temp2kxp.reg
rd /Q /S "%ProgramFiles%\Trend Micro\OfficeScan Client"
del c:\temp2kxp.reg
rd /Q /S "%ProgramFiles%\Trend Micro\OfficeScan Client"
echo.
echo.
echo Finish!! Please rebot your system and reinstall Officescan.
echo 清理完毕!你必须重启系统后才能重新安装officescan软件。
echo.
echo.
echo.
echo Finish!! Please rebot your system and reinstall Officescan.
echo 清理完毕!你必须重启系统后才能重新安装officescan软件。
echo.
echo.
pause
本文来自CSDN博客,转载请标明出处:
http://blog.csdn.net/psyl/archive/2006/05/15/729202.aspx
本文转simmy51CTO博客,原文链接:http://blog.51cto.com/helpdesk/179126
,如需转载请自行联系原作者