Stéphane Thirion
  • Home
  • Consulting – Raidho
  • homelab
3K
0
0
0
Stéphane Thirion
Stéphane Thirion
  • Home
  • Consulting – Raidho
  • homelab
  • Citrix
  • Microsoft
  • PowerShell
  • Provisioning Services
  • Windows 2008 R2
  • XenApp
  • XenDesktop

Trend ServerProtect 5.80, XenApp 6.5 / PVS

  • January 7, 2014
  • Stephane Thirion
Total
0
Shares
0
0
0
0
0
0
0

AntiVirus software are always pain in the ass when it’s about delivering desktops through golden images system like Citrix Provisioning Services. It’s changing but still, in most of the company I’m working for there is always the AntiVirus dude who is yelling and requesting to be able to watch / watch and be able to know where the Antivirus software is deployed, if it’s up to date and if all the machine are ok.

ScreenShot618

Last blog I did about an antivirus was about Symantec SEP 11 (here) and Symantec did their job by understanding what was a virtual environment about with the version 12.

With TrendMicro and ServerProtect, we’re not there yet… Even if their product Office Scan seems to fit better the needs, today I had to deal with Trend Micro ServerProtect installed on the PVS golden images.

ScreenShot619
Trend Micro ServerProtect 5.80 console with red everywhere and without the 80 XenApp servers provionned by PVS

The problem remain the same, a Trend GUID is created when installing the piece of software on the golden image but won’t change across multi machine usage. The Trend GUID is located in the registry : HKEY_LOCAL_MACHINESOFTWARETrendMicroServerProtectCurrentVersionSpntServiceNS_GUID with a 75 long character chain.

What I had to do :

  1. Create a 75 random character string
  2. Replace the registry value
  3. create a flag so the value won’t change at each reboot

So I did with my crappy PowerShell skills a very small script (and thanks to Livio @EldejiPoint for the cleanup ^^ )

Random Trend   
$file = "D:trend.txt"
$result = [string]::Empty
 
$set    = "abcdefghijklmnopqrstuvwxyz0123456789".ToUpper().ToCharArray()
 
if (![System.IO.File]::Exists($file))
{
    for ($x = 0; $x -lt 75; $x++)
    {
        $result += $set | Get-Random
    }
 
    # return $result
 
    set-ItemProperty -Path "hklm:SOFTWARETrendMicroServerProtectCurrentVersionSpntService" -name "NS_GUID" -Value $result
 
    $result | Add-Content -Path $file
}

So this script will be executed as a startup script for the computer (using GPOs) and by creating a trend.txt file on the fixed drive (d:) the generated Trend GUID won’t change upon the file is removed.

I hope it will help !

Total
0
Shares
Tweet 0
Share 0
Share 0
Share 0
Share 0
Share 0
Share 0
Related Topics
  • antivirus
  • Citrix
  • PVS
  • Serverprotect
  • trend
  • trendmicro
  • Windows
  • XenApp
Stephane Thirion

Previous Article
  • Citrix
  • Receiver
  • Storefront
  • WebInterface

Citrix Storefront 2.1 vs WebInterface

  • January 3, 2014
  • Stephane Thirion
View Post
Next Article
  • Azure
  • Citrix
  • Cloud
  • Experience
  • Microsoft
  • NetScaler
  • VMware
  • vSphere

Cloudify my lab with Windows Azure

  • January 19, 2014
  • Stephane Thirion
View Post
You May Also Like
View Post
  • Active Directory
  • ADC
  • Citrix
  • Citrix Virtual Apps and Desktops
  • DaaS
  • Microsoft
  • NetScaler
  • Security

Netscaler native OTP Active Directory account delegation

  • Stephane Thirion
  • March 22, 2023
View Post
  • ADC
  • Citrix
  • NetScaler
  • SDX
  • Uncategorized

Invalid time in the Message sent by the Peer. Please ensure time synchronization between Netscaler and the Peer

  • Stephane Thirion
  • March 3, 2023
View Post
  • ADC
  • Citrix
  • NetScaler
  • SDX

Netscaler SDX LACP on 0/1 and 0/2 (Management Interfaces)

  • Stephane Thirion
  • March 2, 2023
View Post
  • Citrix
  • Citrix Virtual Apps and Desktops
  • Cloud
  • DaaS
  • Microsoft
  • PowerShell
  • VMware
  • vSphere

Create vmware service account for MCS Citrix

  • Stephane Thirion
  • February 28, 2023
View Post
  • Citrix
  • CTP
  • Uncategorized

This is the end of an era

  • Stephane Thirion
  • February 16, 2022
View Post
  • VMware
  • vSphere
  • Windows 2022

Migrating FSMO roles Windows 2022 Server

  • Stephane Thirion
  • January 3, 2022
View Post
  • ADC
  • Experience
  • Linux

Cloud yes but no, thanks (there is some Citrix)

  • Stephane Thirion
  • December 7, 2021
View Post
  • Azure
  • Azure
  • PowerShell
  • Scripting
  • Security

Export all Admin Roles and members from Azure AD

  • Rodolphe Herpeux
  • March 25, 2021
vmware
Binance – Affiliated link
Coinbase – Affiliated link
Blog Stats
  • 1,239,235 hits
Categories
  • Amazon (1)
  • Apple (20)
    • iOS (5)
    • Mac OSx (11)
  • ArchY.net Site (30)
  • Azure (8)
  • Certifications (3)
  • Citrix (211)
    • ADC (4)
    • Citrix Virtual Apps and Desktops (5)
    • DaaS (2)
    • NetScaler (15)
    • Password Manager (3)
    • Personal vDisk (5)
    • Power and Capacity Management (3)
    • Provisioning Services (22)
    • Receiver (29)
    • SDX (2)
    • ShareFile (8)
    • Single Sign On (3)
    • SmartAuditor (2)
    • Storefront (12)
    • Synergy (25)
    • User Profile Management (2)
    • VDI (7)
    • WebInterface (21)
    • XenApp (84)
    • XenApp Plugin (3)
    • XenClient (10)
    • XenDesktop (55)
    • XenServer (42)
  • Cloud (13)
  • Crystal Ball (2)
  • CTP (13)
  • Docker (2)
  • Events (35)
    • E2E – PubForum (9)
    • Geek Speak (3)
  • Experience (53)
  • Kubernetes (2)
  • Licensing (3)
  • Linux (12)
  • Microsoft (147)
    • Active Directory (1)
    • Azure (8)
    • Office365 (4)
    • PowerShell (19)
    • RDS (5)
    • Windows 10 (6)
    • Windows 2003 (21)
    • Windows 2008 (20)
    • Windows 2008 R2 (54)
    • Windows 2012 (13)
    • Windows 2012R2 (13)
    • Windows 2016 (18)
    • Windows 2019 (4)
    • Windows 2022 (1)
    • Windows 7 (27)
    • Windows 8 (19)
    • Windows Virtual Desktop (1)
    • Windows XP (11)
  • News (5)
  • Raidho (2)
  • Raspberry (3)
  • Scripting (13)
  • Security (5)
  • Slide Deck (1)
  • Thin Clients (3)
  • Twitter (1)
  • Ubiquiti (1)
  • Uncategorized (13)
  • VMware (28)
    • VMWare WorkStation (2)
    • vSphere (16)
Stéphane Thirion
Don't Follow the Trend

Input your search keywords and press Enter.

 

Loading Comments...