Sunday, September 27, 2009

Renaming an entry in the Vista boot menu

After installing Windows 7 and repairing your Windows Vista partition, you'll notice that the latter is now called Windows Vista ... (recovered)

If you wish to rename the "Windows Vista ... (recovered)" entry in the boot menu, here is how:

From Windows 7, press the Windows key, type cmd, right-click on the cmd entry and select "Run as administrator".
Type "BCDEDIT" and note the identifier value for the "Windows Vista... (recovered)" entry under "Windows Boot Loader". The value for the "Windows 7" partition is normally {current}".

Assuming the value of the identifier for "Windows Vista... (recovered)" is different to the Windows 7 value, to rename the Vista partition, type this:
BCDEDIT /set {#my-Vista-identifier} description "Windows Vista" (where you will have to substitute the real identifier for #my-Vista-identifier).

If the value of the identifier for "Windows Vista... (recovered)" is also {current}, you may have to use the resumeobject, which is a long alphanumeric string.
A guide to using the BCDedit.exe in Windows advises that:
"The Bcdedit.exe command-line tool can be used to add, delete and edit entries in the BCD store which contains objects. Each object is identified by a GUID (Globally Unique Identifier). Every drive or partition on the system will have its own GUID and could be {legacy} (to describe a drive or partition on which a pre-Vista operating system [is installed]), {default} (to describe the drive or partition containing the current default operating system), or {current} (to describe the current drive or partition one is booted to), or for example {c34b751a-ff09-11d9-9e6e-0030482375e7} (to describe another drive or partition on which an operating system has been installed)...

bcdedit /set {5189b25c-5558-4bf2-bca4-289b11bd29e2} description "Windows Vista Build 5270 x64"

changes the text of the boot menu line for any other Vista installation."

No comments:

Post a Comment