Aussie owned and operated, with 23+ years of industry experience, Gold Coast InfoTech is delighted to support all of your business technology requirements.

Gallery

Contacts

success@goldcoastinfotech.com.au

1800 291 071

KBArticles Scripts, Commands, Registry

XenApp 6.5 PVS Generalise Script 2012

Copy of script used to further ‘generalize’ our XenApp servers before cloning via PVS

__ BEGIN SCRIPT ___

REM clear event logs

wevtutil cl System

wevtutil cl Security

wevtutil cl Application

wevtutil cl Setup

wevtutil cl “Forwarded Events”

 

REM Stop Edgesight and Delete database

net stop RsCorSvc

net stop FirebirdServerCSMInstance

del “C:ProgramDataCitrixSystem MonitoringDataRSDATR.FDB” /q

del “D:ProgramDataCitrixSystem MonitoringDataRSDATR.FDB” /q

 

REM stop Appsense Services and delete JUST the machine ID

net stop “AppSense Application Manager Agent”

net stop “AppSense Client Communications Agent”

net stop “AppSense EmCoreService”

net stop “AppSense Watchdog Service”

reg delete “HKEY_LOCAL_MACHINESOFTWAREAppSense TechnologiesCommunications Agent” /v “Group ID”

reg delete “HKEY_LOCAL_MACHINESOFTWAREAppSense TechnologiesCommunications Agent” /v “Machine ID”

 

REM Change EnableSecuritySignature value to 0 for drive mappings to modified down level clients (Win 2000) – this setting didnt work in just GPO.

reg delete “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesLanmanWorkstationParameters” /v “EnableSecuritySignature” /f

reg add “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesLanmanWorkstationParameters” /v “EnableSecuritySignature” /t REG_DWORD /d 0 /f

Author

Customer

Comment (1)

  1. timothygraves
    11 November 2012

    Good post, we do some similar stuff.

Leave a comment

Your email address will not be published. Required fields are marked *