This article describes how to configure XenApp 6 and XenApp 6.5 using an unattended process.
Complete the following steps to run an unattended XenApp 6/XenApp 6.5 configuration:
Install Windows 2008 R2.
Add Remote Desktop Service Role.
Install XenApp 6/6.5 without any configuration.
Copy the IMA data store DSN file on to the server using the following command:
Copy \\[Your path]\sql.dsn c:\sql.dsn
"XenAppConfigConsole.exe" /ExecutionMode:Create /FarmName:[FarmName] /CitrixAdministratorAccount:%computername%\administrator /AddLocalAdmin:True /LicenseServerName: [License Server Name or IP] /LicenseServerPort:27000 /ZoneName:Zone1 /AddUsersGroupToRemoteDesktopUserGroup:True /CustomXMLserviceport:8080 /AuthenticationType:sql /DsnFile:c:\sql.dsn /OdbcUsername: /odbcPassword: /log:c:\createfarm.log
copy \\[Your Path]\sql.dsn c:\sql.dsn
“XenAppConfigConsole.exe" /ExecutionMode:Join /LicenseServerName:[License Server Name or IP] /LicenseServerPort:27000 /ZoneName:Zone1 /AddUsersGroupToRemoteDesktopUserGroup:True /CustomXMLserviceport:8080 /AuthenticationType:sql /DsnFile:c:\sql.dsn /OdbcUsername: /odbcPassword: /log:c:\joinfarm%1.log NOTE: Use 'Execution Mode: Leave' to leave the farm.
“XenAppConfigConsole.exe" /ExecutionMode:Join /LicenseServerName:[License Server Name or IP] /LicenseServerPort:27000 /ZoneName:Zone1 /AddUsersGroupToRemoteDesktopUserGroup:True /CustomXMLserviceport:8080 /AuthenticationType:sql /DsnFile:c:\sql.dsn /OdbcUsername: /odbcPassword: /log:c:\joinfarm%1.logNote: This article follows a two step process; Create farm (step 5) and Join farm (step 7).
XenApp Configuration Options:
/NotStrict
/Confirm
/Pause
/Log:<log file>
/SqlExpressRootDir:<SQL Express Install Src Dir> (Default:..\Sql Express 2008)
/ExecutionMode:[Create | Join | Leave]
/FarmName:<Farm Name>
/CitrixAdministratorAccount:<Domain Name/User Name>
/SimpleDB
/ServerName:<Citrix Server>
/DsnFile:<Dsn File>
/AuthenticationType:[Windows | Sql] (Default:Windows)
/OdbcUserName:<The Odbc User Name>
/OdbcPassword:<The Odbc Password>
/LicenseServerName:<License Server Name>
/LicenseServerPort:<License Port> (Default:2700)
/EnableShadowing:[True | False] (Default:False)
/ProhibitRemoteControlShadowing:[True | False] (Default:False)
/ForceShadowAcceptancePopup:[True | False] (Default:False)
/LogAllShadowConnections:[True | False] (Default:False)
/SmartAuditorServerName:<Smart Auditor Server>
/ZoneName:<Zone Name> (Default:Default Zone)
/CustomXmlServicePort:<Port Number> (Default:80)
/AddAnonymousUsersToRemoteDesktopUserGroup:[True | False] (Default:False)
/AddUsersGroupToRemoteDesktopUserGroup:[True | False] (Default:False)
/AddAuthenticatedUsersToRemoteDesktopUserGroup:[True | False] (Default:False)
/AddLocalAdmin:[True | False] (Default:False)
/SkipXmlSetting:[True | False] (Default:False)
Mapping old tool Parameters to XenApp Configuration Options:
FARM_SELECTION /ExecutionMode:
NEW_FARM_NAME /FarmName:
DOMAIN_NAME, USER_NAME /CitrixAdministratorAccount:
SILENT_DSNFILE /DsnFile:
ODBC_USER_NAME /OdbcUserName:
ODBC_PASSWORD /OdbcPassword:
LICENSE_SERVER_NAME /LicenseServerName:
LICENSE_SERVER_PORT /LicenseServerPort:
SHADOWING_CHOICE /EnableShadowing:
ZONE_NAME /ZoneName:
XML_PORT_NUMBER /CustomXmlServicePort:
XML_CHOICE
ADD_ANON_USERS /AddAnonymousUsersToRemoteDesktopUserGroup:
SHADOW_PROHIBIT_REMOTE_ICA /ProhibitRemoteControlShadowing:
SHADOW_PROHIBIT_NO_NOTIFICATION /ForceShadowAcceptancePopup:
SHADOW_PROHIBIT_NO_LOGGING /LogAllShadowConnections:
CREATE_REMOTE_DESKTOP_USERS /AddUsersGroupToRemoteDesktopUserGroup:
0 - Success
1 - Invalid Command-line options
2 - Unmatched Parameters
3 - Invalid Parameters
4 - Commit Failed
Successful