Está en la página 1de 5

6/10/2016

AnoperatingsystemwasntfounderrorwhenbootingWindows

Store

Products

Support

Sign in

An operating system wasnt found error when


booting Windows
Symptoms
When trying to boot Windows, you receive the error:
An operating system wasnt found. Try disconnecting any drives that dont contain an operating system.
Press Ctrl+Alt+Del to restart

https://support.microsoft.com/enus/kb/3103656

1/5

6/10/2016

AnoperatingsystemwasntfounderrorwhenbootingWindows

Resolution
A bootable USB or DVD with Windows 7 or higher is needed to bring up the Command Prompt. If you dont have a bootable media available,
you can obtain one by following the create installation media steps found here.
Bring up the command prompt:
1. Boot from any DVD or USB Windows 7, 8, or 10 media.
2. Once you have reached the Windows Setup screen where you select the Language, Time and Keyboard settings, press the SHIFT + F10
keys to bring up the Command Prompt.

Find out whether your disk is set to GUID Partition Table (GPT) or Master Boot Record (MBR):
1. In the Command Prompt, type diskpartand press Enter.
2. Type list disk and press Enter.
3. Look for your disk and see if the GPT column has an asterisk * this will indicate the disk is GPT. If no asterisk is found, then the disk is
set as MBR.
4. Type exit and press Enter.
If the type is MBR:
1. From the Command Prompt, type dir a: and press Enter.
a. If drive A: is found and a directory is displayed, check for the \Windows folder in the directory. If it is there, that is the System
Drive. Skip to step 2.
b. If the drive is not found or it doesnt contain the \Windows folder, type dir b: and press Enter. Continue through the alphabet until
the drive with the \Windows folder is found, but skip the X: drive. That will be the install files from the USB or DVD you are using.
The most common location is the C: drive, so that example will be used in the rest of the article.
2. Once it is found, type:bcdboot C:\Windows /S C:
a. In this case, C is the drive where Windows folder was found. If the Windows folder is on a different drive, use that drive letter
https://support.microsoft.com/enus/kb/3103656

instead of C in the bcdboot command above.

2/5

6/10/2016

AnoperatingsystemwasntfounderrorwhenbootingWindows

instead of C in the bcdboot command above.


3. The message Boot files successfully created must be shown before you can continue.
4. Type: diskpart and press Enter.
5. Type: list disk and press Enter.
6. Type: sel disk C and press Enter.
a. In this case, C is the drive where Windows folder was found. If the Windows folder is on a different drive, use that drive letter
instead of C in the sel disk command above.
7. Type: list vol and press Enter.
8. Type: sel vol C and press Enter.
a. In this case, C is the drive where Windows folder was found. If the Windows folder is on a different drive, use that drive letter
instead of C in the sel disk command above.
9. Type: active and press Enter.
a. You should get a confirmation that the volume has been successfully set as active. If you dont get the confirmation, it means that
either the disk is set to GPT not MBR, or there is a problem with the disk. Make sure you are working with the right disk.
10. Type: exit and press Enter.
11. Reboot the device you can do this quickly from the command prompt by typing: shutdown -f -r -t 00 and press Enter.
If the type is GPT:
1. From the Command Prompt, type dir a: and press Enter.
a. If drive A: is found and a directory is displayed, check for the \Windows folder in the directory. If it is there, that is the System
Drive. Skip to step 2.
b. If the drive is not found or it doesnt contain the \Windows folder, type dir b: and press Enter. Continue through the alphabet until
the drive with the \Windows folder is found, but skip the X: drive. That will be the install files from the USB or DVD you are using.
The most common location is the C: drive, so that example will be used in the rest of the article.
2. Type: diskpart and press Enter.
3. Type: list disk and press Enter
4. Type:
https://support.microsoft.com/enus/kb/3103656

sel disk C and press Enter.

3/5

6/10/2016

AnoperatingsystemwasntfounderrorwhenbootingWindows

4. Type: sel disk C and press Enter.


a. In this case, C is the drive where Windows folder was found. If the Windows folder is on a different drive, use that drive letter
instead of C in the sel disk command above.
5. Type: list part and press Enter.
6. Look for the partition labeled as System.
7. Once it is found, assign the letter R to the partition. If the letter R is already taken, you can choose any unassigned letter. To assign the
letter type: assign letter=r: and press Enter.
8. Type: exit and press Enter.
9. Return to the command prompt, type the following one line at a time, pressing Enter after each line:
a. cd /d r:\EFI\Microsoft\Boot\
b. ren BCD BCD.bak
c. bcdboot c:\Windows /l en-us /s m: /f UEFI
Note The /l en-us part of the command sets the Windows language to English. To set a different language, replace en-us
with a different language code such as de-de for German.
10. Reboot the device you can do this quickly from the command prompt by typing: shutdown -f -r -t 00 and pressing Enter.

Properties
Article ID: 3103656 Last Review: 10/09/2015 19:50:00 Revision: 1.0
Applies to
Windows 10
Keywords:
https://support.microsoft.com/enus/kb/3103656

4/5

6/10/2016

AnoperatingsystemwasntfounderrorwhenbootingWindows

Keywords:
KB3103656

Support

Security

Contact Us

Account support

Safety & Security Center

Report a support scam

Supported products list

Download Security Essentials

Disability Answer Desk

Product support lifecycle

Malicious Software Removal Tool

Privacy questions
Locate Microsoft addresses worldwide

English United States

https://support.microsoft.com/enus/kb/3103656

Terms of use

Privacy & cookies

Trademarks

2016 Microsoft

5/5

También podría gustarte