Author Archives: dirk

Windows XP SP3 wsus client not updating

When you run the WSUS Client Diagnostics Tool, you get the following error at the end :

WinHttpDownloadFileToMemory(szURLDest, NULL, 0, NULL, NULL, NULL, &downloadBuffe r) failed with hr=0x80072efd

A connection with the server could not be established

In addition, your WSUS server is most likely not configured to listen on port 80.

In my case manually updating the WUAgent to v7.4 (x86 | x64) solved the problem.

I suspect the client is trying to execute a selfupdate but this fails because the WSUS server is not responding on port 80.

Invalid XSL format (or) file name.

Are you executing some wmic commands, most likely with a format command and getting the following error : Invalid XSL format (or) file name.

for example : wmic process list FULL /FORMAT:CSV

You running on Windows 7 (64-bit) or Windows 2008 R2 and have installed additional keyboards or language settings.

It seems that some wmic commands use files that are located in a localized folder:

on 32-bit : C:WindowsSystem32wbemen-US
on 64-bit : C:WindowsSysWOW64wbemen-US

If you have for example a UK keyboard layout installed, simply copy C:WindowsSysWOW64wbemen-US to C:WindowsSysWOW64wbemen-GB.

Your format command above should work fine now.

Korn Shell

enable TAB completion : set -o viraw (or use set -o vi, works on my redhat enterprise 5.7)

prompt formatting : PS1='[$USER@$HOSTNAME]:${PWD#${PWD%/*/*}/} # ‘

Disable UAC for Windows Servers through Group Policy

In Computer Configuration | Policies | Windows Settings | Security Settings | Local Policies | Security Options configure the following values:

– User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode
– User Account Control: Detect application installations and prompt for elevation
– User Account Control: Turn on Admin Approval Mode


Pagefile Management for Windows Server Core

First you need to disable the automatic management:

>computersystem where name=”hostname” set AutomaticManagedPagefile=False

Next, you select where to put the pagefile and how big it should be (expressed in MB)

>pagefileset where name=”C:\pagefile.sys” set InitialSize=8192,MaximumSize=8192

More info :

Free eBook: Understanding Microsoft Virtualization R2 Solutions

Learn about the latest Microsoft Virtualization technologies, including Hyper-V and Windows Azure. Download Understanding Microsoft Virtualization R2 Solutions, written by industry expert Mitch Tulloch along with the Microsoft Virtualization team.