Remko Weijnen's Blog (Remko's Blog)

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


12,281 views

I am working on a launcher tool for Citrix XenApp that can not only connect to a published application or published desktop but can also leverage Citrix Workspace Control to reconnect to disconnected and/or active sessions.

There doesn’t seem to be any sdk that exposed the data we need so I am trying to reproduce what the Citrix online plugi-in does.

I used a HTTP monitoring tool to capture the traffic between the Online plug-in and the Web Interface. First the online plug-in will retrieve the config.xml from the server specified via the Change Server option:

What is the address of the server hosting your published resources? | Server Address | Example: servername (for non-secure connections) | https://servername (for secure connections)

Read the rest of this entry »

  • 6 Comments
  • Filed under: Citrix
  • 1,625 views

    For a research project I tried to install Windows NT 4 Terminal Server on VMWare Workstation (version 8).

    The setup would always fail however with the following error:

    Setup was unable to verify drive C:\ | Your computer may lack sufficient memory to carry out the verification, or your Windows Terminal Server CD-ROM may contain some corrupt files. | Press ENTER to continue

    Obviously the installation doesn’t really fail because of too little memory and neither is the installation disc (an iso file) corrupt, it’s a bug.

    Read the rest of this entry »

  • 0 Comments
  • Filed under: VMWare
  • 4,408 views

    I needed to dome some Bit Shifting in PowerShell but unfortunately PowerShell lacks operator for Bit Shifting. I searched the .NET Framework for anything that allows for bit shifting but was unable to find anything suitable.

    I didn’t want to revert to C# so I implemented shift left and shift right functions in PowerShell.

    The code isn’t really pretty and could probably be improved (comments/improvements are welcome!) but here goes (please note that I implemented for bit shifting a byte):

    Read the rest of this entry »

  • 3 Comments
  • Filed under: PowerShell
  • 1,636 views

    A user reported that the following error while visiting a website on a Citrix XenApp server:

    You must have cookies enabled in order to user this tool. Please reload the page and try again.

    I tried adding the site to the Trusted Sites List and adding the url to the Per Site Privacy list:

    image

    But this didn’t work, but I noticed that the site was “flickering” a lot so I suspected that HDX Flash Acceleration was the problem.

    Read the rest of this entry »

  • 0 Comments
  • Filed under: Citrix
  • 2,420 views

    I needed to login as root on a Linux based virtual appliance to do some troubleshooting. In my case the appliance was running Suse Linux Enterprise.

    I booted the VA using the Ubuntu Live CD and opened a Terminal. Then I used the cfdisk tool (sudo cfdisk /dev/sda) to view the partitions:

    cfdisk /dev/sda

    Read the rest of this entry »

  • 1 Comment
  • Filed under: General
  • 5,711 views

    If you want to Create an Active Directory group with PowerShell there are a few things you need to be aware of:

    First of all there is no direct way to create new objects in Active Directory. You always need to bind to the Domain or an Organizational Unit and call the Create method.

    Example:

    However the group is not yet complete:

    Group name (pre-Windows 2000)

    Read the rest of this entry »

    13,161 views

    When Launching a PowerShell script I noticed the following error: “AuthorizationManager check failed.

    AuthorizationManager check failed.| At line:1 char:2 | Microsoft.PowerShell_profile.ps1'

    This happens because either the Current User or the All Users PowerShell profile is empty.

    Read the rest of this entry »

  • 0 Comments
  • Filed under: PowerShell
  • 20,954 views

    imageInteresting case today: customer uses Imprivate for two factor logon in combination with Citrix XenApp.

    Users reported that logons failed after they had changed their password. After contacting the users we learned that this only happened with special characters in the password like ! and +.

    imageTo do the actual logon to Citrix Imprivata uses an executable which is actually an AutoIT script compiled to an executable.

    After authentication the executable get’s the password from the Imprivata Appliance.

    I decompiled the executable to source and read the line that passes the password to XenApp:

    Read the rest of this entry »

  • 1 Comment
  • Filed under: General
  • 1,869 views

    imageLast week I wrote about an error message the users received when opening documents from SharePoint.

    The article showed how to fix the problem but it didn’t feel good that I didn’t know where this “TreatAs” value was coming from.

    I figured that I could read the timestamp key from the registry to see at what/date time the value was created. This value can be read using the RegQueryInfoKey API but there are various tools that can read it.

    Read the rest of this entry »

  • 0 Comments
  • Filed under: Other, RES
  • 10,733 views

    I wrote a small tool that dumps all stored password for the Microsoft Lync Client that I’d like to share here.

    It’s a commandline tool that takes no arguments:

    Lync Password Dumper

    Have fun with it!

    Lync Password Dumper (8329 downloads )
  • 8 Comments
  • Filed under: Lync
  • Blogroll


    Categories


    Archives