概要
In the email notification, the “%n” variable is used to show the username. However, there are instances that “%n” is replaced as SYSTEM.
問題描述:
在電子郵件通知中,"%n"變數常用在顯示使用者名稱。
然而,有實際案例顯示"%n"會被取代為SYSTEM
以下為通知的設定實例:
Virus/Malware: %v
Computer: %s
User: %n
Domain: %m
File: %p
Date/Time: %y
Result: %a
測試結果如下:
Virus/Malware: Eicar_test_1
Computer: Hostname
User: SYSTEM
Domain: Local_domain
File: C:\Users\Username\Desktop\Eicar.txt
Date/Time: 3/4/2015 9:49:26
Result: Virus successfully detected, cannot perform the Clean action (Delete)
解決方法:
顯示實際的使用者名稱:
請先停止「OfficeScan Master Service」服務
在OSCE的伺服器上,使用文字編輯器開啟Ofcscan.ini檔案。
(檔案路徑:c:\Program Files\Trend Micro\Officescan\PCCSRV\ofcscan.ini)
尋找到"DisableSIDName"並將值更改為1。
修改結果如下:
[Global Setting]
DisableSIDName=1
請參考下圖:

接著起動「OfficeScan Master Service」服務
1.儲存檔案。
2.登入OSCE主控台
3.點選"全域代理程式設定"
4.點選"儲存"即可派送此設定到代理程式的電腦。電子郵件通知的信件就可以顯示使用者名稱了。