PowerShell code to remove DriveLetters for “System Reserved”Partition and CD-ROM

Depending on how the OS is installed, with Citrix PVS capture you may end up with “System Reserved” partition consuming a drive letter, Code below could be used during a machine startup script to provide a clean user experience. Also, included CD-ROM which I used for PVS BootISO and it is not really needed once …

Publish Outlook 2016 in XenApp

Download Office 2016 Administrative Template files and import ADML and ADMX files to C:\windows\PolicyDefinitions GPO settings below are just a recommendation, Please review and pick  ones that apply to you. Computer Configuration/Administrative Templates/Microsoft Office 2016 (Machine)/Updates Enable Automatic Updates > Disable User Configuration/Administrative Templates/Microsoft Office 2016/First Run Disable First Run Movie > Enable Disable Office …

XenApp 6x – Export Application list with Published Servers

Making report more pretty:open csv with excel and perform replace CTRL + H, Find “, ” Replace with hold the ALT key down and then press 010 on the number pad.ref – http://www.exceldashboardtemplates.com/how-to-find-and-replace-a-hard-return-in-an-excel-spreadsheet/

Installing Applications on RDS/XenApp

Install Mode Admin token CMD >  change user /install Execute Mode Admin token CMD >  change user /execute Notes: change user /query provides the current mode state. when the machine reboots it resets to execute mode. install mode facilitates the capture of user application settings (registry etc..) during the install and apply’s them to multi-user  sessions …

Citrix FMA Maintenance Mode difference between Server OS and Desktop OS

User connectivity is affected as follows when in maintenance mode: With Server OS machines, users can connect to existing sessions but cannot start new sessions. With Desktop OS and Remote PC Access machines, users cannot connect or reconnect once the machine is in maintenance mode. If they are already connected, then they stay connected until …

Disconnect ICA session from inside

[code language=”csharp” title=”C# .Net”] /******************************************************************** * Citrix Server SDK WFAPI Component * Author: Siva Mulpuru * The following code invokes the WFDisconnectSession in WFAPI.dll * Works on XenDesktop and Xenapp ICA session **********************************************************************/ using System; using System.ComponentModel; using System.Runtime.InteropServices; namespace ICA_Disconnect { class Program { const int CurrentSession = -1; static readonly IntPtr CurrentServer = …

Client side XENAPP Session enumeration and selective logoff based on XenApp Server using ICA Client Object (WFICALib)

In my previous post i used AutoIt script to achieve this and now finally figured out to do it using ICA Client Object (WFICALib) [code language=”powershell” title=”PowerShell Script”] #the following keys need to be set on 32bit machine; for x64 use wow6432node. #HKLM\Software\Citrix\ICA Client\CCM\AllowLiveMonitoring=1 (DWORD 32) #HKLM\Software\Citrix\ICA Client\CCM\AllowSimulationAPI=1 (DWORD 32) #Use Program Files (x86) for …

Force logoff XenApp 6/6.5 Session at Disconnect

Two ways to achieve this http://support.citrix.com/article/CTX126775 Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Session Time Limits/Set time limit for disconnected sessions The least one may set is 1 minute. But there are use cases where you may want this to happen right after disconnect. The next method achieves this. http://support.citrix.com/article/CTX127491 Configure [code language=”text” highlight=”2,4″] …

WordPress Appliance - Powered by TurnKey Linux