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 Uncategorized

SCRIPT: set citrix xenapp XML to trusted for localhost

‘vbscript
Option Explicit
Dim WSHShell
Dim objNTInfo
Dim GetComputerName
Dim xml
Const MetaFrameWinSrvObject = 6
Set objNTInfo = CreateObject(“WinNTSystemInfo”)
GetComputerName = lcase(objNTInfo.ComputerName)
Set WSHShell = WScript.CreateObject(“WScript.Shell”)
Set xml=CreateObject(“MetaframeCOM.Metaframeserver”)
xml.initialize MetaFrameWinSrvObject,GetComputerName
‘xml.initialize MetaFrameWinSrvObject,”servername”
xml.WinServerObject.TrustXMLRequests = 1
WScript.Quit

Author

Customer

Leave a comment

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