All posts tagged: scripting

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 http://www.codeplex.com/HVS2008UI/Release/ProjectReleases.aspx?ReleaseId=19108 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 …

Removable drive notification Script for Server Core / Hyper-V Server 2008

I like the Windows Server Core OS for its foot print and performance compared to a full blown OS. You can enable what you want and get rid of everything else. The same holds good for Hyper-V Server 2008 as well. However, working with this stripped-down OS can be a real pain. Escpecially, when you connect a removable device like a flash key, there is no notification of the drive letter getting assigned to it, etc. On a full-blown OS, this isn’t a problem as we have the explorer process taking care of showing the notifications. Coming to the subject of this post, I have been using this script for getting notifications for USB key add/remove events. This script runs in the background and notifies the removable storage events. Install Instructions 1. Download the zip from here 2. Unzip the contents to C:\scripts folder 3. Open Registry Editor from command-line 4. Navigate to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon and change the value of “Shell” to “cmd /c c:\scripts\InitLogon.bat” That is it. Next time onwards, whenever you login to the …