Remko Weijnen's Blog (Remko's Blog)

About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like


Today I stumbled upon Shodan, a search engine for devices and services.

I decided to search for Citrix and this was the first page of results:

It’s interesting to see that we get details such as the name of published applications. But it’s possible to get even more details:



Read the rest of this entry »

  • Filed under: General

    When I was trying to delete a folder from my local harddrive (cygwin64 in my case) I got the following error message: “Invalid file handle.“:

    Invalid file handle

    I then attempted to delete the folder from the command prompt which failed as well with an “Access is denied” error:


    Read the rest of this entry »



    There has long been a debate about how to accurately view the size of your Citrix Provisioning Services ram cache size. SO much so that even Citrix clarified on how to view this detail using yet another tool

    The thing is, this is all fine and well, but it’s a bit of a pig to actually get this data when you need it, or in an automated way. Wouldn’t it be better if we could have something easier?

    Lately, Andrew Morgan and I decided to sit down and create an easy to use, Windows performance counter for the key metrics in a PVS cache and provide them to the community for use.

    These counters turned out to be fascinating, as they really show how the cache works.

    Our latest counters (which can be downloaded below) provide the following counters for easy access:

    Performance Monitor

    • PVS Ram cache size (MB)
    • PVS metadata size (MB)
    • PVS Write Cache VHD disk size (MB)
    • PVS Ram Cache Percent used. *

    • * As there is no accurate way to detect how much ram is assigned to cache via Citrix Provisioning services, this value must be provided or this performance counter is missing.

    Read the rest of this entry »

  • Filed under: Citrix

    Recently support for NPAPI has been removed from Google Chrome. While understandable from a security point of view it does mean that some plugins no longer work.

    A good example is VMware’s Client Integration Plugin where we’ve lost the ability to upload an ovf template. While VMware has published a fix for vCenter (see this kb), it has not been fixed for vCloud Director:

    The attempted operation cannot be performed using this browser. Re-try using an alternative method:

- Use the VMware OVF Tool to perform the operation. You can download the OVF Tool and its User Guide from the OVF Tool product page at
- Use a browser and platform combination that is supported by vCloud Director for this operation. For the supported browser and platform combinations, see the Release Notes for this version of vCloud Director.

    Read the rest of this entry »


    In versions prior to 6.0 VMware supplied the VCSA (vCenter Server Appliance) as an OVF template that could be imported directly.

    Starting with version 6.0 the installation process has changed and now consist of an .iso file containing a custom, HTML based, installer. Vladan Seget has a nice blog post where he describes the installation.

    This installation process is annoying, it needs a separate client (Windows) machine to run the installer on, requires the Client Integration Plugin (which doesn’t appear to run well on chrome now that support for npapi/dpapi has been removed):
    Please install the Client Integration Plugin 6.0 provided in the vCenter Server Appliance ISO image (requires quitting the browser)

    But even worse is that we cannot import VCSA 6.0 in vCloud Director. Even converting the OVF inside the iso file doesn’t help because vCloud directory lacks support for Deployment Options.

    Read the rest of this entry »


    imageI’m using Windows 10 with BootCamp on my MacBook Pro (Retina, 15-inch, Mid 2015). Overall I’m pretty happy with the hardware but Apple seems to limit functionality when running under Windows.

    A good example is the trackpad which simply doesn’t operate as smoothly as under Mac OSX. This isn’t because Windows is a less good Operating System, it’s simply Apple supplying drivers and support software this is less good.

    For the trackpad I found a good solution with Trackpad++ which enables 2, 3- and 4-finger gestures and improves scrolling.

    Display driver stopped responding and has recoveredThe AMD Display Drivers as supplied with BootCamp are instable leading to “Display driver stopped responding” messages.

    Read the rest of this entry »

  • Filed under: Apple, BootCamp

    ShareFileLogoThe Citrix ShareFile Sync application is quite limited in functionality, one of those limitations is that you can only synchronize to a single (one) local folder.

    As Helge Klein wrote in his excellent article "Configuring Citrix ShareFile Sync from PowerShell" this is simply a GUI restriction and not a restriction in the actual ShareFile sync engine.

    Helge describes that you can easily do this in PowerShell with the following example:

    While the command was accepted, nothing was synchronized.

    Read the rest of this entry »


    Twitter has opened access to Analytics for all users. However when you use an Ad Blocker, like Adblock Plus, you’ll get the following error:

    A problem occurred while loading the page. To use this site, you need to disable AdBlock or any other ads-blocking extension you are using, or customize it to show ads on this site

    For Adblock Plus you can fix this by adding a filter: go to Filter Preferences and on the "Custom filters" tab add a new filter within a filter group (or create a filter group for this rule).

    Use this as a filter rule:



    And don’t forget to Enable the rule!

    EDIT: Twitter user @Ertraeglichkeit mentioned a different method:

    Read the rest of this entry »


    Ini File IconThis morning Aaron Parker was wondering if Hash Tables could be used to work with ini files:

    Aaron Parker | @stealthpuppy | @remkoweijnen @msh_dave need to see if this approach works for editing INI files

    I thought it was a great idea because in Hash Tables you can use the . operator to get or set a Hash Table entry. But I wondered what to do with sections in ini files. Then I got the idea to use nested Hash Tables for that.

    The result is two functions, one to read an ini file into a nested Hash Table and one function to write it back to an ini file.

    Read the rest of this entry »

  • Filed under: PowerShell

    In a PowerShell script I needed to sort a hash table by byte value (not alphabetically, lowercase parameters will be listed after uppercase ones). An example for this requirement is the Amazon Product Advertising API.

    Consider the following hashtable as an example:

    If we use the Sort-Object to order the list (note that we need to use the GetEnumerator method):

    We will get the following result:

    If you use the -CaseSensitive switch the resulting order will remain the same.

    Read the rest of this entry »

  • Filed under: PowerShell
  • Blogroll