Scripting

Mastering the default Explorer views for Windows XP and 2003

May 9, 2009

I finally mastered the Windows Explorer views under Windows XP and 2003! The following script is fully documented. Enjoy!

Read the full article →

VBScript best practices

December 6, 2008

If you can’t tell by now, I love scripting and coding 🙂 There is nothing you can’t achieve, and no problem that cannot be resolved. But there is an art to doing it right. I start by drawing up an N-S (Nassi-Shneiderman) diagram or flow chart, and then writing it up in pseudocode, which allows […]

Read the full article →

The Challenges of Using VBScript to Create Shortcuts

December 3, 2008

Updated 8th December 2008… Today I was finalising the application deployment for a new XenApp farm. One of the final scripts to create was to place 9 shortcuts on the Desktop of the All Users profile. That’s quite a simple task, and for the most part some would probably just end up copying a bunch of […]

Read the full article →

Using WMI to detect if running on a Windows 2003 or 2008 Terminal Server

December 3, 2008

How can I detect if a Windows 2003/2008 server is configured for Remote Administration or running the Terminal Server role/service?

Read the full article →

The Bees Knees script for installing VMware Tools

December 3, 2008

Updated 19th October 2010… This is what I call the “bees knees” of scripts for deploying VMware Tools. It will detect if it’s being installed on a Terminal/Citrix Server, and remove the appropriate components that may impede performance, etc.

Read the full article →

Implementing a fully automated unattended build process

November 18, 2008

The methodology I use for deploying and managing Citrix XenApp solutions has proven very successful over the years. To maintain a homogeneous environment conducive to stability, utilisation of a well-defined and automated server build process is a best practice. Automated server builds can save countless hours when deploying new servers, rebuilding a problematic one, or […]

Read the full article →

Displaying useful connection information on the desktop wallpaper

October 27, 2008

Updated on 6th April 2010… Like most IT professionals, I’ve been using Bginfo to embed some useful information in the wallpaper of a users Desktop for some years now. So what you say! Well…not too long ago Warren Simondson of CTRL-ALT-DEL IT Consultancy created a couple of cool utilities called TSBackdrop and PCBackdrop. I was […]

Read the full article →

Print Spooler Self Healing 2.0

October 21, 2008

I was driven to write this script for a client that was using Novell’s iPrint. iPrint was causing some threads to hang, ending the spoolsv.exe process, and therefore stopping the Print Spooler service. Those of you that are using such poor printing solutions would no doubt have clocked up a considerable number of headaches. The good […]

Read the full article →

Intelligently changing the drive letter assignment for multiple CD/DVD ROM Drives

October 19, 2008

Diskpart may fail when creating more than one partition when executing the “assign letter=D” command. This is because Windows, WinPE included, by default assigns the first CD-ROM “type” drive to the first available letter after C:. So if you are partitioning a new server, or repartitioning a server that contains only 1 partition (C:), the CD-ROM drive […]

Read the full article →

Place a XenApp Server in and out of service the easy way

September 8, 2008

The new theory for placing a server off-line is to apply an “Out of service” load evaluator instead of disabling logons. The “Out of service” load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an “Out of service” load evaluator […]

Read the full article →