Entries by Remko Weijnen

Could not load file or assembly 'System.Configuration'

Today I was asked to troubleshoot an executable that didn’t work correctly on Windows XP Embedded. On startup it displayed the following message: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass embly ‘System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b0 3f5f7f11d50a3a’ or one of its dependencies. The system cannot find the path spec ified. File name: ‘System.Configuration, Version=2.0.0.0, […]

Cookie Error on Citrix XenApp

A user reported that the following error while visiting a website on a Citrix XenApp server: I tried adding the site to the Trusted Sites List and adding the url to the Per Site Privacy list: But this didn’t work, but I noticed that the site was “flickering” a lot so I suspected that HDX […]

Reset Root Password on Linux Virtual Appliance

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: Remko WeijnenWas once […]

AuthorizationManager check failed when starting PowerShell

When Launching a PowerShell script I noticed the following error: “AuthorizationManager check failed.” This happens because either the Current User or the All Users PowerShell profile is empty. Remko WeijnenWas once an enthusiastic PepperByte employee but is now working elsewhere. His blogs are still valuable to us and we hope to you too.

PowerShell RegEx Fun

I am writing a script that is going to automate a number of manual steps involved in creating a new image with Citrix PVS. First step is to copy the most recent base image which is kept in a folder structure. The folder name is always YYYY-MM-DD (description): I needed to determine the most recent […]

Windows 8 comes with free hardware/software inventory tool

Yesterday I wrote about the Windows 8 CP WebSetup installer and told you that the Application Compatibility check creates a few XML files in the folder %AppData%\Local\Microsoft\WebSetup\Panther. So what can we do with them? The XML files are created by a separate exe in the WebsetupExpanded folder called WicaInventory.exe with the arguments: /apps /fast /ext […]

Shutdown option on the logonscreen with Imprivata Onesign

I logged remotely to a server with RDP and I noticed that  I had options to restart or shutdown that server. This means we can shutdown or restart a server without physical access and without authentication: Remko WeijnenWas once an enthusiastic PepperByte employee but is now working elsewhere. His blogs are still valuable to us […]

Session freeze when starting Excel

Environment Windows 2003 Enterprise (32 bit), Citrix XenApp 5, RES Workspace Manager 2011, McAfee VirusScan Enterprise 8.7.0i. Problem When a opening an Excel workbook from Sharepoint the whole session freezes. I asked the user to open an Excel workbook from Sharepoint and I noticed the following popup: So my first thought was that the user […]

Script to Get Computer OU

Just some quick code to get the OU Name of the computer we run the script on. VBS: Function GetComputerOU Dim objSysInfo: Set objSysInfo = CreateObject(“ADSystemInfo”) Dim objComputer: Set objComputer = GetObject(“LDAP://” & objSysInfo.ComputerName) Dim objOU : Set objOU = GetObject(objComputer.Parent) GetComputerOU = objOU.OU End Function Wscript.Echo GetComputerOU PowerShell: function GetComputerOU { $SysInfo = New-Object […]

Scripting Citrix Online Plugin Settings

The Citrix Online Plugin has a number of settings that can be changed. This includes things as Window Size and Color Depth: In my case I wanted to preset the Window size to Full Screen so using Process Monitor I checked where the Online Plugin writes this setting. I Used a Filter that includes only […]