Original post : bootcfg - Guide for Windows XP.
If you don't have the installation disc, use Easy Recovery Essentials. You can burn EasyRE directly on a CD, DVD or USB to access Command Prompt.
bootcfg /default
bootcfg /add
bootcfg /rebuild
bootcfg /scan
Scanning all disks for Windows Installations Please wait, since this may take a while... Total Identified Windows Installs: 2 [1] C:\Windows [2] D:\Windows Select installation to add: (select a number) Enter Load Identifier: (Custom description for an operating system loading from the Boot menu) Enter Operating System Load Options: (that is: /fastdetect)
Total Identified Windows Installs: 2 [1] C:\Windows Add installation to boot list? (Yes/No/All): Enter Load Identifier: (Custom description for an operating system loading from the Boot menu) Enter Operating System Load Options: (that is: /fastdetect) [2] D:\Windows Add installation to boot list? (Yes/No/All): Enter Load Identifier: (Custom description for an operating system loading from the Boot menu) Enter Operating System Load Options: (that is: /fastdetect)
Scanning all disks for Windows Installations Please wait, since this may take a while... Total Identified Windows Installs: 2 [1] C:\Windows [2] D:\Windows
bootcfg /list
Total entries in boot list: 2 [1] Microsoft Windows Whistler Professional Operating System Load Options: /fastdetect Operating System Location: D:\Windows [2] Microsoft Windows Whistler Server Operating System Load Options: /fastdetect Operating System Location: C:\Windows
bootcfg /redirect
bootcfg /disableredirect
msconfig
exit
chkdsk C: /r
C:
/r