Author Archives: chentiangemalc

About chentiangemalc

specializes in end-user computing technologies. disclaimer 1) use at your own risk. test any solution in your environment. if you do not understand the impact/consequences of what you're doing please stop, and ask advice from somebody who does. 2) views are my own at the time of posting and do not necessarily represent my current view or the view of my employer and family members/relatives. 3) over the years Microsoft/Citrix/VMWare have given me a few free shirts, pens, paper notebooks/etc. despite these gifts i will try to remain unbiased.

Slow Citrix Reconnects from Windows Embedded Thin Client

Thin clients, based on Windows 7 Embedded, which I could only access remotely via VNC, were experiencing very slow Citrix reconnect times (15 seconds) The thin clients had a 3rd party single sign on component, Imprivata, that replaced the normal … Continue reading

Posted in Citrix | Tagged | Leave a comment

Encrypt Password In CTX1 Encoding With PowerShell

Encrypts the password in a reversible format, the format used in some Citrix applications.

Posted in PowerShell | Tagged | Leave a comment

Start ProcMon During Boot on Machine You Can’t Logon

Sometimes you might want to run some tracing tools like ProcMon, xperf, wpr, netsh trace, etc on a machine that logon is not completing properly. Often you might be able to use PowerShell remoting, WMI, or psexec to get these … Continue reading

Posted in Debugging, ProcMon, Windows Performance Recorder, Windows Performance Toolkit | Tagged | Leave a comment

Removing Integrity Check from a Setup.exe

We had an executable installer that had a forced reboot and no option to remove it via command line. We wanted to run it through a task sequence and allow the task sequence to handle the reboot. Following the process … Continue reading

Posted in Hack, Hacking, IDA | Leave a comment

Misleading PowerShell Exceptions–Example #1

In PowerShell 5.0 on Windows 10 was looking at a script with function not working: The exception thrown by Powershell was: You cannot call a method on a null-valued expression.At C:\Users\chentiangemalc\Documents\Scripts\Test.ps1:5 char:9+     if ([System.String]::IsNullOrWhiteSpace($condition))+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidOperation: (:) … Continue reading

Posted in Debugging, PowerShell | Tagged | Leave a comment

Check Validity and Download SSL Certs in PowerShell

Little utility I made to check a list of URLs, their SSL certs, including any URLs they redirect to. The entire certificate chain for each host is also downloaded into %temp%\SslCerts folder Script source files can be downloaded here: https://1drv.ms/u/s!Aj0HCnRwyKPhge1bfpIYIlTJ6IugVQContinue reading

Posted in .NET, PowerShell | Tagged , | Leave a comment

Poor PAC File Performance–A WireShark Example

A problem I have come across repeatedly in large enterprises is poor web browsing performance due to over engineered PAC file. One of the most common causes of issues I’ve found is poor DNS resolution performance in conjunction with extensive … Continue reading

Posted in PacDbg, WireShark | Tagged | Leave a comment