Category Archives: microsoft

VirtualBox CompareExchange128 Error

Today, I attempted to upgrade my Windows 8 machine to the yet-to-be-released Windows 8.1, and I got the following error:

You can't install Windows 8.1 because your processor doesn't support CompareExchange128.

error

I am running 64-bit Mac as my primary operating system, and have set up 64-bit Windows 8 on a VM using VirtualBox.

Cause

One of the additional system requirements for 64-bit Windows 8.1 installation is that the CPU must also support CMPXCHG16b, PrefetchW and LAHF/SAHF. And this setting is disabled in VirtualBox by default.

Please check out this link for the other system requirements for Windows 8.1.

Solution

Open up the command prompt of your choice – Terminal / iTerm, and execute the following command:

VBoxManage setextradata [VM_Name] VBoxInternal/CPUM/CMPXCHG16B 1

And, that’s it! You’re ready to install Windows 8.1!

Advertisements

Do you (still) hate IE?

I would be curious to know the reason why. Have you tried out IE9?

Check out this link >>> http://browseryoulovedtohate.com/

Microsoft Windows

So, this is where it all started…

It’s just amazing to see how Windows has evolved from Windows 1.0 to Windows 8 now. Well done, Microsoft!!

Do you use UAC on your development environment?

I recently upgraded my laptop to Windows 7 64-bit. I was using Windows 7 32-bit earlier with UAC turned off. This time, I thought, let me give UAC one more try.

I really like the concept of UAC right from the day when it was first introduced by Microsoft with Windows Vista. It is a really nice feature for common users who use their PCs for mundane jobs – browsing, creating/editing documents, checking mails, etc.

However, I am curious to know how many of you use UAC in case you are a developer. I have been using my machine with UAC turned on for the last week or so, and have been quite irritated at times when things just do not work and there is no clue as well as to what went wrong. For example, yesterday when I was trying to start Tomcat server on my machine, the script used to fail throwing IOException (unable to create the logs folder within a directory). However, I got it working after reducing the UAC level to 2 (Notify me only when programs try to make changes to my computer (do not dim my desktop)). So far it seems to be working fine. I will try using it with this setting for some more time, and see if works fine for other development related activities as well.

I feel that as developers there are things that we have to do that require full admin privileges on our machine. However, I do understand the benefits that UAC brings along with it, so I would personally not like to get away with it. I understand that there is a workaround to open up the programs with the “Run as Administrator” option, but I would like to avoid it as much as possible, just because of the endless times I would need to do that in a day. Is there a way out that allows me to have the freedom as a developer and at the same time enjoy the security benefits provided by Microsoft as part of the OS?

I would be interested to hear other people’s views on this.

‘Hybrid’ Boot Mode in Windows 8

Came across this article on Technospot.net today regarding the ‘Hybrid’ boot mode of Windows 8. I have Windows 8 Developer Preview installed on my machine, however when I tried to search for the ‘Hybrid boot’ option under ‘Power Options’, I did not find any.

PowerOptions

Does anyone know the reason behind this? Has somebody else faced this as well?

Windows 8 Developer Preview

Just installed the Windows 8 Developer Preview on my Windows 7 machine off a VHD (Virtual Hard Drive). Looks awesome! Thanks to the detailed blog by Scott Hanselman.

Windows 8 Developer Preview also offered a boot-loader allowing dual boot between Windows 7 and Windows 8 Developer Preview. So, I can still run Windows 7, and play around Windows 8 in my spare time. Really excited..!! Smile