This is exactly the trend of anti-virus software in our company.
Purpose: because the trend offline scan client can be encrypted, other users who do not know the password after encryption Cannot uninstall the client. In addition, sometimes the trend offline is not clean and cannot be installed again. You can only uninstall the client manually, it is very troublesome to search for registered projects one by one. At the same time, our company has nearly 3000 users, which is more practical and convenient.
The tool pskill.exe needs to be used in combination with the following: Put it in the same directory, and Google can download it everywhere.
Code:
Rem is written according to Trend Micro's technical document "manual uninstallation/uninstallation of Windows 2000 Pro/XP Client"; 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 this program will automatically clear the OfficeScan software in your system; echo. echo if your system not win 2 k pro or Win XP, pls use "Ctrl + C" to shutdown! Echo if your system is not Windows 2 k pro or Windows XP, use "Ctrl + C" to end this program! Echo. Echo !!!!!!!!!! Warning Message end !!!!!!!!!! Echo. echo. echo ver 1.1 (2004.09.17) echo. pause pskill ofcdog pskill pccntupd pskill pccntmon net stop tmlisten 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 [-HK Ey_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/CONTR Olset001/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:/temp2 KXP. 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/softw Are/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" Echo. echo. echo finish !! Please rebot your system and reinstall OfficeScan. ECHO has been cleared! You must restart the system before you can reinstall the OfficeScan software. Echo. Echo. Pause