Windows 8 Start Menu Toggle

Since getting my hands on Windows 8 this past week, I (like many others) have really grappled with the constant accidental returning to the metro tiles every time I try to search for something in the new neutered Start Menu that appears in the Developer’s Preview of Windows 8.  To say I hate that would be an understatement.

Today, a colleague forwarded m

e a link to a blog entry that showed the magic registry key to get my beloved Start Menu mostly back the way it was.  Apparently, there is a small GUI app on CodePlex that will take care of this as well.

I decided I didn’t want to see anything, I just want to toggle.  So, I threw together a quick Console App to take care of this.  I can place this app on my desktop in Windows 8 classic mode and just toggle back and forth without having to see anything but a quick flash of the console.

Here’s the code:


 

 

 

    1. using Microsoft.Win32;

 

 

    1. namespace ToggleStartMenu

 

    1. {

 

    1.     class Program

 

    1.     {

 

    1.         static void Main(string[] args)

 

    1.         {

 

    1.             var rootKey = Registry.CurrentUser;

 

    1.             var subKey = rootKey.OpenSubKey(@”SoftwareMicrosoftWindowsCurrentVersionExplorer”,

 

    1.                 RegistryKeyPermissionCheck.ReadWriteSubTree, System.Security.AccessControl.RegistryRights.FullControl);

 

 

    1.             if (subKey != null)

 

    1.             {

 

    1.                 var value = (int) subKey.GetValue(“RPEnabled”);

 

    1.                 subKey.SetValue(“RPEnabled”, value == 0 ? 1 : 0, RegistryValueKind.DWord);

 

    1.             }

 

    1.         }

 

    1.     }

 

    1. }

 

 

 

 


 

Here’s the source.

We welcome the opportunity to discuss your managed database needs and provide you a quote.
Kindly fill out the form below and we will be in contacts as soon as possible.

Stay Informed

Sign up for the latest blogs, events, and insights.

We deliver solutions that accelerate the value of Azure.
Ready to experience the full power of Microsoft Azure?

Atmosera is thrilled to announce that we have been named GitHub AI Partner of the Year.

X