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…

0

Creating Small VHDs (< 1GB) for Hyper-V

In my previous post, I explained how I like to create separate VHDs for data and log files in my SharePoint development VMs. However, given the very small amount of content that I typically load into a SharePoint development environment, these VHDs certainly don’t need to be very large. In the past, I’ve typically created…

0

CDL for SharePoint (a.k.a. "You can never have too many spindles")

In the United States, “CDL” typically refers to a Commercial Driver’s License — but since I don’t drive trucks for a living, I use the acronym for something entirely different. To me, these three letters correspond to the minimum number of drives I like to see on any server running SharePoint Server 2010 — or…

0

Operations Manager Alerts for Event Log Errors

One of the things I like most about running System Center Operations Manager in the “Jameson Datacenter” (a.k.a. my home lab) is that it greatly reduces the amount of effort required to monitor numerous servers. For example, in my environment I am currently monitoring 10 servers 24×7. To some infrastructure folks out there, this might…

0

Removing "Stale" Network Adapters in Hyper-V VM

Each time I create (or recreate) a virtual machine in Hyper-V using one of my SysPrep’ed images, I usually end up having to do a quick Internet search for: device manager show hidden devices I’m a little embarrassed to say that I simply can’t remember the environment variable that I need to set in order…

0

Errors Installing Windows Server 2008 R2 SP1 (a.k.a. "How much disk space do I need?!")

A couple of years ago, I wrote a post about issues I encountered deploying Windows Server 2008 Service Pack 2 due to insufficient disk space on various VMs in the the “Jameson Datacenter” (a.k.a. my home lab). This morning I encountered similar issues when attempting to install Windows Server 2008 R2 SP1 (which I recently…

2

Resolving Issues After Applying Hyper-V Snapshot

This morning I rolled back one of my development VMs to a snapshot I created about a month ago. When I subsequently tried to login with my domain credentials, I encountered the following error: The trust relationship between this workstation and the primary domain failed. I did a quick Internet search for this error and…

0

Disk Benchmarks: SSD vs. "Raptor" vs. RAID

Earlier this week, I posted about how I rebuilt my Windows 7 desktop while installing a new solid-state drive (SSD). This morning, I thought I would share some performance numbers that I gathered from the various disk configurations that I currently have running in  the “Jameson Datacenter” (a.k.a. my home lab). Note that prior to…

2

Before you install Windows 7 Service Pack 1…

…make darn sure you have already installed the Remote Server Administration Tools for Windows 7 (if you want to use them, of course). Otherwise, like me, you’ll likely resort to nuking your desktop and starting over. Earlier this week, I posted about how I rebuilt my Windows 7 desktop while installing a new solid-state drive…

5

Identifying Logon Failures on a Web Site

Several years ago, while working on the “Frontier” project at Agilent Technologies, I encountered a scenario where I needed to quickly identify logon failures on the site. The Agilent site was (and I believe still is) based on Microsoft Office SharePoint Server (MOSS) 2007, and used Forms-Based Authentication with a slightly custom version of the…

0