Entries by Remko Weijnen

System Process PID 4 is listening on port 80

I wanted to save the SHSH signatures from my iPhone before updating to iOS 5.01. I started Tiny Umbrella but it showed an error indicating that there’s already a process listening on port 80: I verified this using netstat (netstat –aon | find /I “LISTENING” | find /I “:80”):   Remko WeijnenWas once an enthusiastic […]

McAfee Anti Virus Unlock User Interface Password

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 […]

Citrix online plug-in received a corrupt ICA File

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

Embedding images in HTML

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. Remko WeijnenWas once an enthusiastic PepperByte employee but is now working elsewhere. His blogs are still valuable to us and […]

Convert IADsLargeInteger to Int64 in PowerShell

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 […]

Dutch Citrix User Group Launched

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 […]

Determining if Battery Backed Write Cache is installed

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 […]

Set homefolder permissions with PowerShell

Today one of my collegues asked me to write a script that performs two actions for all users of a certain Organizational Unit: Ensure that each user has modify permissions on their homefolder Make each user visible in the Exchange Address List. Sounds like a PowerShell job right? I reused my function to set NTFS […]

Construct AQS date range with PowerShell

For a script I needed to create an AQS (Advanced Query Syntax) Query that contained a date range. An example of such is a range is: date:11/05/04..11/10/04 However we need to account for regional settings where for example the data seperator and the order of day and month may be different. In my example I […]

Remote Registry from 32 to 64 bit

Yesterday I needed to set a few registry keys remotely from a 32 bit windows machine to a 64 bit machine. I used reg.exe to set the key but even though it returned success the key wasn’t altered. As I suspected the key was written to the Wow6432Node. In the help I couldn’t find any […]