Thursday, December 18, 2014

Change Network Interface in Existing Host Connection with XenDesktop

 

Open PowerShell as asministrator.

asnp Citrix* to load Citrix Module.

dir XDHyp:\HostingUnits to get Host connection details.

The following is an example of the output for the preceding commands:

PSPath : Citrix.Host.Admin.V1\Citrix.Hypervisor::XDHyp:\Hosting
Units\SERVERXD01
PSParentPath : Citrix.Host.Admin.V1\Citrix.Hypervisor::XDHyp:\Hosting
Units

PSChildName: SERVERXD01

PSDrive : XDHyp
PSProvider : Citrix.Host.Admin.V1\Citrix.Hypervisor
PSIsContainer : True
HostingUnitUid : 9b0ee1f0-2b45-45d5-9664-8cad350130f8
HostingUnitName : SERVERXD01
HypervisorConnection : XSG7Pool
RootPath : XDHyp:\Connections\XSG7Pool\
RootId :

NetworkPath: XDHyp:\Connections\XSG7Pool\network1.network

NetworkId : d8f21da0-6697-4fce-925b-99c19d4bae70
Storage : {XDHyp:\Connections\XSG7Pool\iSCSI 500GB.storage}
VMTaggingEnabled : True
UseLocalStorageCaching : False
Metadata : {}


Copy PSChildName and NetworkPath from the output:



Set-Item -Path xdhyp:\hostingunits\PSChildName



NetworkPath xdhyp:\connections\XSG7Pool\NetworkName



For example, new network interface is Network2 for the host SERVERXD01



Set-Item -Path xdhyp:\hostingunits\XENSERVERXD01 -



NetworkPath 'xdhyp:\connections\XSG7Pool\Network2.network'

Tuesday, December 16, 2014

Citrix Receiver command line

 

if any of you have suffered the pain of trying to get all the switches to work when installing the Receiver 4.2 via command line syntax, some case sensitive some not!!, the command below works:

CitrixReceiver.exe ADDLOCAL="ReceiverInside,ICA_Client,Flash,USB,SSON" ENABLE_DYNAMIC_CLIENT_NAME=Yes ALLOWADDSTORE=S ALLOWSAVEPWD=S STARTMENUDIR=\CitrixXenApps\ /INCLUDESSON /STORE0="Store1;https://storefront.colv.in/Citrix/Store1/discovery;On;HR Store1"

Monday, December 08, 2014

Citrix XenApp 7.x VDA Registration State stuck in Initialising

 

On October 16th, 2014 Jason Samuel did a really good post on this with a script to restart the affected service on the affected servers.

On XenApp 7x, you notice the registration state of the machine is stuck on “Initializing” in Citrix Studio and no one will be able to launch any apps.

The work around is to restart the “Citrix Desktop Service” on the impacted server.

http://www.jasonsamuel.com/2014/10/16/citrix-xenapp-7-x-vda-registration-state-stuck-in-initializing-and-a-self-healing-powershell-script-to-fix-it/

 

 

 

Cheers

Dave Colvin, http://dave.colv.in

Blog Archive