All posts tagged: Windows Server 2008 R2

R2: Server Manager Cmdlets

Windows Server 2008 R2 includes a few cmdlets (Command-lets) to manager server roles and features. Before R2, we had servermanagercmd.exe to add or remove features from command line. At the standard PowerShell console, you will not be able to access these cmdlets without importing the server manager module. To import the cmdlets, use¬†Import-Module ServerManager at the PowerShell Console. This will enable the following three cmdlets. You could add a feature, for example .Net Framework, using the Add-WindowsFeature cmdlet. That is simple..huh.! Now, here is a limitation. For example, if I want to add RDS-Virtualization feature, using traditional Server Manager GUI, I need to add Remote Desktop Server feature and then select RD Virtualization under that. However, when you use Add-WindowsFeature RDS-Virtualization But if you go and look at the Server Manager GUI console, So, RDS-Virtualization is installed but without Remote Desktop Server it is of no use. Add-WindowsFeature cmdlet does not check for the dependency information. If you look at the Get-WindowsFeature output for any given feature there are multiple properties and one such property …

Windows 7 Install Fest – Bangalore

It just got over. The people participation was around 50-55, I think — not really a huge number for an event like this. There were three session since morning. First one was Vijay’s Windows 7 deep dive talk and second one was mine — Changes in Windows Server 2008 R2. At the end — in the afternoon — Aresh showed a few new features in Windows 7. The funniest part was, the Windows 7 laptop Vijay wanted to use for the Windows 7 deep dive crashed every time after connecting a projector. So, Win 7 deep dive was done using a Windows XP laptop. ūüôā Coming to my session, I got a feeling that my talk was fine but was more technical. I could have made it simple and easy to understand. Also, I spent very less time creating the deck and as a result I copied lot of pictures from a few R2 slides available on the Internet. I will try and do better next time. I, also, felt that more demos would have …

Virtual Machine Queues – MSDN Documentation

Take a look at the virtual machine queue (VMQ) feature documentation on MSDN. This feature provides great performance improvments on the vitual network subsystem within in Hyper-v V2. Of course, this is not a new invention. This has been there for a while and VMWare implemented this as NetQueue.¬†VMQ / NetQueue implemetation requires VMDq capable Intel adapaters which are quite expensive to get one for experiments at home. So, working on this feature at home and writing some nice blog posts isn’t possible. I have been reading lot of documentation around this and posting a few links here. http://www.intel.com/network/connectivity/vtc_vmdq.htm Microsoft PPT on Improving perfomance for Hyper-V virtual Machines¬†

Windows 7 install fest at Bangalore

There is a Windows 7 install fest scheduled tomorrow (4/18) at various places in India. This is organized by the local user groups and I will speaking at the Bangalore event. I will be talking about “What is new in Windows Server 2008 R2?”. If you are also in Bangalore and happen to read this post, please come over to join us there. Here is the link to registration http://www.bitpro.in/Invitations/UGMeet18Apr.html I will post the slides I used — still working on that — and my experience from the overall event tomorrow. Stay tuned…!

Right click to mount/unmount VHD in Windows 7 or Windows Server 2008 R2

Okay…this is not “yet another update” kinda post. If you thought that way, read the subject again. I had previously posted a tool to mount/unmount VHDs on a Windows Server 2008 system with Hyper-V and it works only if you have Hyper-V role enabled on the system because of its dependency on Hyper-V WMI interfaces. Now, in this post, I am posting a new tool to mount / unmount VHDs by right clicking on a VHD file. This new tool will work on Windows 7 or Windows Server 2008 R2 systems with or without Hyper-V role. This one uses diskpart commands¬†available within this new OS and hence there is no dependency on Hyper-V WMI interfaces. So,¬†you can use this new script only if your system has Windows 7 or Windows Server 2008 R2. Windows Server 2008 R2 provides a way to¬†mount / unmount VHDs¬†from the disk management MMC. But, It takes too many clicks to do that ūüôā and I prefer saving some clicks for more useful stuff. To get the ability to mount / …

Native VHD booting on a physical server

If you have been testing Windows 7 or Windows Server 2008 R2, you must have come across native VHD booting feature. This allows us to boot OS from VHD file residing on the hard drive. You don’t need a Hypervisor to boot from VHD. Windows 7 boot architecure changed a bit to accomodate this. In fact, Windows Server 2008 has the option to boot from a file. But that was with only WIM images. In¬†a previous post, I had written about how you can capture a VHD from OS media. There is also a simple script¬†to generate the VHDs without any manual effort. Now, in this post, let us look at how we can use one such VHDs to multi-boot with existing OS on a physical server. The procedure is straight forward. You just need to add a BCD entry. To do this, 1. At a command-prompt, Run diskpart 2. Within Diskpart, select vdisk file=C:\<VHDNAME>.VHD 3. Attach Vdisk 4. Assign Letter=R (If not already assigned; diskpart usually picks up whatever you had assigned during creation) …