Scripting

XDPing C# Function

June 13, 2023

I wrote this C# (csharp) function back in 2020 when developing the Self-Service Session Reset Tool. I have since enhanced it for improved error checking and logging and am happy to share it here for anyone else who wants to leverage it. I released a PowerShell version back in 2019. I like to integrate these […]

Read the full article →

Sentinel LDK License Configuration Helper Service

June 9, 2023

Introducing the Sentinel LDK License Configuration Helper Service. This new tool I’ve created uses registry values and/or XML files to configure the client-side Sentinel LDK License Manager (hasplms) service, which updates the configuration in the License Manager Configuration File (hasplm.ini) found under the “C:\Program Files (x86)\Common Files\Aladdin Shared\HASP” folder on a 64-bit Windows machine. It […]

Read the full article →

Citrix Self-Service Session Reset Tool Process Flows

October 31, 2020

***Updated for the release of v1.6. There are eight (8) main process flows for the how the Citrix Self-Service Session Reset Tool works: User Opens Web Page Process Flow Get Sessions Process Flow Logoff Sessions Process Flow Disconnect Sessions Process Flow Restart Machines and Forcefully Restart Machines Process Flow Hide Sessions and Unhide Sessions Process Flow […]

Read the full article →

Citrix Self-Service Session Reset Tool

August 28, 2020

***Please refer to my article on Development Planning for the Citrix Self-Service Session Reset Tool to learn about what updates and new features are being worked on. ***If using a release less than v1.9, please refer to the release history below to understand the new features, enhancements and fixes now included. This tool has been labelled as a […]

Read the full article →

Citrix Virtual Delivery Agent (VDA) Post Install Script

July 18, 2019

UPDATED 20th January 2023 The implementation of UviProcessExcludes registry changes was improved and made easier for others to follow. Although some of these items can be excluded from the Virtual Delivery Agent (VDA) installation, checking and managing them in a post install script ensures we have consistency between all installations and VDA versions. All these actions need […]

Read the full article →

Installing, Configuring, Securing and Using MDT Webservices – Part 3

June 28, 2019

In Part 1 we walked through the installation and configuration of Deployment Webservices. In Part 2 we walked through securing the Webservice. In this part I will demonstrate how to use the Webservice via a PowerShell script to securely move a computer object during the operating system deployment (OSD) task sequence using Microsoft Deployment Toolkit […]

Read the full article →

Best Practice for the Windows Client Side Caching (CSC) kernel driver in VDI workloads

May 21, 2019

It’s been a best practice for a long time to disable Offline Files in both RDSH and VDI workloads. However, this has only ever been based around the Offline Files (CscService) service and some registry tweaks. What people don’t realize is that you must properly disable Offline Files in all VDI workloads by also disabling the […]

Read the full article →

Best Practice for the Windows Time (W32TIME) Service for RDSH and VDI workloads

May 16, 2019

When using image deployment mechanisms for RDSH and VDI workloads, such as Citrix PVS, Citrix MCS and VMware View Composer, it’s extremely important to reconfigure the Windows Time (w32time) Service to ensure that the LastBootUpTime is accurate. If it’s not accurate, it effects monitoring, the correlation of log data, event triggers, etc. The default Manual […]

Read the full article →

XDPing PowerShell Function

May 16, 2019

I wanted to write valid PowerShell function to do an XDPing the same way Citrix do with their Health Assistant tool. I was struggling a little to get the PowerShell code working as expected, so in the end I used JetBrains decompiler to decompile the VDAAssistant.Backend.dll, which is a component of the Citrix Health Assistant Tool. This […]

Read the full article →

Controlling the Starting of the Citrix Desktop Service (BrokerAgent)

March 4, 2019

UPDATED 31st January 2023 Added the DefaultDomainName value to the registry, which tells this script to set the Winlogon DefaultDomainName value in the registry once the autologon process has started. This allows us to use a local account for the Autologon process instead of a Domain service account, which won’t work if the Winlogon DefaultDomainName value […]

Read the full article →