Users' questions

How do I find my database name in Citrix XenDesktop?

How do I find my database name in Citrix XenDesktop?

To check presence of database connection string for all Citrix Services, run the following command:

  1. Get-Command Get-*DBConnection | Get-Unique | Select Name.
  2. Copy all the values in ‘Name’ and paste it in the next command line.
  3. OUTPUT: Database Connection String.

How do I find my database name in Citrix?

on the delivery controller. Both these commands will show your database server, instance name and database name. ConfigLoggingSiteSchema\DataStore\Connections” registry key on the delivery controller and check value of key, ConnectionString.

How do I create a SQL database in Citrix?

Set up the databases from the site creation wizard

  1. Install the SQL Server software on two servers, A and B.
  2. On Server A, create the database intended to be used as the principal. Back up the database on Server A and then copy it to server B.
  3. On Server B, restore the backup file.
  4. Start mirroring on server A.

How do I change my database in Citrix?

To change the location of a database: Set up high availability features as needed. Select Configuration in the Studio navigation pane. Select the database for which you want to specify a new location and then select Change Database in the Actions pane. Specify the new location and the database name.

How do I run a PowerShell command in Citrix?

Type Asnp Citrix* and press Enter. This loads the Citrix-specific PowerShell modules. (Asnp means Add-PSSnapin). Run the Citrix cmdlets.

How do I get Citrix PowerShell module?


  1. Download and install Citrix Studio on the Integration Broker server.
  2. Verify the installation. Open Windows PowerShell as administrator. Enter this command: Add-PSSnapin Citrix* Enter the following commands: Get-BrokerDesktopGroup -AdminAddress CitrixDeliveryController.

Who is Carl Stalhood?

Carl Stalhood is a Citrix Technology Professional (CTP), a VMware EUC vExpert, a VMware Implementation Expert 7 Desktop & Mobility (VCIX7-DTM) and works as a Principal Consultant for Sirius Computer Solutions in Kansas City.

What is local host cache in Citrix?

The Local Host Cache (LHC) feature allows connection brokering operations in a XenApp or XenDesktop Site to continue when an outage occurs. An outage occurs when the connection between a Delivery Controller and the Site database fails. Local Host Cache engages when the site database is inaccessible for 90 seconds.

How do I restore a database in Citrix?

Right-click database, select Tasks > Restore > Database.

Does Citrix use PowerShell?

XenApp and XenDesktop provide an SDK based on a number of Microsoft Windows PowerShell version 3.0 snap-ins that allows you to perform the same tasks as you would with the Citrix Studio console, together with tasks you cannot do with Studio alone.

How do I import a PowerShell module in Citrix?

How does XenDesktop gain access to the database?

Each XenDesktop service gains access to the database through the local controller’s machine account.The services gain access to the database server through their machine account logon (names of the form ‘DOMAIN\\MACHINE$’). These logons do not need to be members of any server-level roles. Citrix provides the privileges required to perform XD tasks:

Do you need permission to create logons in XenDesktop?

However, the creation and manipulation of the machine account logons at the database server is an inherently privileged operation that falls outside the scope of the permissions granted within the XenDesktop database itself.

What are the normal runtime permissions for XenDesktop?

The normal runtime permissions and administrative permissions used by the XenDesktop site are described separately in the following sections. Note: Use of SQL logons (SQL authentication) in place of machine account logons for the XenDesktop services is not a supported configuration.

How to add controller to mirrored XenDesktop database?

Create all service-specific database schemas and add first controller to site. Add controller (other than the first) to site. Add controller login to the database server currently in the mirror role of a mirrored XenDesktop database. Remove controller from site. See note [5] below. Apply schema updates/hotfixes.