About Terminal Server, Citrix, Delphi and other stuff
13 Dec
I am not sure why Volkswagen has altered the behavior of the Coming Home function but on recent B6 and all B7 Passats it works differently.
Previously the Coming Home function was activated automatically either when taking out the ignition key or when leaving the car (depending on coding).
In newer B6 and all B7 models you need pull the high beam stalk towards you before leaving the car which is annoying and looks very silly.
So how can we restore the old behavior?
13 Dec
I was testing a Script I wrote to launch a Citrix XenApp session using the Ica Client Object. Typical code to do this may look like this:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
Const cHttpBrowser = "someurl.local" Const cColorDepth = 4 ' Create the ICA Client Object Dim objIca : Set objIca = CreateObject("Citrix.IcaClient.2") ' Set Credentials objIca.Username = "JohnDoe" objIca.SetProp "ClearPassword", "Secret01" objIca.Domain = "CONTOSO" ' Connection Settings objIca.BrowserProtocol = "HTTPonTCP" objIca.TransportReconnectEnabled = True objIca.HttpBrowserAddress = cHttpBrowser ' Session Settings objIca.Address = "MyApp" objIca.Application = "MyApp" objIca.DesiredColor = cColorDepth objIca.ScreenPercent = 0 ' Full Screen objIca.DesiredHRes = 0 objIca.DesiredVRes = 0 objIca.Launch = True ' Connect objIca.Connect |
On my testmachine it ran nicely but on a customer machine the script failed with the error 2312 “The Citrix online plug-in received a corrupt ICA File. The ICA File has no [ApplicationServer] section“:
9 Dec
I needed to change a few settings on a McAfee VirusScan Enterprise 8.7.Oi client. However there was a password protection in place that locks the user interface and nobody around that could tell me the password. So what to do?
Right, we check out where this password is stored and how we can get rid of it!
I openend vsplugin.dll in Ida Pro and searched for related strings such as password, lock etc.
4 Dec
On a friend’s car, a Passat B7 (3AA) the seat heaters didn’t work. So I connected to the car with VCDS to see if we could troubleshoot this.
I opened Control Module 9, Central Electronics:
Then went to 7 Long Coding, and it turned out that the Seat Heating was not properly coded.
2 Dec
I needed to read out the Maximum Password age with a PowerShell script in a Windows 2003 domain.
Reading out the maxPwdAge attribute is a trivial task in PowerShell (I am re-using the function AdsLargeIntegerToInt64):
|
1 2 3 |
# Read Maximum Password Age (from Domain Policy) # Read maxPwdAge attribute and convert to Int64 $maxPwdAge = AdsLargeIntegerToIn64 $Domain.maxPwdAge.Value( |
In my case this returns the value -78624000000000 but how do we interpret this?
2 Dec
I was creating a small dialog in an .hta file and to make a little prettier for the user I included a company logo:
But I wanted to deploy the .hta as a single file.
1 Dec
Some Active Directory attributes return an 8 byte integer in the form of an IADsLargeInteger interface. An example is the pwdLastSet attribute from a user object.
Because the IADsLargeInteger object doesn’t provide type information PowerShell cannot read the HighPart and LowPart properties.
So I wrote the function below to get the Int64 value of an IADsLargeInteger:
1 Dec
A while ago I was invited for a presentation at the UK Citrix User Group. I went there together with my colleague Ingmar Verheij and we had a great day there.
I was impressed with what I say there, a community that was very much alive and with good discussions. It was clear that the UK Citrix User Group was doing very well, thumbs up for their Steering Group!
So Ingmar and I wondered why there was no active Dutch Citrix User Group in The Netherlands. There had been an initiative in the past, the DUCUG so we decided to see if we could revive it.
15 Nov
I wanted to know if a certain server had a Battery Backed Write Cache module (BBWC) on it’s array controller.
I suspected it did not, but I had to be sure. Since this server was running production I couldn’t open (Visual Inspection) or reboot it.
The server didn’t have Insight Agents installed so I couldn’t query it via iLO or the Insight Agents webpage either.
I knew that when you do a full install of the array controller bundled software it comes with a commandline tool, hpacucli.exe.
13 Nov
In a Comment on my Article “Installing Dell Wireless 5530 HSPA Mini PCI“, Florian asked how to Install Dell’s R298998 driver on non authorized system and card combinations.
I decided to have a look and downloaded this driver. The structure isn’t much different from the R251153 driver I described in my earlier post.
When installing it on a non authorized card/laptop combination the error is similar:
When the error message appeared I looked into the temp folder and I noticed that just like before 2 folders were created (with a GUID as name). One of these folders contained the file driver_auth.exe which, as I already knew, performs the actual validation.
Active Directory Altiris Automation Manager bug Citrix Dell Delphi Exchange Exchange2003 Exchange2010 Hack Hewlett-Packard HP iOS Jailbreak Java LinkedIn Linux Lync McAfee MSI MySQL Navigation Objects Office Outlook Passat Password PowerPoint PowerShell RES RNS315 RNS510 SasLibEx Terminal Server ThinApp TSAdminEx VBS VCDS Vista VMWare Volkswagen Windows PE Wordpress XenApp
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.