Archive for the ‘Windows’ Category

Upgrading Windows 2008 R2 editions from the command line

March 20th, 2013 No comments

windows-2008-r2-logoI had always thought you couldn’t update Windows Server editions from one to another without a reinstall as allegedly the base software wasn’t the same even though we all knew it was really just a file or two or registry key or two that needed to be changed.

This in fact wasn’t possible until Windows Server 2008 / Windows Vista SP1 which introduced Windows Edition-Servicing Command-Line Options using a built-in utility called the Deployment Image Servicing and Management (DISM) tool which doesn’t require any media to upgrade the edition and just needs a reboot.

I’ve recently had to do this with Windows 2008 R2.

You can’t use this on DCs, can only do upgrades, not downgrades and the supported Windows 2008 R2 upgrade paths are:

  • Windows Server 2008 R2 Standard -> Windows Server 2008 R2 Enterprise -> Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Standard Server Core -> Windows Server 2008 R2 Enterprise Server Core -> Windows Server 2008 R2 Datacenter Server Core
  • Windows Server 2008 R2 Foundation -> Windows Server 2008 R2 Standard

Read more…

Categories: Windows Tags:

How slim is your OS build? VDI’s biggest loser!

December 1st, 2010 3 comments

Going virtual is all about sharing resources. You are no longer constrained by one server or workstation running on one physical piece of hardware. The benefit is less physical kit to look after and better utilisation of resources but the detriment is when you share, you need to share nicely. In a shared environment one VM can be greedy and take more than its fair share and your other VMs suffer.

It’s not just sharing nicely that you need to consider but also building your VMs so they need less so there’s more to go around.

VDI is all about maximising the use of your physical hardware. To be cost effective (if you can with VDI!), you want to run as many workstations on a physical host as you can without sacrificing individual VM performance.

So, if your VMs are greedy with what they need you are going to be paying more for hardware. Wasting resources on physical workstations may not cost that much more but move your workstation into your datacenter and then see how much money you will be wasting.

Read more…

Windows 7 plays nicely with AMD to Intel conversion

November 9th, 2010 No comments

My home PC died an unceremonious death last week.  No fanfare, nothing dramatic…it just wouldn’t boot.  I went through the usual troubleshooting.  BIOS would load, it looked like everything was working, it could see all drives.  When I had a bootable DVD in the drive it asked nicely if I wanted to boot from DVD.  When bypassing this is just stopped with a lovely little blinking curser in the top left of the screen.

Must be hard disk I thought so spent some time putting an old one in and trying a restore of an image backup I take nightly of my OS drive (How Enterprise IT makes it into your home to have ultimate recovery!)

Wouldn’t see the old hard disk.  Booted off two different Ubuntu CDs which would go through initial startup and hang.  Ran Memcheck….memory all passed. Didn’t think it could be CPU as that generally doesn’t partially fail.

I tried reseating everything, pulling out all additional PCI cards, etc.  Landed up trying with only one of my two DVD drives (1 x SATA and 1 x IDE) connected and still Ubuntu wouldn’t boot.

So, it dawned that it must be a partially dead motherboard, a trusty 4 year old AMD Asus board that has served me well.  I went straight onto Ebay to see if I could get another as a direct replacement and found plenty of faulty ones for sale and a refurbished one for well over £100.

So, I decided to bite the bullet and go for an upgrade.

I decided on an Intel Core i7 Quad Core 950 CPU with 12Gb RAM and a Gigabyte Motherboard, perfect for running all those lab virtual machines.

Everything was delivered and I started the task of swapping everything over. It took quite a while actually to do the physical changing as the heatsink instructions were pretty bad with small black and white grainy photographs trying to show which way round the fan was meant to go.

I was even very keen and plugged in all additional riser cards and my USB devices and hit the power button.  My new PC booted but wouldn’t boot off the boot drive.  That was easily fixed by going into the BIOS and selected the boot device.  Next attempt and it started! I logged on and waited a few minutes for devices to be recognised and drivers installed, rebooted again and nearly everything was working.  I only had to install the Nic drivers separately. 

I do need to reactivate Windows but I’ve been given three days to comply.  I always wait until the last minute for this kind of thing just in case something does go wrong and I need to backtrack.

I must say at this point I was actually particularly impressed.  First of all with myself for getting everything correctly into the case and plugged together (I managed to scrape my hand on the case at some point…I never thought PC building was a blood sport!)

Most impressive however was that Windows 7 actually booted and didn’t have an issue having AMD ripped out from underneath it and Intel put in its place. Saying that I shouldn’t really be that impressed, I should have expected this to just work. Doesn’t windows CPU support rest with the Hard Abstraction Layer (HAL). As Abstraction is in the name you would expect there to be no issues but this certainly hasn’t been the case with previous versions of Windows when I’ve had to do this.

I then actually did some retrograde research at what other people suggest when doing the same thing and the overwhelming response from some very experienced prolific posters on hardware forums was to reinstall your OS to support a new CPU

I’m very happy to report this is not required now with Windows 7.

So kudos to Microsoft for getting the abstration thing working a little better. One of the reasons to go virtual is to have this hypervisor layer between the OS and your hardware so you don’t have to worry about changing the underlying physical kit to a new model / supplier / version, seems like the OS is growing up as well to be able to handle this all by itself.

I must say I am very happy to see this in Task Manager after a week of no PC!

Categories: Windows Tags: ,

Getting VM Time Zone settings with PowerCLI and WMI

August 23rd, 2010 No comments

VM performance troubleshooting is something every VM Admin needs to do.

Often these can be related to agents running within a VM and often these are set to run at a particular local time.

VDI deployments often have people from different time zones working different shifts connecting to VMs in a central site with the idea that a particular agent task will always run out of hours from when people work. This would obviously not happen if the guest local time zone was not set correctly.

PowerCLI to the rescue and a one-liner that connects to a particular set of VMs and uses WMI to find out what time zone is set.

Get-VM -Location (Get-Folder "Workstations-Call Center") | Where { $_.PowerState -eq "PoweredOn" } | select Name, @{ Name="Time Zone"; Expression={(Get-WmiObject -Class win32_TimeZone -Comp $_.Guest.HostName).Caption}}
Categories: PowerCLI, Windows Tags: , ,