O'Reilly logo

Windows Vista Security: Praxisorientierte Sicherheit für Profis by Marcus Nasarek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

790
|
Chapter 23: Exploring the Windows Boot Environment
Changing the Default Operating System
To change the default operating system entry, you can use the /Default parameter
for BCDEdit. The syntax for this parameter is:
Bcdedit /default bootldrid
where bootldrid is the GUID of the boot loader to use. You can boot to a particular
installation of Windows Vista or a later Windows operating system by specifying the
identifier for the related boot loader. When you view verbose details for the BCD
data store, the identifiers for a particular Windows Boot Loader are listed with its
entry, such as:
Windows Boot Loader
-------------------
identifier {0c728e1b-d009-11da-b18b-9dc1d02cdda0}
device unknown
path \Windows\system32\winload.exe
description Microsoft Windows
locale en-US
inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
bootdebug Yes
osdevice unknown
systemroot \Windows
resumeobject {0c728e1c-d009-11da-b18b-9dc1d02cdda0}
nx OptIn
quietboot No
debug No
ems No
The Windows Boot Manager entries also list each Windows Vista or later operating
system by its identifier in the
displayorder field:
Windows Boot Manager
--------------------
identifier {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device partition=C:
description Windows Boot Manager
locale en-US
inherit {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
bootdebug No
default {263bf496-4ab4-11db-b478-c0671802252f}
resumeobject {263bf497-4ab4-11db-b478-c0671802252f}
displayorder {263bf496-4ab4-11db-b478-c0671802252f}
{0c728e1b-d009-11da-b18b-9dc1d02cdda0}
toolsdisplayorder {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout 30
You could set one of the related operating systems as the default for the computer, as
shown in this example:
bcdedit /default {0c728e1b-d009-11da-b18b-9dc1d02cdda0}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required