Script to Reset WSUS for SysPrep’ed Image

Here’s a useful script for those, like me, that use SysPrep’ed images to create new virtual machines and also leverage Windows Server Update Services (WSUS) to keep machines up-to-date with the latest patches. Reset WSUS for SysPrep Image.cmd net stop wuauserv reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f reg.exe delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f reg.exe delete…


What’s in your Jump List?

Nearly three years ago, I wrote a post that described the BackedUp and NotBackedUp folders I use on almost every computer I ever log on to (my laptop, desktop, a handful of servers, and more than a dozen VMs). I also showed how I created taskbar shortcuts to quickly access my NotBackedUp and Toolbox folders….


Script to Save Event Logs

Earlier this week, I shared a script that I frequently use in my development environments to clear the event logs (for example, whenever I want to verify that one of my VMs “boots clean” — meaning without any errors or warnings). Note that prior to clearing each of the event logs, the script first saves…


Script to Clear (and Save) Event Logs

As I was writing my first post earlier this morning, I wondered if I had previously shared the script I use to quickly clear the event logs on a server (but saving them first — just in case I need to go back and retrieve something from the “archive”). I did a quick search on…


Script to Restart SharePoint 2010 Services

A couple of years ago, I shared a script (Restart SharePoint Services.cmd) for restarting the various services in Microsoft Office SharePoint Server (MOSS) 2007. I’ve since created a new version of the script for use with SharePoint Server 2010. As I mentioned in my previous post, this is primarily intended to be used in development…


ProcDump – An Easier Way to Create a Mini-Dump

In a previous post, I mentioned an issue I’ve been having with Expression Web 4 crashing on me. In that post, I mentioned a few ways that you can create a mini-dump for a process (e.g. with Visual Studio, WinDbg, or ADPlus). A couple of weeks ago, one of the developers on the Expression Web…


Recommended ISO Tools

I added a new item to my Toolbox this weekend — LC ISO Creator. It’s not fancy, or even supported, but it is free and it appears to do what it is supposed to without issue, specifically creating an ISO image from an existing CD-ROM or DVD-ROM. There’s no setup program, just a tiny EXE…


SketchPath – The XPath Tool

I added another tool to my Toolbox yesterday: SketchPath. The SketchPath site labels it as “The XPath Tool” but I’d say it more like “The XPath Tool.” I’ve seen a few other tools for quickly building and testing XPath expressions against an XML document, but they pale in comparison to SketchPath. There are a number…


Using Password Minder to Manage Your Passwords

I started using Password Minder almost immediately after reading about it in the July 2004 edition of MSDN Magazine. I don’t know about you, but trying to remember all of my various passwords for dozens of Web sites, numerous network accounts, VMs, etc. is really quite a nightmare. [I’m actually a little embarrassed to say…


Using Robocopy to Move Files and Folders

I use Robocopy a lot, and it’s been in my Toolbox for so long that I hardly remember using anything else. I was glad to see that it is now included out-of-the-box (starting with Vista), because I typically use it instead of Windows Explorer to move or copy files, since I prefer the way it…