Home » KBArticles » SCRIPT: set citrix xenapp XML to trusted for localhost

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

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.