<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Windows%2Fbcdedit</id>
	<title>Windows/bcdedit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=Windows%2Fbcdedit"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Windows/bcdedit&amp;action=history"/>
	<updated>2026-05-07T02:38:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=Windows/bcdedit&amp;diff=6012&amp;oldid=prev</id>
		<title>Kenneth: /* keywords */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=Windows/bcdedit&amp;diff=6012&amp;oldid=prev"/>
		<updated>2022-07-22T16:21:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;keywords&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== bcdedit - boot menu editor ==&lt;br /&gt;
&lt;br /&gt;
Use the bcdedit program to edit the boot menu:&lt;br /&gt;
 bcdedit.exe&lt;br /&gt;
&lt;br /&gt;
 ;Warning: Boot.ini is used on Windows XP and earlier operating systems.&lt;br /&gt;
 ;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.&lt;br /&gt;
&lt;br /&gt;
This is a command line tool which is difficult to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bcdedit displays the boot items in the order they appear.&lt;br /&gt;
&lt;br /&gt;
=== default boot ===&lt;br /&gt;
&lt;br /&gt;
Update default boot menu item:&lt;br /&gt;
 bcdedit /default {ntldr}    # boot to w2k3&lt;br /&gt;
 bcdedit /default {current}  # boot to latest installed OS&lt;br /&gt;
 bcdedit /default {1d3642e1-15b2-11df-a272-8144e7b5b488}  # boot to os specified by GUID&lt;br /&gt;
&lt;br /&gt;
=== rename menu item ===&lt;br /&gt;
&lt;br /&gt;
Rename item:&lt;br /&gt;
 bcdedit /set {[ID]} description &amp;quot;[DESCRIPTION]&amp;quot;&lt;br /&gt;
 bcdedit /set {ntldr} description &amp;quot;Windows Server 2003&amp;quot;    # boot to w2k3&lt;br /&gt;
&lt;br /&gt;
=== timeout ===&lt;br /&gt;
&lt;br /&gt;
You can use the System Properties -&amp;gt; Advanced -&amp;gt; &amp;#039;Startup and Recovery&amp;#039; to change the default boot OS and timeout.&lt;br /&gt;
&lt;br /&gt;
Update timeout&lt;br /&gt;
 bcdedit /timeout 30&lt;br /&gt;
&lt;br /&gt;
Really long timeout:&lt;br /&gt;
 bcdedit /timeout 999999&lt;br /&gt;
&lt;br /&gt;
Note: There is no option for unlimited timeout&lt;br /&gt;
&lt;br /&gt;
=== command line options ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\&amp;gt;bcdedit /?&lt;br /&gt;
&lt;br /&gt;
BCDEDIT - Boot Configuration Data Store Editor&lt;br /&gt;
&lt;br /&gt;
The Bcdedit.exe command-line tool modifies the boot configuration data store.&lt;br /&gt;
The boot configuration data store contains boot configuration parameters and&lt;br /&gt;
controls how the operating system is booted. These parameters were previously&lt;br /&gt;
in the Boot.ini file (in BIOS-based operating systems) or in the nonvolatile&lt;br /&gt;
RAM entries (in Extensible Firmware Interface-based operating systems). You can&lt;br /&gt;
use Bcdedit.exe to add, delete, edit, and append entries in the boot&lt;br /&gt;
configuration data store.&lt;br /&gt;
&lt;br /&gt;
For detailed command and option information, type bcdedit.exe /? &amp;lt;command&amp;gt;. For&lt;br /&gt;
example, to display detailed information about the /createstore command, type:&lt;br /&gt;
&lt;br /&gt;
     bcdedit.exe /? /createstore&lt;br /&gt;
&lt;br /&gt;
For an alphabetical list of topics in this help file, run &amp;quot;bcdedit /? TOPICS&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Commands that operate on a store&lt;br /&gt;
================================&lt;br /&gt;
/createstore    Creates a new and empty boot configuration data store.&lt;br /&gt;
/export         Exports the contents of the system store to a file. This file&lt;br /&gt;
                can be used later to restore the state of the system store.&lt;br /&gt;
