/images/android-chrome-192x192.png

Powershell 7 features

Here are list of some of the powershell 7 features: Pipeline parallelization with ForEach-Object -Parallel New operators: Ternary operator: a ? b : c Pipeline chain operators: || and && Null conditional operators: ?? and ??= A simplified and dynamic error view and Get-Error cmdlet for easier investigation of errors A compatibility layer that enables users to import modules in an implicit Windows PowerShell session Automatic new version notifications The ability to invoke DSC resources directly from PowerShell 7 (experimental) ?

Publish Citrix application to specific servers in delivery group

We may end up in a situation where we have delivery group with multiple servers (Let’s say 10 ) out of which application owners need to publish an application from only given set of servers ( Let’s say 5 ) from those servers. This is how the process goes: Application Launch Process Follow below process to publish application to only few servers in a delivery group. Create a tag and add required servers to the tag.

Citrix desktop service failed to register with any controller - Not registered in citrix studio

Issue: VDI appears as not registered in studio console. Event Viewer shows 1017 error: The citrix desktop service failed to register with any controller. The service will try registering again approximately X seconds. Troubleshooting: Run Citrix Health Assistant tool. This will identify any errors with registration and domain memberships etc.. Make sure you use the correct port number for your VDA registration. By default it is 80. In case in your organization if it is changed, you have to use the same port number.

Citrix PVS Ports

Provisioning Services Ports: Source Destination Type Port Details Provisioning Server Provisioning Server UDP 6890– 6909 Inter-server communication Microsoft SQL Server TCP 1433 Communication with Microsoft SQL Server Domain Controller TCP 389 Communication with Active Directory Target Device (PVS outbound Broadcast/DHCPServer UDP 67 / 4011 Optional: Obtaining network boot information in case DHCP options 66 -TFTP Server Name (Bootstrap Protocol Server) and 67-Boot file Name (Bootstrap Protocol Client) are not configured or boot from ISO/ local disk not used.

Difference between Web Interface and Storefront IMP

Storefront: For StoreFront, the credentials are verified directly to a Domain Controller. SF then passes the validation over to the DDC to begin resource enumeration (Step 4). Note: StoreFront validates user’s credentials by default on its own. From Storefront 3, we can enable xml service based authentication, When StoreFront is not in the same domain as XenApp or XenDesktop, and it is not possible to put Active Directory trusts in place.

Subnet Affinity and Rebalance

We have several options to load balance target devices to vDisks. Under Subnet Affinity, they are None, Best Effort and Fixed. If we want to restrict PVS vDisk streaming to only some subnets, where PVS servers are spread across different subnets, we can use subnet affinity feature. Subnet Affinity When assigning the server and NIC combination to provide a vDisk to target devices, select from the following subnet settings: None:

TCP Offloading

TCP Chimney (sometimes referred to as TCP Offloading) This feature is designed to take processing of the network such as packet segmentation and reassembly processing tasks, from a computer’s CPU to a network adapter that supports TCP Chimney Offload. This has the effect of reducing the workload on the host CPU and moving it to the NIC, allowing both the Host OS to perform quicker and also speed up the processing of network traffic.

Increase VDI login window time

Issue: VDI takes long time to login to the session. When connected to the VDI from RDP, user is able to login but it took long time. So, to test this, we had to increase the VDI login time from Citrix. Solution: One the VDI, change/create the registry key: Key: HKLM\SOFTWARE\Citrix\PortICA Value: AutoLogonTimeout Type: DWORD Specify a decimal time in seconds, in the range 0-3599. Note: This setting applies only to VMs with desktop (workstation) VDAs; Microsoft controls the logon timeout on machines with server VDAs.

View list of users on netscaler gateway

If you go to “Netscaler Gateway” and “Monitoring connections” you will see, “Active user sessions” and “ICA Connections”. The former shows users who have authenticated against the gateway, and the latter is those who have an ICA connection open through the gateway. The lists could be different as a user might have timed out on the gateway but still have an ICA connection open. Active user connection is the user logged on to Netscaler gateway portal and it is still not logged off.

Managing Large Citrix Profiles: Challenges and Solutions for Citrix Admins

Dealing with users who accumulate large Citrix profiles can be a persistent challenge for Citrix administrators. When Citrix User Profile Management (UPM) or Workspace Environment Management (WEM) is employed, a UPM_Profile folder is generated. This folder stores all files and folders within the user’s profile. While desktop, downloads, and document redirection to shared network paths can mitigate profile size issues, some challenges remain. For example, Visual Studio projects or other software tools often default to saving files within the UPM_Profile folder.