Removing Permanent WMI Event Registrations

Introduction Since I’ve worked on the PowerEvents PowerShell module, several folks have been confused about how to remove event registrations once they’ve been created. I wrote some documentation that’s included in the download, that explains how to manually remove these registrations using the built-in wbemtest tool. This is the fool-proof …

Continue reading

PowerShell Module: Enable Wake for Devices

So in my last post, I shared a PowerShell script that enables you to enable devices to wake up computers. This script relies solely on a WMI interface, but despite the remote nature of WMI, I had provided no method of entering a remote computer name. That changes with the …

Continue reading

PowerShell: Finding Currently Loaded DLLs

I was just browsing through the root\cimv2 WMI namespace this morning, using SAPIEN’s free WMI Explorer tool, when I happened across a WMI class called CIM_ProcessExecutable. In fact, what I was doing in a bit more detail, was going through the CIM_* classes, with the Instances tab selected, so I …

Continue reading

ccmsetup.exe: Trailing slash in “Source” parameter

Hello everyone! Tonight, while I’m traveling in Houston, Texas, I wrestled with ccmsetup.exe for a little while. I was working on getting a ConfigMgr vNext client agent installed on a Windows 7 Ultimate virtual machine, and kept getting a message in my ccmsetup.log saying “Source <path> is inaccessible.” —– A …

Continue reading

Deploying Windows 7 RSAT

If you’ve got a large number of Windows 7 machines that you’ve already deployed, but now need to silently deploy the Remote Server Administration Tools (RSAT), you’re in luck. It’s quite simple to do, and Microsoft provides the necessary tools to automate this deployment. The RSAT pack is downloaded as …

Continue reading

Windows 7 – WaitFor.exe

So I just randomly came across this utility built into Windows 7 that simply sends or waits for a signal (message). This could be useful for batch scripts that need to wait for something to happen on a local (or remote) machine. Here is the help output from the command: …

Continue reading

Windows 7 RSAT Tools

The Windows 7 Remote Server Administration Tools (RSAT) are available from this location: http://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=en#filelist The list of tools available in the RSAT download is here: http://support.microsoft.com/default.aspx/kb/958830

Continue reading

Deployment Workbench: Windows Imaging Error

I just installed the Windows AIK for Windows7, and MDT 2010 on my 64-bit Windows 7 Release Candidate system, and attempted to open the Deployment Workbench. It opened just fine, but when I selected the Deployment Shares node in the snap-in, I got this error: “The file C:Windowssystem32wimgapi.dll(version 6.1.7100.0 (winmain_win7rc.090421-1700)) is …

Continue reading

MDT 2008 to 2010 Upgrade Successful!

Yesterday, I upgraded MDT from 2008 to 2010. The high-level steps I followed to upgrade it were as follows: Uninstall Windows AIK 1.1 Uninstall MDT 2008 Install Windows 7 / 2008 R2 AIK Install MDT 2010 Open MDT 2010 console and upgrade deployment shares Test task sequence on virtual machine Please …

Continue reading