/import         Restores the state of the system store using a backup file&lt;br /&gt;
                created with the /export command.&lt;br /&gt;
/sysstore       Sets the system store device (only affects EFI systems, does&lt;br /&gt;
                not persist across reboots, and is only used in cases where&lt;br /&gt;
                the system store device is ambiguous).&lt;br /&gt;
&lt;br /&gt;
Commands that operate on entries in a store&lt;br /&gt;
===========================================&lt;br /&gt;
/copy           Makes copies of entries in the store.&lt;br /&gt;
/create         Creates new entries in the store.&lt;br /&gt;
/delete         Deletes entries from the store.&lt;br /&gt;
&lt;br /&gt;
Run bcdedit /? ID for information about identifiers used by these commands.&lt;br /&gt;
&lt;br /&gt;
Commands that operate on entry options&lt;br /&gt;
======================================&lt;br /&gt;
/deletevalue    Deletes entry options from the store.&lt;br /&gt;
/set            Sets entry option values in the store.&lt;br /&gt;
&lt;br /&gt;
Run bcdedit /? TYPES for a list of datatypes used by these commands.&lt;br /&gt;
Run bcdedit /? FORMATS for a list of valid data formats.&lt;br /&gt;
&lt;br /&gt;
Commands that control output&lt;br /&gt;
============================&lt;br /&gt;
/enum           Lists entries in the store.&lt;br /&gt;
/v              Command-line option that displays entry identifiers in full,&lt;br /&gt;
                rather than using names for well-known identifiers.&lt;br /&gt;
                Use /v by itself as a command to display entry identifiers&lt;br /&gt;
                in full for the ACTIVE type.&lt;br /&gt;
&lt;br /&gt;
Running &amp;quot;bcdedit&amp;quot; by itself is equivalent to running &amp;quot;bcdedit /enum ACTIVE&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Commands that control the boot manager&lt;br /&gt;
======================================&lt;br /&gt;
/bootsequence   Sets the one-time boot sequence for the boot manager.&lt;br /&gt;
/default        Sets the default entry that the boot manager will use.&lt;br /&gt;
/displayorder   Sets the order in which the boot manager displays the&lt;br /&gt;
                multiboot menu.&lt;br /&gt;
/timeout        Sets the boot manager time-out value.&lt;br /&gt;
/toolsdisplayorder  Sets the order in which the boot manager displays&lt;br /&gt;
                    the tools menu.&lt;br /&gt;
&lt;br /&gt;
Commands that control Emergency Management Services for a boot application&lt;br /&gt;
==========================================================================&lt;br /&gt;
/bootems        Enables or disables Emergency Management Services&lt;br /&gt;
                for a boot application.&lt;br /&gt;
/ems            Enables or disables Emergency Management Services for an&lt;br /&gt;
                operating system entry.&lt;br /&gt;
/emssettings    Sets the global Emergency Management Services parameters.&lt;br /&gt;
&lt;br /&gt;
Command that control debugging&lt;br /&gt;
==============================&lt;br /&gt;
/bootdebug      Enables or disables boot debugging for a boot application.&lt;br /&gt;
/dbgsettings    Sets the global debugger parameters.&lt;br /&gt;
/debug          Enables or disables kernel debugging for an operating system&lt;br /&gt;
                entry.&lt;br /&gt;
/hypervisorsettings  Sets the hypervisor parameters.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Restore Point on Failure ===&lt;br /&gt;
&lt;br /&gt;
Default is &amp;quot;Recovery&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 bcdedit /set displaymessageoverride SystemRestore&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
displaymessageoverride:&lt;br /&gt;
0 = Default&lt;br /&gt;
1 = Resume&lt;br /&gt;
2 = HyperV&lt;br /&gt;
3 = Recovery&lt;br /&gt;
4 = StartupRepair&lt;br /&gt;
5 = SystemImageRecovery&lt;br /&gt;
6 = CommandPrompt&lt;br /&gt;
7 = SystemRestore&lt;br /&gt;
8 = PushButtonReset&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ref: https://www.geoffchappell.com/notes/windows/boot/bcd/elements.htm&lt;br /&gt;
&lt;br /&gt;
=== Disable PCIExpress Features ===&lt;br /&gt;
&lt;br /&gt;
Disable support for PCIe Hotplug:&lt;br /&gt;
&lt;br /&gt;
 bcdedit /set pciexpress ForceDisable&lt;br /&gt;
