Small update from Trend After Some Escalation.
Script is no longer required & is recommended to remove the folders that were preventing the creation of the .sys files as indicated below:
rmdir C:\windows\system32\drivers\tmcomm.sys
rmdir C:\windows\system32\drivers\tmactmon.sys
rmdir C:\windows\system32\drivers\tmevtmgr.sys
For Mass deployment fix from the Trend OfficeScan XG [This will deploy the Registry settings like the script moving forward to all Trend OfficeScan Agents]
On Trend OfficeScan Server:
- Backup the OfcScan.ini located in C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV
- Turn off the OfficeScan Master Service
- Edit the Ofcscan.ini and amend the parameter below or add if it is not indicated.
[Global Setting]
PowerMonitorTime = 16
- Save the edited Ofcscan.ini
- Turn on the OfficeScan Master Service
- Login to OfficeScan Server Console
- Go to Agents > Global Settings > Click SAVE
Thanks Slap Dash!
I will give that a try in our office and see how it goes.
Switching from TrencMicro isn't really an option for us right now (I really don't want to put Surface on a different AV than the rest of our laptops and desktops).
Prior to reading this latest reply about amending Ofcscan.ini, I did create a script to automate the first solution, which I have included below in case it is helpful to anyone else (you will just need to update your unload password where I entered "UNLOAD_PASSWORD")
<snip>
@echo off
CLS
ECHO.
::::::::::::::::::::::::::::
::START
::::::::::::::::::::::::::::
REM Unload TrendMicro OfficeScan from CLI
echo ++++++++++++++++++++++++++++++++++++++++++++
echo ++ Unloading Trend Micro OfficeScan Agent ++
echo ++++++++++++++++++++++++++++++++++++++++++++
cd "C:\Program Files (x86)\Trend Micro\OfficeScan Client"
PccNTMon.exe -n UNLOAD_PASSWORD
if ERRORLEVEL 1 goto error1
REM Rename the Trend Micro AEGIS Driver .sys files by adding .bak to their extension
echo ++++++++++++++++++++++++++++++++++++++++++++++++++
echo ++ Renaming TrendMicro OfficeScan AEGIS Drivers ++
echo ++++++++++++++++++++++++++++++++++++++++++++++++++
REN c:\windows\system32\drivers\tmcomm.sys *.bak
REN c:\windows\system32\drivers\tmactmon.sys *.bak
REN c:\windows\system32\drivers\tmevtmgr.sys *.bak
if ERRORLEVEL 1 goto error2
REM Load PowerMonitorTime Registry Workaround
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++
echo ++ Adding PowerMonitorTime Workaround to Registry ++
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++
regedit.exe /s \Path-To\PowerMonitorTime\Workaround.reg
if ERRORLEVEL 1 goto error3
echo ++++++++++++++++++++++++++++
echo ++ PLEASE REBOOT MANUALLY ++
echo ++++++++++++++++++++++++++++
pause
exit
:error1
echo There was a problem unloading TrendMicro OfficeScan Agent
pause
:error2
echo There was a problem renaming TrendMicro OfficeScan AEGIS Driver Files
pause
:error3
echo There was a problem loading the Registry workaround into Windows
pause
</snip>