VM Template best practices (Windows)…

Installing Windows XP

Image by Trey Piepmeier via Flickr

Useful article on template windows vmware images. One point of great note:

As a result of point (4), your OS disk is now perfectly aligned with the storage layer below it, increasing disk I/O performance. This is actually a server OS problem that applies to all of Microsoft’s pre-Windows Server 2008 server operating sustems, and Windows XP. A simple explanation is that systems like to write data in 64k chunks onto disks with 64k sectors. However, they create their very first chunk at only 63k in size. That means every subsequent chuck writes at least 1k to the previous sector, resulting in every read and write going to two sectors and resulting in two I/Os per operation instead of just one I/O. This is what you’ve just corrected in (4).

Reblog this post [with Zemanta]

Disappearing Windows

Often when using multiple screens with a laptop then traveling away with just the single laptop screen applications my remember the second screen and disappear when windowed. Often you can “get them back” by maximizing the window.

A better method is to:

There’s a simple trick to get around this. First make sure you’ve alt-tabbed to the window, or clicked on it once to bring it into focus. Then right-click on the taskbar and choose Move

At this point, you should notice that your cursor changes to the “Move” cursor, but you still can’t move anything.

Just hit any one of the arrow keys (Left, Right, Down, Up), move your mouse, and the window should magically “pop” back onto the screen.

Note: For keyboard savvy people, you can just alt-tab to the window, use Alt+Space, then M, then Arrow key, and then move your mouse.

Windows Update Fails

This KB article from Microsoft might be useful with Windows failed to run an Update:

Method 1: Register the Wups2.dll file in Windows
To register the Wups2.dll file in Windows, follow these steps:
1. Stop the Automatic Updates service. To do this, follow these steps:
a. Click Start, click Run, type cmd, and then click OK.
b. At the command prompt, type the following command, and then press ENTER:
net stop wuauserv
2. Register the Wups2.dll file. To do this, follow these steps:
a. At the command prompt, type the following command, and then press ENTER:
regsvr32 %windir%\system32\wups2.dll
Note For a computer that is running Windows XP Professional x64 Edition, type the following command, and then press ENTER:
regsvr32 %windir%\syswow64\wups2.dll
b. Click OK on each verification message that you receive.
3. Start the Automatic Updates service. To do this, type the following command at the command prompt, and then press ENTER:
net start wuauserv
4. Exit the command prompt. To do this type exit, and then press ENTER.