Microsoft’s Hyper-V Server 2008 R2 is a great product. It is free, it has small disk footprint (< 4 GB) and you can control every aspect of it from another computer with Management Console. Or to be more precise, every aspect except for one.
If you decide to make standalone Hyper-V Server install (without adding it to domain), you have small problem with password selection. Every password needs to pass complexity requirements. While those requirements are not too harsh, they are quite annoying if all that you want to make is test installation with your common password (and everybody has one of those).
Everybody who installed Windows Server knows solution - just use Local Security Policy. It will not work here since MMC is not supported on Hyper-V Server 2008 R2 and Local Security Policy is probably only MMC snap-in that cannot be used on remote computer.
Rescue comes with secedit.exe. Whole purpose of this command is to export and import security policies, but in unfriendly manner.
First step is to export our current policy:
secedit /export /cfg X:\new.cfg
The task has completed successfully.
See log %windir%\security\logs\scesrv.log for detail info.</pre>I would recommend putting this file on USB or network drive since Hyper-V Server 2008 R2 doesn't include unicode text editor (notepad.exe works only with ANSI). Once you do manage to open file in normal editor, you will be presented with good old INI format. We are interested in PasswordComplexity value within [System Access] section.
Value should be changed to 0 in order to disable complexity check.
After this edit, it is time to go back to our server and perform configuration:
secedit /configure /db C:\Windows\security\new.sdb /cfg X:\new.cfg /areas SECURITYPOLICY
The task has completed successfully.
See log %windir%\security\logs\scesrv.log for detail info.
There are no restrictions on location of your security database, but I like to place it in C:\Windows\security. It seems like logical location to me.
Areas parameter controls which security areas will be configured. While one could import all areas with this, there are two reasons why this should be avoided. First reason would be that, by default, you cannot import everything - Hyper-V server will return error since some settings are non-existent there. Second one is just plain common sense. Why would you risk stability of your system by importing stuff that you never intentionally wanted to change?
Once this operation is completed, you can press and change password to whatever you wish.
This is small tool that adds Attach and Detach option to contextual (aka right-click) menu of Virtual disk (vhd) files. That enables those operations to be done without trip to Disk Management console. Detach option is available on hard drive contextual menu also.
Additionally program can be used as classic utility in order to see various information about virtual disk, even without attaching it.
Do notice that this program only works with Windows 7 and Windows Server 2008 R2. Older operating systems are not supported.
Due to airplane troubles, I was late for connecting flight and, since there were no flights that day, Lufthansa offered me a lodging. Here I must commend Lufthansa since whole process was done without any pain or suffering regardless of fact that there were quite a few of stranded passengers asking all sort of questions.
I got room at Sheraton Airport in Munich and it was arranged for shuttle bus to pick me up. After an hour someone finally appeared and started throwing bags inside. It took something like fifteen minutes to get to the hotel and then we went through check-in procedure. That took a while since there was only one guy at reception but he was fast so it wasn’t as bad as it could be.
Once I got my room (number 256, but on first floor - quite strange) I took a quick shower and went down for a free dinner. Well, it was not actually free, it is just that Lufthansa payed it and not me.
What greeted me was pasta and some sauce. Generally I do not have anything against such provisioning, but in this particular case it seems that pasta stayed out for a while. It was completely dried and pretty much worst pasta meal I ever had.
Since I needed to go very early, I got an early-bird breakfast and they even gave me free Taxi ride to airport (if you want to go before 6:30, you usually need to pay).
Final conclusion? Service is great - only if food was any good.
I already wrote a little about new, Windows 7, edition of Virtual PC. I was mostly satisfied with changes but I did notice that it was quite simplified.
Unfortunately one of things that was removed was support for operating systems different. Naive version of me though that this was due fact that Virtual PC is compatible with them out-of-box. I was wrong.
While in good old Virtual PC 2007 SP1 you got asked upon creating of virtual machine whether you want to use Windows or “Other” inside of it, that question is gone now. And while I could install FreeNAS in Virtual PC 2007, there is no way of installing it in new Virtual PC. Installation just hangs.
I cannot say that this is purely Microsoft’s fault since FreeBSD has few issues with hardware handling itself, but it is very annoying when something that worked before just stops working. Even worst, code that handles FreeNAS is probably still somewhere deep inside of Virtual PC. It is purely design decision that caused it not to be accessible from user interface.
While on real systems I use Hyper-V Server for running *nix-like thingies (and that works great), that is not real option (since it does not exist) for testing on my laptop machine with Windows 7. On it I am currently playing with VirtualBox. This tool does have unsure future (Oracle-Sun trading) and sometimes I need to go to command line to accomplish simple things (VHD support), but it does allow me to install whichever OS I want.