Prerequisites are
Setup SQL database first and grant appropriate access
Ensure target Image has
Dot Net......Support\DotNet35\dotnetfx35.exe
Visual J#......Support\JSharp20\vjredist20se_x86.exe
JRE......Support\JRE1.6\jre-6u14-windows-i586.exe
And the setting >>>Control Panel - System - Hardware - Driver Signing: Ignore or the silent install will pause for a confirmation
If Administration is to be done from this server then include as these are needed before you can install the management consoles, the management consoles are not installed as part of the XenApp Install
Java Runtime Version 5 Update 9 required for the CMC.....Support\JRE1.5\jre-1_5_0_09-windows-i586-p.exe
Microsoft Primary Interoperability Assemblies 2005 required for the CAMC ......Administration\Delivery Services Console\setup\vs_piaredist.exe
Make sure you have already created the mf20.dsn first in the C:\Program Files\Citrix\Independent Management Architecture using the ODBC Create File DSN into that location
Sample mf20.dsn is
[ODBC]
DRIVER=SQL Server
UID=DBUSERNAME
DATABASE=DATABASENAME
WSID=SERVERNAME
APP=Microsoft Data Access Components
SERVER=SQLSERVERNAME
Description=Citrix Datastore
Run >>>>> PATHTO\unattendedinstall.exe PATHTO\mps.msi PATHTO\NathanJoin.txt or NathanCreate.txt (these are the names of the unattended install files) CTX_ODBC_PASSWORD="Enterthepassword" CTX_MF_ADD_LOCAL_ADMIN=Yes
Sample unattended answer files are...
Create A New Farm
[Citrix License Agreement]
AcceptLicense=Yes
[Data Store Configuration]
CreateFarm=Yes
DirectConnect=Yes
ZoneName=
[Direct Connect Settings]
DSNFilePath=C:\MF20.dsn
UserName=NathanTst
[Farm Settings]
FarmName=NathanTestFarm
FarmAdministratorUsername=Add Group or User in Here
FarmAdministratorDomain=Add Domain in Here
[Shadowing Restrictions]
AllowShadowing=Yes
ProhibitRemoteControl=No
ProhibitNotificationOff=No
ProhibitLoggingOff=No
[Citrix XML Service]
ExtendIIS=No
DedicatedPortNumber=80
[Update ICA Clients]
UpdateClients=No
ClientPath=
[Options]
RebootOnFinish=Yes
LogLevel=*v
LogFile=C:\NathanTest.log
UILevel= BASIC_UI
IgnoreMCM=No
RemoveWITurnkey=No
[PresentationServer]
ServerType=Platinum
[LicenseServer]
LicenseServerChoice=UseFarmSettings
LicenseServerName=localhost
LicenseServerPortDefault=1
LicenseServerPort=27000
[MFRDP]
DisableRDPPromptForPassword=Yes
Join Existing Farm
[Citrix License Agreement]
AcceptLicense=Yes
[Data Store Configuration]
CreateFarm=No
DirectConnect=Yes
ZoneName=
[Direct Connect Settings]
DSNFilePath=C:\MF20.dsn
UserName=NathanTst
[Shadowing Restrictions]
AllowShadowing=Yes
ProhibitRemoteControl=No
ProhibitNotificationOff=No
ProhibitLoggingOff=No
[Citrix XML Service]
ExtendIIS=No
DedicatedPortNumber=80
[Update ICA Clients]
UpdateClients=No
ClientPath=
[Options]
RebootOnFinish=Yes
LogLevel=*v
LogFile=C:\NathanTest.log
UILevel= BASIC_UI
IgnoreMCM=No
RemoveWITurnkey=No
[PresentationServer]
ServerType=Platinum
[LicenseServer]
LicenseServerChoice=UseFarmSettings
LicenseServerName=localhost
LicenseServerPortDefault=1
LicenseServerPort=27000
[MFRDP]
DisableRDPPromptForPassword=Yes
|
1
Citrix Application Delivery Technologies / Citrix XenApp & Presentation Server / Unattended install of PS4.5 and XenApp 5 on Windows 2003
on: August 26, 2010, 06:04:39 AM
|
||
| Started by Pepperami - Last post by Pepperami | ||
|
2
Virtualisation Technologies / Microsoft App-V / Softgrid / App-V: New command line for running CMD prompts inside the bubble
on: August 09, 2010, 04:22:03 AM
|
||
| Started by Pepperami - Last post by Pepperami | ||
|
App-V: New command line for running CMD prompts inside the bubble
Ever wanted to open a command prompt for a Virtual Application without editing the package's OSD file? In Microsoft Application Virtualization 4.5 you no longer have to edit the virtual apps OSD to get a command prompt, just run the following command in START -> RUN: Sfttray.exe /exe cmd.exe "APPNAME" This is great for running various utilities within the Virtual Apps user context like: Regedit - See the registry as the application sees it Explorer - Open and view the contents of the Q drive (see note below) Note: To view the contents of the virtual drive using Explorer.exe, you will need to check the "Launch folder windows in a separate process" option in Explorer ->Tools ->Folder Options -> View then close and reopen Explorer. One Caveat: This will not work with Process Monitor. You will still need to edit the OSDs and use the prelaunch command string if you're wanting to use Process Monitor for troubleshooting. See the Knowledge Base article below for more information: |
||
|
3
on: July 15, 2010, 04:30:57 AM
|
||
| Started by Pepperami - Last post by Pepperami | ||
|
On the xendesktop image (windows 7 client) navigate to c:\program files\citrix\virtual desktop agent and edit the file workstationAgent.exe
Add the following keys indicated in bold below the entry <appsettings> <add key="LogToCDF" value="1" /> <add key="LogFileName" value="c:\xdc.log" /> <add key=OverwriteLogFile' value="1" /> Check through the logfile located in the root of C: called xdc.log |
||
|
4
on: June 15, 2010, 04:14:38 AM
|
||
| Started by Pepperami - Last post by Pepperami | ||
|
5
Citrix Application Delivery Technologies / Citrix XenApp & Presentation Server / Custom icaclient.adm to also add pnagent address
on: June 01, 2010, 09:08:05 AM
|
||
| Started by Pepperami - Last post by Pepperami | ||
|
For some reason citrix dont include this option intheir icaclient.adm template so heres one with it included.
NOTE It's an unmanaged Policy so you will need to change the fileter settings to see it |
||
|
6
Citrix Application Delivery Technologies / Citrix XenApp & Presentation Server / How to update the Citrix Online Plugin Client on Web Interface 5 and 5.1
on: May 14, 2010, 06:13:57 AM
|
||
| Started by Nathan Anthony - Last post by Nathan Anthony | ||
|
Instructions are detailed here http://support.citrix.com/article/CTX123001
|
||
|
7
Citrix Application Delivery Technologies / Citrix XenApp & Presentation Server / WScript to check for disconnected session and log off users who are disconnected
on: May 12, 2010, 05:21:48 AM
|
||
| Started by Nathan Anthony - Last post by Nathan Anthony | ||
|
I quite often get requests to check for those sessions that are in a disconnected state in the farm and force them to logoff. In this particular scenario people wanted user profiles copied back to the server before their thin client device went through the scheduled reboot which occurred every night. Below is a vbscript that will do this.
On Error Resume Next '*********************************** ' CONSTANTS DECLARATION ' ':: DISCONNECTED = Constant for disconnected session state, Citrix/VBS defined ':: ADLOCATION = String location of where Xenapp Desktop servers are located Const DISCONNECTED = 4 Const ADLOCATION = "OU=SUBOUNAME,OU=SUBOU NAME,OU=SUBOUNAME,OU=SUBOU NAME,OU=TOP LVL OU NAME,DC=**,DC=****,DC=********,DC=com" ' Bind to OU object Set objGroup = GetObject("LDAP://" & ADLOCATION) ' Enumerate all objects within that OU (should be all XenApp Desktop Servers) For Each objMember In objGroup ' Pull up computer names and concatenate the $ from the end strComputerName = objMember.sAMAccountName strComputerName = Left(strComputerName, Len(strComputerName) - 1) ' If Computer is on, call Function to logoff disconnected sessions If Ping(strComputerName) Then LogOff strComputerName End If Next '*********************************** ' LOGOFF FUNCTION - This function will logoff disconnected users from the computer passed to it via the computer parameter ' Function LogOff(computer) ' Set up the Citrix Object (the computer associated with the computer name MUST have Citrix installed, otherwise the object cannot be created Set objWMICitrix = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & computer & "\root\citrix") ' Select all sessions that are disconnected on the Citrix server Set colItems = objWMICitrix.ExecQuery ("Select * from Metaframe_Session Where sessionstate = " & DISCONNECTED) ' For each of these sessions For Each objItem in colItems ' Log the session off. Do not log off sessionID 0 or 65536 or 65537. These are SYSTEM ICA and RDP sessions If (objItem.SessionID > 0) and (objItem.SessionID < 65536) Then objItem.Logoff End If Next Set objWMICitrix = Nothing End Function '******************************************** ' PING FUNCTION - this function will ping the computer and see if it is awake ' Function Ping(computer) ' Set up Shell Objects Set objShell = CreateObject("WScript.Shell") Set objWshScriptExec = objShell.Exec("ping.exe " & computer) Set objStdOut = objWshScriptExec.StdOut ' Awake = flag to see if computer is on awake = False ' Ping the computer and read the output. Do this until the ping concludes (x4) Do Until objStdOut.AtEndOfStream ' read output of ping strLine = objStdOut.ReadLine ' If the ping recieves a reply (BYTES > 0) then awake is set to "true" awake = awake Or InStr(LCase(strLine), "bytes=") > 0 Loop ' Clean up for next run Set objShell = Nothing Set objWshScriptExec = Nothing Set objStdOut = Nothing ' Return the true/false value of awake Ping = awake End Function |
||
|
8
Virtualisation Technologies / Microsoft App-V / Softgrid / Migrating Windows 2003 APP-V Applications to Windows 2008 R2
on: April 29, 2010, 04:04:46 AM
|
||
| Started by Nathan Anthony - Last post by Nathan Anthony | ||
|
IF you previously used APP-V applications on Windows 2003 you will need to edit the OSD file for every application and add the following entry <OS VALUE="Win2008R2TS64"/>
Without this it will creat an error in the event log with an event ID of 3017 Could not load OSD file........ This will then show up in the console on the Windows 2008 R2 servers |
||
|
9
Citrix Application Delivery Technologies / Citrix Secure Gateway (CSG) and Citrix Access Gateway (CAG) / Re: Maximum concurrent connections with CSG 3.0
on: April 08, 2010, 01:45:28 AM
|
||
| Started by Nathan Anthony - Last post by Nathan Anthony | ||
|
Since writing this 4 years ago there are new options available. Check out the entry level Netscalers available as these would have been included in the design if there were available then.
|
||
|
10
Citrix Application Delivery Technologies / Citrix XenApp & Presentation Server / Printing from XenApp 5 connecting to another PS 4.x farm Fails
on: November 11, 2009, 11:51:17 PM
|
||
| Started by Pepperami - Last post by Pepperami | ||
|
http://forums.citrix.com/thread.jspa?threadID=84277&tstart=0
The private hotfix is attached to this post and needs to be manually copied to each XenApp 5 Server to the "C:\program files\Citrix\ICA Client" directory |
||
