のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

起動システムで既定のオペレーティングシステムを消す方法(bcdedit)

Windows 7 RC を削除する方法:bcdedit - Windows Vista とのデュアルブート: day

コマンドプロンプトを管理者で開く

C:\Windows\system32>bcdedit

Windows ブート マネージャー
--------------------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume1
description             Windows Boot Manager
locale                  ja-JP
inherit                 {globalsettings}
resumeobject            {5df91c83-a96c-11df-83fa-d4d8e461189f}
displayorder            {current}
                        {5df91c87-a96c-11df-83fa-d4d8e461189f}
toolsdisplayorder       {memdiag}
timeout                 4

Windows ブート ローダー
--------------------------------
identifier              {current}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             Windows 7
locale                  ja-JP
inherit                 {bootloadersettings}
recoverysequence        {5df91c85-a96c-11df-83fa-d4d8e461189f}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {5df91c83-a96c-11df-83fa-d4d8e461189f}
nx                      OptIn

リアル モード ブート セクター
--------------------------------
identifier              {5df91c87-a96c-11df-83fa-d4d8e461189f}
device                  partition=C:
path                    \BOOT\boot.bin
description             ReadyDriver Plus

元の情報を保存。

いらない起動システムを削除する。

C:\Windows\system32>bcdedit /delete {5df91c87-a96c-11df-83fa-d4d8e461189f}
この操作を正しく終了しました。

消えたか確認する。

C:\Windows\system32>bcdedit

Windows ブート マネージャー
--------------------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume1
description             Windows Boot Manager
locale                  ja-JP
inherit                 {globalsettings}
resumeobject            {5df91c83-a96c-11df-83fa-d4d8e461189f}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 4

Windows ブート ローダー
--------------------------------
identifier              {current}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             Windows 7
locale                  ja-JP
inherit                 {bootloadersettings}
recoverysequence        {5df91c85-a96c-11df-83fa-d4d8e461189f}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {5df91c83-a96c-11df-83fa-d4d8e461189f}
nx                      OptIn