{"id":3873,"date":"2016-05-09T03:46:53","date_gmt":"2016-05-09T08:46:53","guid":{"rendered":"http:\/\/neosmart.net\/wiki\/?page_id=3873"},"modified":"2016-05-18T09:08:54","modified_gmt":"2016-05-18T14:08:54","slug":"bootrec","status":"publish","type":"page","link":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/","title":{"rendered":"bootrec.exe"},"content":{"rendered":"<p><strong>bootrec.exe<\/strong> is the utility that is used to update the master boot record code, partition bootsector code, and the BCD (boot configuration data). It&#8217;s most-commonly used to correct\u00a0boot problems on Windows Vista and later versions of Windows.<\/p>\n<h2><span id=\"Synopsis\">Synopsis<\/span><\/h2>\n<p>Arguments enclosed with braces\u00a0<strong>{ \u00a0}<\/strong>\u00a0are necessary and | stands for &#8220;<strong>or<\/strong>&#8220;.<\/p>\n<pre><strong>bootrec.exe<\/strong> {\/<strong>fixmbr<\/strong> | \/<strong>fixboot<\/strong> | \/<strong>scanos<\/strong> | \/<strong>rebuildbcd<\/strong>}<\/pre>\n<h2><span id=\"Description\">Description<\/span><\/h2>\n<p>The <strong>bootrec.exe<\/strong> utility takes\u00a0only one of several valid argument,\u00a0depending on the desired correction behavior. It can be used to update\u00a0a\u00a0disk&#8217;s master boot record (<strong>MBR<\/strong>) code, a partition&#8217;s bootsector\u00a0code, or to\u00a0rebuild the boot configuration data (<strong>BCD<\/strong>).<\/p>\n<p>The options are as follows:<\/p>\n<p style=\"margin-left: .5in;text-indent: -.5in\"><strong>\/?<\/strong><br \/>\nLists the existing arguments<\/p>\n<p style=\"margin-left: .5in;text-indent: -.5in\"><strong>\/fixmbr<\/strong><br \/>\nUpdates the master boot record (<strong>MBR<\/strong>) code with the code compatible with Windows Vista, 7, 8, 10. It doesn&#8217;t edit the existing partition table.<\/p>\n<p style=\"margin-left: .5in;text-indent: -.5in\"><strong>\/fixboot<\/strong><br \/>\nUpdates the boot sector code\u00a0of the partition used to boot the system\u00a0with the code that loads and runs the\u00a0<strong>BOOTMGR<\/strong> bootloader i.e. it works on Windows Vista, 7, 8, 10.<\/p>\n<p style=\"margin-left: .5in;text-indent: -.5in\"><strong>\/scanos<\/strong><br \/>\nScans all disks for Windows installations that are Windows Vista or of a newer version and returns the number of installations that are not listed in the boot configuration data (<strong>BCD<\/strong>\u00a0i.e. can&#8217;t be booted into.<\/p>\n<p style=\"margin-left: .5in;text-indent: -.5in\"><strong>\/rebuildbcd<\/strong><br \/>\nRebuilds the boot configuration data (<strong>BCD<\/strong>) by updating it with a choice to boot into versions of Windows installed on the disk that were previously unbootable i.e. adding them to the boot configuration data.<\/p>\n<h2><span id=\"Exit_Status\">Exit Status<\/span><\/h2>\n<p>The bootrec utility exits <strong>0<\/strong> on success and <strong>1<\/strong> if an error occurs.<\/p>\n<h2><span id=\"Examples\">Examples<\/span><\/h2>\n<p>To update the master boot record (<strong>MBR<\/strong>) code of the disk in the case it got corrupt or rewritten, resulting in the inability to boot the system:<\/p>\n<p><strong><code>bootrec \/fixmbr<\/code><\/strong><\/p>\n<p>To update the boot sector code of the partition used to boot the system with the code that loads and runs the BOOTMGR bootloader:<\/p>\n<p><strong><code>bootrec \/fixboot<\/code><\/strong><\/p>\n<p>To scan all the Windows installations on the disk that are not included in the BCD:<\/p>\n<p><strong><code>bootrec \/scanos<\/code><\/strong><\/p>\n<p>To update the BCD with the ability to boot into Windows versions installed on the hard disk that were previously unbootable:<\/p>\n<p><strong><code>bootrec \/rebuildbcd<\/code><\/strong><\/p>\n<h2><span id=\"Compatibility\">Compatibility<\/span><\/h2>\n<p>The<strong> bootrec.exe<\/strong> utility is compatible with Windows Vista, Windows 7, Windows 8, Windows 10.<\/p>\n<h2><span id=\"History\">History<\/span><\/h2>\n<p>Before the <a href=\"https:\/\/neosmart.net\/wiki\/winman\/bootsect\/\">bootsect<\/a>\u00a0utility introduced the<code><strong> \/mbr<\/strong><\/code> argument, <code><strong>bootrec \/fixmbr<\/strong><\/code> was the only way of updating the disk&#8217;s <strong>MBR<\/strong>.<\/p>\n<h2><span id=\"See_Also\">See Also<\/span><\/h2>\n<p><strong>bootsect\u00a0\u00a0<\/strong>&#8211;\u00a0command-line utility that\u00a0is\u00a0used to update the partition bootsector code and\u00a0the master boot record code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>bootrec.exe is the utility that is used to update the master boot record code, partition bootsector code, and the BCD (boot configuration data). It&#8217;s most-commonly used to correct\u00a0boot problems on Windows Vista and later versions of Windows. Synopsis Arguments enclosed with braces\u00a0{ \u00a0}\u00a0are necessary and | stands for &#8220;or&#8220;. bootrec.exe {\/fixmbr | \/fixboot | \/scanos [&hellip;]<\/p>\n","protected":false},"author":516,"featured_media":0,"parent":3793,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3873","page","type-page","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"bootrec.exe is the utility that is used to update the master boot record code, partition bootsector code, and the BCD (boot configuration data). It&#039;s most-commonly used to correct boot problems on Windows Vista and later versions of Windows. Synopsis Arguments enclosed with braces { } are necessary and | stands for &quot;or&quot;. bootrec.exe {\/fixmbr | \/fixboot | \/scanos\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/bootrec\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/#listItem\",\"name\":\"Windows Manual Pages\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/#listItem\",\"position\":2,\"name\":\"Windows Manual Pages\",\"item\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/bootrec\\\/#listItem\",\"name\":\"bootrec.exe\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/bootrec\\\/#listItem\",\"position\":3,\"name\":\"bootrec.exe\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/#listItem\",\"name\":\"Windows Manual Pages\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/#organization\",\"name\":\"NeoSmart Knowledgebase\",\"description\":\"Wiki of Windows recovery and repair, system errors, guides, and more.\",\"url\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/\",\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/neosmart\",\"https:\\\/\\\/twitter.com\\\/neosmart\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/bootrec\\\/#webpage\",\"url\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/bootrec\\\/\",\"name\":\"bootrec.exe\",\"description\":\"bootrec.exe is the utility that is used to update the master boot record code, partition bootsector code, and the BCD (boot configuration data). It's most-commonly used to correct boot problems on Windows Vista and later versions of Windows. Synopsis Arguments enclosed with braces { } are necessary and | stands for \\\"or\\\". bootrec.exe {\\\/fixmbr | \\\/fixboot | \\\/scanos\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/winman\\\/bootrec\\\/#breadcrumblist\"},\"datePublished\":\"2016-05-09T03:46:53-05:00\",\"dateModified\":\"2016-05-18T09:08:54-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/#website\",\"url\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/\",\"name\":\"NeoSmart Knowledgebase\",\"description\":\"Wiki of Windows recovery and repair, system errors, guides, and more.\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/wiki\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"bootrec.exe","description":"bootrec.exe is the utility that is used to update the master boot record code, partition bootsector code, and the BCD (boot configuration data). It's most-commonly used to correct boot problems on Windows Vista and later versions of Windows. Synopsis Arguments enclosed with braces { } are necessary and | stands for \"or\". bootrec.exe {\/fixmbr | \/fixboot | \/scanos","canonical_url":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/neosmart.net\/wiki\/#listItem","position":1,"name":"Home","item":"https:\/\/neosmart.net\/wiki\/","nextItem":{"@type":"ListItem","@id":"https:\/\/neosmart.net\/wiki\/winman\/#listItem","name":"Windows Manual Pages"}},{"@type":"ListItem","@id":"https:\/\/neosmart.net\/wiki\/winman\/#listItem","position":2,"name":"Windows Manual Pages","item":"https:\/\/neosmart.net\/wiki\/winman\/","nextItem":{"@type":"ListItem","@id":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/#listItem","name":"bootrec.exe"},"previousItem":{"@type":"ListItem","@id":"https:\/\/neosmart.net\/wiki\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/#listItem","position":3,"name":"bootrec.exe","previousItem":{"@type":"ListItem","@id":"https:\/\/neosmart.net\/wiki\/winman\/#listItem","name":"Windows Manual Pages"}}]},{"@type":"Organization","@id":"https:\/\/neosmart.net\/wiki\/#organization","name":"NeoSmart Knowledgebase","description":"Wiki of Windows recovery and repair, system errors, guides, and more.","url":"https:\/\/neosmart.net\/wiki\/","sameAs":["https:\/\/facebook.com\/neosmart","https:\/\/twitter.com\/neosmart"]},{"@type":"WebPage","@id":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/#webpage","url":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/","name":"bootrec.exe","description":"bootrec.exe is the utility that is used to update the master boot record code, partition bootsector code, and the BCD (boot configuration data). It's most-commonly used to correct boot problems on Windows Vista and later versions of Windows. Synopsis Arguments enclosed with braces { } are necessary and | stands for \"or\". bootrec.exe {\/fixmbr | \/fixboot | \/scanos","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/neosmart.net\/wiki\/#website"},"breadcrumb":{"@id":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/#breadcrumblist"},"datePublished":"2016-05-09T03:46:53-05:00","dateModified":"2016-05-18T09:08:54-05:00"},{"@type":"WebSite","@id":"https:\/\/neosmart.net\/wiki\/#website","url":"https:\/\/neosmart.net\/wiki\/","name":"NeoSmart Knowledgebase","description":"Wiki of Windows recovery and repair, system errors, guides, and more.","inLanguage":"en-US","publisher":{"@id":"https:\/\/neosmart.net\/wiki\/#organization"}}]}},"aioseo_meta_data":{"post_id":"3873","title":"bootrec.exe","description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-23 20:02:03","updated":"2026-01-10 22:18:29","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/neosmart.net\/wiki\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/neosmart.net\/wiki\/winman\/\" title=\"Windows Manual Pages\">Windows Manual Pages<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tbootrec.exe\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/neosmart.net\/wiki\/"},{"label":"Windows Manual Pages","link":"https:\/\/neosmart.net\/wiki\/winman\/"},{"label":"bootrec.exe","link":"https:\/\/neosmart.net\/wiki\/winman\/bootrec\/"}],"jetpack_shortlink":"https:\/\/wp.me\/P3SlTq-10t","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages\/3873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/users\/516"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/comments?post=3873"}],"version-history":[{"count":25,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages\/3873\/revisions"}],"predecessor-version":[{"id":4161,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages\/3873\/revisions\/4161"}],"up":[{"embeddable":true,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/pages\/3793"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/media?parent=3873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}