Close-up of Vikash's eyes behind his favourite dark-rimmed glasses About Roy

Prepopulating Citrix Receiver within ICA session.

We get the requirement quite   often that once users logged into virtual desktop application should launch via seamlessly. Here seamlessly have many meaning  and it varies from customer to customer. For example one customer would like the application to be present as a shortcut in the start menu and when users click the application it must do single sign on.  There are various way to achieve this. Once can import receiver ADM template using gpedit.msc

To prepopulate the receiver with the URL

Prepopulating Citrix Receiver within ICA session. — screenshot 1

To prepopulate url , one can do it via adm template or via Citrix HDX policy . To do it via adm template, import it into local policy and then perform following settings

Prepopulating Citrix Receiver within ICA session. — screenshot 2]

Once storefront url is selected value must be entered in following format “

SalesStore;https://sales.mycompany.com/Citix/Store/discovery;On;Store for Sales staff” and even one doesn’t want to wish to have it. So once this is done it will prepopulate the URL.

Once url is prepopulated, SSO has to be done. To do the so , we must choose “local user name and password” and then choose Enable pass-through authentication.

Prepopulating Citrix Receiver within ICA session. — screenshot 3

This will allow single sign on and allow users to launch application seamlessly.

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty

I came across interesting issue on two occasion when I tried adding second node to the SQL 2012 cluster node. After it detecting the second server detail, account name for “SQL Server Agent”  is blank. After we typed password this still fail with error message “There are validation error on this page”

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 1

We tried rebooting boxes but that didn’t help. Finally to fix this we need to create

1. SQL Server agent 2. Add the same agent as fail over cluster resources.

You can do this steps on any of the fail over cluster node. Use following PS editor to run the command

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 2

$ClusterName = "YourClusterName"
$FciClusterGroupName = "SQL Server (MSSQLSERVER)" # may need to modify to reflect your environment

Add-ClusterResourceType -Name "SQL Server Agent" -Dll "sqagtres.dll" 

Output of command will be like this

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 3

Once this is done,select role –>Add Resource –> More Resources –>

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 4

More Resources –> SQL Server Agent

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 5

Select “New SQL Server Agent” and --->properties –>Dependencies select resource as “SQL Server”

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 6

Now select properties tab and type  InstanceName = <Name of the SQL server Instance name> VirtualServerName =<Name of the SQLCluster>

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 7

Now the “New SQL Server agent”  will start

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 8

Make sure the registry on primary server is set to 1

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 9

After above steps when setup is run again , it was able to see SQL Server Agent users name.

Failed to add a Failover Cluster Node because “SQL Server Agent” account name empty — screenshot 10

Yeah I am also a SQL expert Smile

Source here