Updates are special programs that update other software on your computer. Keeping your software up to date is critical for maintaining the security of your computer.


Updating Windows Deployment Services Images From WSUS

Sometimes you’ll run into a situation where two pieces of Microsoft software don’t play well together, or in a way that would be convenient from the user’s perspective.  Such is the case with Windows Deployment Services and Windows Server Update Services.  One piece of technology stores and deploys operating system images.  The other piece of technology updates Windows operating systems.  It seems like there ought to be some glue that brings the two together because, otherwise, you need to deploy the OS image, update it manually, then recreate it.

The bad news is, no such glue exists out of the box. The good news is, it’s not difficult to create it with PowerShell (provided WDS is running on Server 2012).  Below is my project, hosted on GitHub. It’s a single, short PowerShell script which, when run on a Server 2012 WDS server, will cycle through all of your Install Images and update them using your WSUS Repository from the WsusContent share. All you need to do is run the script from the WDS server. It will ask for a scratch location where it can extract the WIM images from Windows Deployment Services, and the location of your WSUS Repository.  I recommend running it over a weekend, because, depending on the number of images stored in WDS and the number of updates in WSUS, it can take a day or longer.

The script requires interactive input, but with just a little modification you can easily hard-code the information it needs about your environment, and run it as a scheduled task on your WDS Server.

A WordPress Update is Available

Why You Should Wait Before Updating WordPress

A WordPress Update is Available

The Dashboard lets you know when a WordPress update is available.

Have you ever heard people who upgrade to the latest version of Windows complain about the experience?

When you upgrade to a new operating system there’s a good chance that the update will contain flaws that need to be addressed by hotfixes and service packs, your hardware manufacturer may not have compatible drivers yet, and certain applications just won’t work.

WordPress isn’t so different. When you update WordPress you can run into incompatibilities in plug-ins, themes, and even your own customizations. WordPress updates are usually trouble-free and will only break very complex or poorly maintained sites. But problems can and do occur, so I recommend holding off a few weeks before updating WordPress sites.

Unless an update contains a fix for a known security vulnerability, let early adopters work out the kinks first before updating your blog.

Don’t rush into an update unless you really need it. You can find out just how critical an update is by checking the WordPress Development Blog widget on your WordPress Dashboard or by clicking the Current WordPress Version link at the WordPress Codex . WordPress has a lively community and you can usually expect plugin compatibility to be tested within a few weeks or months of a WordPress update being released.


Configuring Windows Automatic Updates

In a previous post I talked about the importance of keeping your software current by installing patches and updates. Microsoft, in an effort to make this process as painless as possible, has made updating an integrated part of their operating systems. This article will explain how to turn on automatic updating in Windows XP and Vista and discuss best practices about it’s configuration. Read more

The Basics, Part 2: What are Software Updates

Computers are just like any other complicated mechanical or electronic device: they require periodic maintenance. A car, for example, should have its oil changed every three months or three thousand miles to keep the engine running smooth and healthy. But unlike a car which does one job and does it well, your computer can learn new tricks by running new software. Not only does your computer require physical maintenance, but every software package you install requires a little “virtual maintenance” of its own.

Most users will buy a computer, load it with their favorite software and forget about it. Things might be just fine for a while, but eventually your once speedy machine will start to drag, you’ll experience lag and crashes that prevent you from getting your work done, and viruses, spyware, and other digital nastiness might even creep into your system. You’ll eventually have to pay a technician to fix the problem, or will treat your computer as a disposable commodity and simply buy a new one. One of the critical tricks that computer technicians have up their sleeve are software updates, and when I tell you how easy they are, you’ll kick yourself for wasting your money. Read more


Merge WSUS Updates Into a WIM Image Using PowerShell 3.0

# The path to the WIM Image file $imagePath = "C:\\users\\administrator\\desktop\\windows7.wim" # The path to the root of your WSUS Content $wsusContent = "C:\\WSUS\WsusContent" # The index in the WIM file to the OS image you want to mount. $imageIndex = 1 # The directory where you want to mount the WIM Image $mountPath = "C:\\Mount" # Mount the WIM Image to the mount point specified, Mount-WindowsImage -ImagePath $imagePath -Index $imageIndex -Path $mountPath -Optimize # Get a list of all subdirectories under WsusContent $paths = Get-ChildItem $wsusContent -Directory # Iterate through each WsusContent subdirectory and attempt to add all # Windows Packages found there. foreach( $item in $paths ) { Add-WindowsPackage -Path $mountPath -PackagePath $wsusContent\$item -IgnoreCheck } # Save and dismount the Windows image. Dismount-WindowsImage -Path $mountPath -Save