Month: November 2008

gOS as a Hyper-V virtual machine

As you might have already read or seen, gOS is a new lightweight OS meant for cloudbooks & netbooks. This can be downloaded from I came across this while reading about some cloud computing stuff and got some interest to try this new OS. However, I don’t have a spare system to install this OS. So, the next best option is to install it as a virtual machine and of course use Hyper-V. I quickly created a new virtual machine, attached a legacy network adapter and attached the ISO downloaded from gOS website. Here are some screen shots I captured during this whole process. And finally, want to end this with using my own tool, hvs2008UI, to check what Hyper-V lists this VM as and here is the output. As you see, there is no Guest OS name listed there. That is because we dont have the integration components installed. gOS is based on a standard Linux distribution and I dont think it will be a difficult task to port the Linux integration components …

VHDMOUNT for Hyper-V – Updated Scripts

I just posted an issue with old VHDMOUNT scripts I created. As mentioned in the earlier post, this issue was caused because of an update to GetVirtualHardDiskInfo method output format. You can download an updated version of this script here. You will have to unzip all the files in to a single folder and then import HV-Reg.reg in to your registry. You may have to change the script path in the registry file based on where you have unzipped these files.

Changes to GetVirtualDiskInfo() Method

It has been a while since I used the script written for mouting VHDs. I started re-writing the code for mouting/unmount VHDs for the Codeplex project and realized that MS changed the output format for this method. Earlier this method used to return a string similar to instance of Msvm_VirtualHardDiskInfo {Type = 3;FileSize = 2405406208;MaxInternalSize = 32212254720;InSavedState = TRUE;InUse = FALSE;}; But now, they have converted the output to XML format. It looks something like <INSTANCE CLASSNAME=”Msvm_VirtualHardDiskInfo”><PROPERTY NAME=”FileSize” TYPE=”uint64″> <VALUE>10514432</VALUE> </PROPERTY> <PROPERTY NAME=”InSavedState” TYPE=”boolean”> <VALUE>FALSE</VALUE> </PROPERTY> <PROPERTY NAME=”InUse” TYPE=”boolean”> <VALUE>TRUE</VALUE> </PROPERTY> <PROPERTY NAME=”MaxInternalSize” TYPE=”uint64″> <VALUE>2147483648</VALUE> </PROPERTY> <PROPERTY NAME=”ParentPath” PROPAGATED=”true” TYPE=”string”> </PROPERTY> <PROPERTY NAME=”Type” TYPE=”uint16″> <VALUE>3</VALUE> </PROPERTY> </INSTANCE>. If you have downloaded the script earlier from this blog, it will work without any issues. However, the error checking capability of it is actually broken. For example, if you have mounted a VHD using the VHDmount.vbs and try to mount the same VHD again, you will get no error. I am fixing this and will release an updated script soon

Industry down turn and global recession

For the past few months, there has been a constant fear of job loses, etc because of the economic crisis that is slowly surrounding each and every nation. India is no exception. Every morning, we wake up to the news of some company asking its employees to leave the company either voluntarily or involuntarily. There is no need to say that this is a tough situation and not sure how long this will continue. I have seen a few people go thorugh this trauma and I have also seen a few coming out of it and doing great in their career. This recession may or may not take its toll on me. As usual, time will decide. To end this on a positive note, here is a quote that I believe in — whatever may happen in life. The great pleasure in life is doing what you love to do and what people say you cannot do – unknown

codeplex project update

I have made an intermittent release on Codeplex. You can download it @ There are no major feature additions. I have modified the main menu display and bundled related activities in to a few categories to make sure I keep the main menu clean and small. Also, I am planning to release each feature in this tool as an individual script. This is to make sure the VBScripts are available for anyone who wants to use them irrespective of what SKU of Hyper-V they are running.

Another useful release of HVS2008 UI

I have been busy for the last couple of weeks and did not get enough time to look at this. Finally, I sat on this last evening and completed a few things by this morning. I have made another release of HVS 2008 UI scripts on Codeplex. You can find the release at I have made some significant changes to this realease. Design Changes – Eliminated hvs2008display.vbs and combined it’s functionality with hvs2008main.wsf – Now you can directly run hvs2008main.wsf with the help of cscript.exe – Removed lot of redundant code and finalized some variable names for across the board usage – TO DO: There is still lot of redundant code. I will look at that in my free time Feature Changes – Create / Delete Virtual Machines is complete. You will be able to create a virtual machine with custom memory and processor settings – TO DO: I need to add some more custom features at the time of VM creation. For example, adding a NIC or a VHD or a DVD or …