Reconfigure XenDesktop Desktop Studio

Reconfigure Desktop Studio Console to select which Desktop Delivery Controller (DDC) you want to connect to

User-added image

Instructions

  1. Close the Desktop Studio console.
  2. Browse to C:Users<Username>AppDataRoamingMicrosoftMMC
  3. Where <Username> is the name of the account you are using.
  4. Delete or rename the DesktopStudio file.
  5. Start the Desktop Studio console. You will be prompt again to enter the DDC.

Note: In XenDesktop 7.x, the file name is Studio.

Disable Java updates with RegKey or GPO

32-bit Java running on a 32-bit OS or 64-bit Java running on 64-bit OS:
KEY: HKEY_LOCAL_MACHINESOFTWAREJavaSoftJava UpdatePolicy
DWORD: EnableJavaUpdate
VALUE: 1 = update enabled or 0 = update disabled

GPO:
Action: Update
Hive: HKEY_LOCAL_MACHINE
Key Path: SOFTWAREJavaSoftJava UpdatePolicy
Value name: EnableJavaUpdate
Value type: REG_DWORD
Value data: 00000000 (that’s 8 zero’s)

NB!! Future Java updates can/will reset this setting after install. Set your GPO ‘Action’ to ‘Update’ should recreate the entry on next GPO refresh

32-bit Java on a 64-bit OS:
KEY: HKEY_LOCAL_MACHINESOFTWAREWow6432NodeJavaSoftJava UpdatePolicy
DWORD: EnableJavaUpdate
VALUE: 1 = update enabled or 0 = update disabled

GPO:
Action: Update
Hive: HKEY_LOCAL_MACHINE
Key Path: SOFTWAREWow6432NodeJavaSoftJava UpdatePolicy
Value name: EnableJavaUpdate
Value type: REG_DWORD
Value data: 00000000 (that’s 8 zero’s)

NB!! Future Java updates can/will reset this setting after install. Set your GPO ‘Action’ to ‘Update’ should recreate the entry on next GPO refresh

Citrix Receiver 4.x deployment comand line install

UNC_PathCitrixReceiver.exe /includeSSON ENABLE_SSON=Yes STORE0=”Primary StoreFront;https://storefront01.domain.local/Citrix/Store/discovery;on;Primary Storefront” STORE0=”Secondary StoreFront;https://storefront02.domain..local/Citrix/Store/discovery;on;Secondary Storefront” ENABLE_DYNAMIC_CLIENT_NAME=Yes /ALLOWSAVEPWD=A /silent /noreboot

XenDesktop 7.6 RemotePC VDA command line install

The following command installs a VDA for Windows Desktop OS to the default location on an office PC that will be used with Remote PC Access.
The machine will not be restarted after the VDA is installed; however, a restart is required before the VDA can be used. The VDA will register initially with the Controllers on the server named ‘xdc01’ & ‘xdc02’ in the domain ‘domain.local’ and will use UDP for audio packets.
HDX ports will be opened if the Windows Firewall service is detected
Note: As an alternative to using the full-product ISO to install VDAs, you can use a standalone VDA installation package as i have in the example below. See Install VDAs using the standalone package
"UNC_PathVDAWorkstationSetup.exe" /components vda /controllers "xdc01.domain.local xdc02.domain.local" /enable_remote_assistance /enable_hdx_ports /optimize /enable_real_time_transport /exclude "Personal vDisk","Machine Identity Service" /quiet /noreboot

Storefront Workspace Control

 

Using PowerShell

Make sure that you close the Admin Console. Run the following code snippet to import the StoreFront PowerShell modules:

$dsInstallProp = Get-ItemProperty `
 -Path HKLM:SOFTWARECitrixDeliveryServicesManagement -Name InstallDir 
$dsInstallDir = $dsInstallProp.InstallDir 
& $dsInstallDir..ScriptsImportModules.ps1

Workspace control reconnect can then be turned on/off by the PowerShell command Set-DSAllowSessionReconnect. Its syntax is:

Set-DSAllowSessionReconnect [[-SiteId] <Int64>] [[-VirtualPath] <String>] `
    [[-IsAllowed] <Boolean>]

For example, if you would like turn off workspace control reconnect for a store in /Citrix/Store, the following command will configure the store appropriately:

Set-DSAllowSessionReconnect -SiteId 1 -VirtualPath /Citrix/Store `
    -IsAllowed $false

Editing web.config

Open web.config under the Store Service, e.g. /Citrix/Store in a text editor. Locate the line looks like:

<resourcesService id="f01f7dc4-7f28-4bc1-b8fb-7c0db9570d20"
      storeLockedDown="false"
      anonymousStore="false" allowSessionReconnect="true" />

Change the value of allowSessionReconnect to false to disable workspace control reconnect or true to enable it.

Treating All Desktops as Applications in StoreFront 3.0

Note: You have to import the StoreFront PowerShell modules before you can run any PowerShell commands below

The following code snippet does this for you:

$dsInstallProp = Get-ItemProperty -Path HKLM:SOFTWARECitrixDeliveryServicesManagement -Name InstallDir
$dsInstallDir = $dsInstallProp.InstallDir
& $dsInstallDir..ScriptsImportModules.ps1

Desktops are treated differently from applications in StoreFront/Receivers. They are placed in a separate Desktop tab and in the case of Receiver for Web, they are not reconnected with workspace control. In some use cases, it is desirable to treat desktops as applications so that they are placed together with applications and get reconnected as part of workspace control. With StoreFront 2.x, you have to add theTreatAsApp keyword to all published desktops to achieve this effect. This can be error-prone if you simply want all desktops to be treated as applications. It lacks flexibility too, if you want one store to treat desktops as applications and the other to preserve  the desktop behaviour. StoreFront 3.0 enables you to configure treating all desktops as applications at the store level without the need of adding the TreatAsAppkeyword to all the published desktops. This is configurable using the PowerShell cmdlet. The syntax is:

Continue reading “Treating All Desktops as Applications in StoreFront 3.0”

Netscaler CLI Upgrade process

  1. Create a location for the installation package. At the shell prompt type:
    1. cd /var/nsinstall
    2. mkdir <buildnumber>
    3. cd /<buildnumber>
  2. Download or copy the installation package (build-<release>-<targetbuildnumber>_nc.tgz) to the directory that you created
  3. Extract the contents of the installation package. Example:
    tar –xvzf build-xx.x-xx.x_nc.tgz
  4. Run the installns script to install the new version of the system software. The script updates the /etc directory. Example:
    ./installns