Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Variable “%n” does not show the username in the email notification of OfficeScan (OSCE)

    • Updated:
    • 18 Mar 2019
    • Product/Version:
    • Apex One 2019
    • Apex One All.All
    • OfficeScan 11.0
    • OfficeScan 11.0
    • OfficeScan XG
    • OfficeScan XG.All
    • Platform:
    • Windows 2000 Advanced Server
    • Windows 2000 Professional
    • Windows 2000 Server
    • Windows 2003 Datacenter 64-bit
    • Windows 2003 Enterprise
    • Windows 2003 Enterprise 64-bit
    • Windows 2003 Server R2
    • Windows 2003 Standard
    • Windows 2003 Standard 64-bit
    • Windows 2008 Datacenter
    • Windows 2008 Datacenter 64-bit
    • Windows 2008 Enterprise
    • Windows 2008 Enterprise 64-bit
    • Windows 2008 Server Core
    • Windows 2008 Server R2 Enterprise
    • Windows 2008 Standard
    • Windows 2008 Standard 64-bit
    • Windows 2008 Web Server Edition
    • Windows 2008 Web Server Edition 64-bit
    • Windows 2012 Datacenter R2
    • Windows 2012 Enterprise
    • Windows 2012 Server Essential R2
    • Windows 2012 Server Essentials
    • Windows 2012 Standard
    • Windows 2012 Standard R2
    • Windows 2012 Web Server Edition
    • Windows 7 32-bit
    • Windows 7 64-bit
    • Windows 8 32-bit
    • Windows 8 64-bit
    • Windows Vista 32-bit
    • Windows Vista 64-bit
    • Windows XP Home
    • Windows XP Professional
    • Windows XP Professional 64-bit

In the email notification, the “%n” variable is used to show the username. However, there are instances that “%n” is replaced as SYSTEM.

Below is the sample configuration of the notification:

Virus/Malware: %v
Computer: %s
User: %n
Domain: %m
File: %p
Date/Time: %y
Result: %a

The result shows the following:

Virus/Malware: Eicar_test_1
Computer: Hostname
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)


To show the actual username:

  1. On the OSCE server, open c:\Program Files\Trend Micro\Officescan\PCCSRV\ofcscan.ini using a text editor like Notepad.
  2. Look for DisableSIDName and change the value to “1”.

    [Global Setting]

  3. Save the file.
  4. Log in to the OSCE web console.
  5. Go to Global Settings.
  6. Click Save to push the configuration to OfficeScan client machines.

The username should now appear in the email notification of OSCE.

Configure; Troubleshoot
Solution Id:
Did this article help you?

Thank you for your feedback!

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.