Creating an Event Source via a Reg File

If you ever tried to write to the event log, without an event source for that application created you will get an exception saying something along the lines of that you do not have permissions to create the event source.

If an event source does not exist, it is automatically created. The creation of the event source is a privileged operation and requires elevated privileges (a.k.a admin privileges) which of course might not always be possible if running a web application.

The easiest way to create this event source is via a reg file. An example is below (credit goes to my colleague Dominic to provide me the original sample).

Note: you need all the lines below including the “Windows Registry Editor Version 5.00”.

Windows Registry Editor Version 5.00








Upgrading Enterprise Edition to Ultimate (Vista or Win7)

If you are ever in a situation where you want to upgrade say from Vista Enterprise edition to Win 7 Ultimate edition – by default you cannot do this. When you insert your Win7 disc you won’t find the upgrade option available and the only way you see forward is to do a complete fresh install (after backing up your data of course). However, that is very time consuming and of course generally a lot of pain.

So here is a tip to get you to upgrade without doing a complete fresh install where you “fool” the installer in thinking you have a different version to allow you to upgrade.

You need to do the following steps, before inserting the Windows DVD

  1. Go to, Start, Run: and type: regedit.exe
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
  3. Change the key: ProductName from "Windows 7  Enterprise” to “Windows 7 Business” or to “Windows 7 Ultimate”
  4. Change the key: EditionID from "Enterprise" to “Business” or to “Ultimate”
  5. Do not restart!
  6. Now insert Windows DVD and start upgrading (the option Upgrade will not be graded out anymore)

Of course you will need the appropriate licences and still need to activate, etc.


I build my first MCE a few years ago and since then not looked back – despite a few of my screw ups. In our household the MCE is used a lot and it really has changed the way we watch TV. One starts taking things for granted such as the ability pause live TV or rewind when you did not quite catch the last dialogue. And this was brought more in focus when during the transition from the old MCE to the new MCE (more on that in a second).

I decided to build another MCE– mainly as the old MCE had started dying. It was not dead (yet), but had started to hobble towards its grave. There were a few things which were bugging, such as:

  • Every few minutes the display card would stop for a second or two and then start working on its own – and the frequency of this occurrence was slowly increasing.
  • I already had changed the memory once as it got corrupt. Also this was only 1 GB and Vista was quite slow.
  • Disk space while not an issue was something to keep an eye on.
  • Channels were not being changed reliably – which meant you had to remember to change the channel to whatever before say going to bed at night so it can can record that program, etc.

I wanted to buy a MCE instead of building it and had my eye on the Sony TP Series – which in my opinion is a beauty. Unfortunately, the sales guys were not sure if this can be used with Sky (that’s Satellite TV for those not familiar). I did not want to buy it and then if it did not work get in the whole hassle of returning it.

So I decide to build one again. Looks were important as this sits in the living room and cannot look like a “computer”. Also efficiency and noise both were important. Wanted this to be green and quite.

Here is the config of the new MCE:

I got Win 7 RC1 running on it without any issues and its lovely! I have pictures I took along the way and will be uploading them here sometime soon.