Windows – BCDEdit

KB ID 0000097 

Problem

If you’re used to editing boot,ini files in earlier versions of windows then you are in for a bit of strife – Vista and newer OS’s now has its own boot loader, but happily there is a tool to let you edit what it does – this tool is called BCDEDIT.EXE and by default it lives in the windows > system32 directory.

Solution

Simply running the command will tell you what the boot settings are at the moment.

This particular machine (My work Laptop) Has windows XP installed on the C: drive and Vista on the F: Drive – The IMPORTANT thing to note is each OS has an identifier. In this case the XP identifier is called {ntldr} and the Vista Identifier is called {current}

NOTE: In a lot of online forums I’ve seen these labeled with GUIDS and not simple names like this this may have been in Longhorn or the Vista Beta’s

Before you do anything I suggest you backup the setting – bcdedit will do this for you – the command you need is….

bcdedit /export “{drive and path}

Should you need to restore the settings you can do so using the following command

bcdedit /import “{drive and path}

The most common thing you will want to do is change the names on the Boot menu – Vista by default calls XP something horrible like “Earlier son of Windows” and Calls itself SOmething nice like “Microsoft Windows Vista” to Change the display names you need to run the bcdedit command now get the IDENTIFIER for the OS you want to change (remember mine were ntldr and current (see above)) then use the following syntax

bcdedit -set {identifier} DESCRIPTION “What you want to call it

For Example this renames my XP Installation to Windows XP

And this renames my Vista Installation to Windows Vista

The next most common requirement is to alter the timeout period (thou countdown while you select an OS to boot)By default is 30 Seconds to alter this the syntax is…

bcdedit /timeout {time in seconds}

To Change the DEFAULT OS that the boot loader will boot again you will need to know the identifier of that operating system, obviously by default it will be vista but if you want to change it to another OS (In my case) my XP OS the syntax is…

bcdedit /default {identifier}

The Last Thing you might want to change is the order the Operating systems are displayed in again you will need to know the identifier and the syntax is as follows…

bcdedit /displayorder {first identifier} {second identifier} etc

 

Related Articles, References, Credits, or External Links

NA

Windows 8 – ‘Test Mode Windows 8 build 9200’

KB ID 0000281 

Problem

Also seen on Server 2008.

Solution

1. Click Start, in the search box type cmd > then right click the cmd icon and select “Run as administrator“.

2. At command line issue the following command,

[box]Bcdedit.exe -set TESTSIGNING OFF[/box]

 

3. Then Reboot the PC.

 

Related Articles, References, Credits, or External Links

Original Article Written 15/06/10