&lt;br /&gt;
=== notes ===&lt;br /&gt;
&lt;br /&gt;
D:\&amp;gt;bcdedit&lt;br /&gt;
The boot configuration data store could not be opened.&lt;br /&gt;
The system cannot find the file specified.&lt;br /&gt;
&lt;br /&gt;
D:\&amp;gt;bcdedit /store d:\boot&lt;br /&gt;
The boot configuration data store could not be opened.&lt;br /&gt;
The system has attempted to load or restore a file into the registry, but the sp&lt;br /&gt;
ecified file is not in a registry file format.&lt;br /&gt;
&lt;br /&gt;
D:\&amp;gt;bcdedit /enum&lt;br /&gt;
The boot configuration data store could not be opened.&lt;br /&gt;
The system cannot find the file specified.&lt;br /&gt;
&lt;br /&gt;
D:\&amp;gt;bcdedit /enum /store d:\Boot&lt;br /&gt;
The boot configuration data store could not be opened.&lt;br /&gt;
The system has attempted to load or restore a file into the registry, but the sp&lt;br /&gt;
ecified file is not in a registry file format.&lt;br /&gt;
&lt;br /&gt;
D:\&amp;gt;bcdedit /enum /store d:\Boot\BCD&lt;br /&gt;
&lt;br /&gt;
Windows Boot Manager&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
D:\&amp;gt;bcdedit /timeout 30 /enum /store d:\Boot\BCD&lt;br /&gt;
Invalid command line switch: /timeout&lt;br /&gt;
Run &amp;quot;bcdedit /?&amp;quot; for command line assistance.&lt;br /&gt;
&lt;br /&gt;
D:\&amp;gt;bcdedit /timeout 30 /store d:\Boot\BCD&lt;br /&gt;
The operation completed successfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bcdedit /default {ntldr} /store d:\Boot\BCD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
bootcfg?&lt;br /&gt;
&lt;br /&gt;
bootcfg - Clone setting: [http://msdn.microsoft.com/en-us/library/ff541231%28VS.85%29.aspx]&lt;br /&gt;
 bootcfg /copy /ID 2 /d &amp;quot;Microsoft Windows XP Professional - new&amp;quot;&lt;br /&gt;
&lt;br /&gt;
create new config: [http://msdn.microsoft.com/en-us/library/ff541231%28VS.85%29.aspx]&lt;br /&gt;
 bcdedit /create /d &amp;quot;My Windows Vista&amp;quot; /application osloader&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Read: (for fix broken w2k8)&lt;br /&gt;
* http://www.itechtalk.com/thread2386.html&lt;br /&gt;
* http://social.answers.microsoft.com/Forums/en-US/w7hardware/thread/6821a959-9c39-4f3d-8795-85415bd18f5e&lt;br /&gt;
* http://www.mydigitallife.info/2008/02/26/unable-to-disable-integrity-checks-cause-drivers-not-found-in-64-bit-vista-x64/&lt;br /&gt;
&lt;br /&gt;
== Enable Test Signing ==&lt;br /&gt;
&lt;br /&gt;
 bcdedit /set testsigning on&lt;br /&gt;
&lt;br /&gt;
== Disable Driver Integrity Checks ==&lt;br /&gt;
&lt;br /&gt;
  bcdedit /set loadoptions DISABLE_INTEGRITY_CHECKS&lt;br /&gt;
&lt;br /&gt;
Alt Disable integrity checks: (ref: [https://windowsreport.com/driver-signature-enforcement-windows-10/])&lt;br /&gt;
 # bcdedit.exe /set nointegritychecks on&lt;br /&gt;
 # bcdedit.exe /set nointegritychecks true&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
See [[Windows_Server_2008]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>