In the same way as the previous blog post, some more automation to maintain a VDI/RDSH environment, and get back to a controlled and clean environment. This blog is a follow up to Remotely clean up Virtual Machines drives – XenDesktop , Expand virtual machines hard disk – automation , XenDesktop XenApp 7.x – vmware / ad / delivery group notes and descriptions sync . I had to automate an action to place ACLs on the D: drive using Powershell and icacls. This script is using XenDesktop / XenApp command to list all the Virtual Machines with SessionSupport value equal to SingleSession, it means the VDI only in my case. If you want to check the list of Virtual Machines you targeted you can use this command : If you want to target a specific XenDesktop Delivery Group, then just adapt the previous line : Once you know the target, you can execute the following script. Using this script assume Virtual Machines are switched on. If you have suggestion, and/or comment, share your though !
Following up the previous blogs XenDesktop XenApp 7.x – vmware / ad / delivery group notes and descriptions sync and Expand virtual machines hard disk – automation and continue in automated task, I had to clean up the D: drive of different XenDesktop Delivery Group. As there was no security restriction on the D: drive some users used it as a repository for some of their project... That caused some issues : Users complain of losing their working data from a session to another (pooled VDI, new logon = new vm) Some disk space notification where displayed to random users... Calls where raise to the helpdesk support team Beside hiding the D: drive to avoid non necessary access (ie : non system access) check this blog to do so : Citrix XenApp – Hiding system drives part 1/2 an automated task had to be performed to "clean" this D: drive The variable $XDDC is the FQDN of a Delivery Controler, $Exclusion is the files and folder you want to exclude from being removed. For example : the directories "logs" "pvsvm" "System Volume Information" "$RECYCLE.BIN" and the files "dedicateddumpfile.sys" "pagefile.sys" and "vdiskdif.vhdx" will be ignore from the delete process. Most of these files and directory are system protected anyway it's more to avoir error during script execution. Once you have a clear list of what you need and want to keep you can proceed to the next step. This script will clean everything which is not in the $Exclusion list so be careful when you run the script. This script assume all the targeted VM are switched ON of course. Leave a comment bellow if you have an idea how to improve this script !
Sometimes, at some customers's place, with an infrastructure already in place (XenApp with PVS or XenDesktop VDI pooled with PVS) the D: drive is too small. The drive where you redirect Windows Event Logs, Logs (UPM for example and/or other applications - services) This is a drive where page file is often redirected as well and even memory dump file generated. PVS cache can also be on this drive : Cache on device RAM with overflow on Hard Disk When RAM is zero, the target device write cache is only written to the local disk. When RAM is not zero, the target device write cache is written to RAM first. When RAM is full, the least recently used block of data is written to the local Write Cache disk to accommodate newer data on RAM. The amount of RAM specified is the non-paged kernel memory that the target device consumes. Cache on device Hard Disk The cache on local HD is stored in a file on a secondary local hard drive of the device. It gets created as an invisible file in the root folder of the secondary local HD. The cache file size grows, as needed, but never gets larger than the original vDisk, and often not larger than the free space on the original vDisk. It is slower than RAM cache, but faster than Server cache and works in a HA environment. The lack of space on this drive will bring some slowness in user's session and this drive needs to be expanded a bit to get back a normal user experience. To expand these disks two actions need to be done : Expand the Virtual Machine hard disk - in this example vmware Virtual Machines Expand the disk within the Operation System (Windows) In addition to the following script, psexec tool (Microsoft Sysinternal) is used to execute remotely the diskpart command listed in a text file (diskpart.txt) which is upload to the Virtual Machines. Targeted Virtual Machines need to be powered on. Psexec.exe and Diskpart.txt needs to be in the same folder as the Powershell script, of course you can specify their path as it suits your need. This script is using XenDesktop / XenApp command to list all the Virtual Machines with SessionSupport value equal to SingleSession, it means the VDI only in my case. If you want to check the lust of Virtual Machines…
I had this weird issue on my iMac 27" running OS X Yosemite 10.10.2 with the Citrix Receiver 11.9.0 while installing it. The color of my Windows 8.1 published desktop went really weird : On the left this is my desktop with Citrix Receiver 11.8 and on the right Citrix Receiver 11.9, this is really weird and resizing, full screen or not, the color remain degraded. So I posted on Citrix's forums and I got very quickly an answer from Dustin Norman [link] To make it quick a change in the Citrix Receiver config file needs to be done. You need to edit and change the line in the [WFClient] section And then, here you go, everything is back to normal. vd3d is the component for Aero redirection, I don't fully catch what is the impact to disable it, I need to check it a bit further to fully understand.
This one has been pain in the ass to find out... Since Java 7 (1.7_xx) the security and setting management is a total nightmare. This is so messy you can't find a reliable information on Oracle website... The worse thing is all the mechanism seems to change between versions... from 1.7_01 to _11 is one way to do thing and version after it's done another way... Here is the ugly pop up I want to eliminate from the user interface on the XenApp Desktop. To do so, I had to check every change within files, registry to finally find out everything was located in the registry for this version of java, JRE7 1.7_13... So I wanted to create a GPP to target user connected on the XenApp servers, here is my xml file created from a registry export : Next, I wanted to filter this GPP with a WMI filter, this WMI Query will look for locations of the JRE7 Folder on the System and if found it will apply the policy. And this works ! I didn't need to do anything with deployment.properties and deployment.config as described everywhere on the Oracle website... (This website is really pain in the ass to find good documentation...) I hope it will help, and I hope Oracle will stop to change the way we need to use to manage Java configuration....
The VDA version delivered with XenDesktop 7 bits is 126.96.36.19918 The VDA can be deployed two ways, via the GUI setup and in an unattended way. Using the GUI is easy and can be done very quickly - but it remains manual deployment. Here are screenshot so for the one who won't have time to check it out, you can already know what you might face very soon. Next blog will be about VDA installation for Desktop and Server OS
XenDesktop 7 is now available with different features and entitlements (link) and yes there is a lot to read on this webpage but most of everything is already known features. So I will just write now what I read between the line : No more Citrix Streaming Application (RIP) in favor of Microsoft APP-V XenServer is now version 6.2 and Open Source ! http://www.xenserver.org/ Seamless Local Apps is now official and build-in. PVS is version 7 now and MCS continue its evolution. (I'll come back later on a blog post about that) Edgesight is included in XenDesktop 7 (Another blog post subject) Storefront is now version 2 Receiver for Windows is v4 Windows 8 and Windows 2012 supported Many other changes I need to cover later on Several editions are available today : Now this is time to show you how the installation process, pretty straight forward as I already mention and this is for those who are curious about this new version and don't have tie to POC it or try it right away. To download Citrix XenDesktop 7, this is the way -> [link] XenDesktop 7 Edocs : [link] XenDesktop 7 Admin Guide : [link] XenDesktop 7 Upgrade Guide : [link] XenDesktop 7 Install Guide : [link]
This is an annoying issue, I just downloaded the ISO from Microsoft and had to face the impossibility to activate it... "Windows isn’t activated” Error Code : 0x8007007B, the filename, directory name, or volume label syntax is incorrect. The pre register product key is not good and you basically need to change it using the following command (using administrator privilege" Open a command prompt window slmgr /ipk HGTY3-JVFJH-3B5VD-WZR8D-JDGR8 (Your own product key of course) The old product key will be replaced with the new one and Windows 8 RTM will be activated automatically.
This very big ISO file need to be installed on Windows to be able to use it. Tis toolkit has been design to customize Windows Embedded 8 deployment by giving three softwares : Image Configuration Manager, Module Designer and Windows Embedded Developer Update. The installation is simple, next next ok finish, you just need to know you need to have both 32bit and 64bit ISO DVD of Windows Embedded 8 to be able to package and customize installations. Once the installation is done, the three icon are available on the Metro Desktop. First stop the Image Configuration Editor You can build an image by using Image Configuration Editor. If you chose the advanced path for image development, this process will get you started with building an image. Although it takes more time to build an image by using Image Configuration Editor than by using Image Builder Wizard, this tool is the most flexible and versatile way to define your image requirements, especially when you need the image size to remain small. This has been very easy to create to WinPE media folder, you can create USB key as well. The Module Designer If you wish to add a module and integrate it to you custom deployment, this is quite easy as well : Windows Embedded Developer Update Windows Embedded Developer Update is an application that you can use to automatically search for, download, and install the latest updates for Windows Embedded 8 Standard. And this is it, I made several custom media ready for deployment and Microsoft kept the good way and keep simple the Embedded software customizations. But this haven't evolve dramatically since many years now, maybe admin tools should evolve as much as Windows Operating System are changing.
Microsoft had to make Windows 8 available as an embedded OS for thinclient (among other use cases) I had to try it out to check what is changing regarding Windows 8 Standard or Enterprise edition and previous Embedded OS. What's new in Windows 8 Embedded and with this Release Preview : Rich Line of Business Experiences Delight your customers with smooth, responsive, immersive experiences powered by Windows 8 applications, Multi-Touch, Internet Explorer 10 and more. Connected Deliver a solution that stays up and running, and allows you to connect to the things that matter most inside and outside the four walls. Targeted Deliver a targeted device experience with powerful OS development tools and enhanced lockdown and branding capabilities to meet the line of business needs of your customers. Intelligent Systems Ready Create a device that can be secured, managed and connect to IT systems to extend intelligence through the business process. Secure Utilize Windows 8 technologies to protect the device, data, and network to keep business running smoothly. The hardware requirements to install this OS are as follow : 1 GHz 32-bit or 64-bit processor. 1 GB of operating system memory (32-bit system) or 2 GB of operating system memory (64-bit system) 11 GB of free hard drive space for complete installation One or more of the following media devices: DVD-ROM drive USB 2.0 port If you want to read more about Windows 8 click here [link] First the installation of this OS is straight forward as Windows 8 is, there are some different options regarding image you might want to use for deployment (WIM) The installed naked OS look like that : And the "regular desktop" Regarding raw performances, I've been really surprise to see Windows 8 Embedded was behaving very smoothly on a thin client like HP t5740e [link] I also installed it on my XenServer @ Home as a Windows 8 vm and XenTools installation went fine, no issue yet, I gave to this VM 2 vCpus and 1024Mb of memory to check what were the raw performances out from the box When Windows 8 Embedded is installed, the space used on the hard drive is 3,39gb : That was the presentation and the basic stuffs with Microsoft Windows 8 Embedded Release Preview, now here is what's I like to do, keep digging to find some cool stuff under the hood. Let's try the ThinClient template…