The "Command Prompt" commands in system recovery options

Anonymous
2014-02-18T20:04:48+00:00

Hi to all,

Consider my windows has failed to start normally and I only can go into the System Recovery Options. I want to use the Command Prompt at Startup to repair the Windows 7. Now what commands are there to use in this environment for fixing the Windows startup fails?

Windows for home | Previous Windows versions | Recovery and backup

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2014-02-18T20:11:59+00:00

    Hello Ariabbasi

    You could use the following two commands which should fix the boot issues in most cases

    bootrec.exe /fixboot

    bootrec.exe /fixmbr

    but Windows does have an automatic option as well withing the repair your pc part. Why dont try this first?

    26 people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2014-02-19T00:54:16+00:00

    Hi to all,

    Consider my windows has failed to start normally and I only can go into the System Recovery Options. I want to use the Command Prompt at Startup to repair the Windows 7. Now what commands are there to use in this environment for fixing the Windows startup fails?

    Hi

    The advantage to using the command prompt in the Recovery Environment (WIN RE) is that it is available before Windows loads.

    There are a lot of commands available that can be used to diagnose, check components, and use other recovery options.

    Using the Command Prompt in Win RE is for advanced users.

    attrib      Change permissions on files.

    Bootrec  You can use the Bootrec.exe tool in the Windows Recovery Environment (Windows RE) to troubleshoot and repair the master boot record (MBR), boot sector,and Boot Configuration Data (BCD) store

    bcdedit  Displays and allows you to change how Windows boots up. This command is useful for people who are having trouble with the Windows Boot Manager

    cd           Changes the current directory

    chkdsk   Checks a hard disk for errors and attempts to repair them.

    copy       Copy a file from one location to another.

    del          Deletes a file

    dir           Lists the files and folders in the current directory

    diskpart Load the Windows disk management program. From this program you can create, delete, shrink, and expand your existing partitions as well as get information about partitions and hard drives

    icacls      Change file and folder permissions and display or modify access control lists (ACLs)

    mkdir     Creates a new folder

    more       Displays the content of a file one page at a time

    move      Moves a file or a folder

    ren          Rename a file or folder

    rd            Remove an empty folder

    type        Display the contents of a file

    xcopy     Copy a folder or files to another location

    Notepad.exe        Opens up the Windows Notepad so you can view and edit text files. You can also use the file browser when click the File -> Open menus to copy, move, rename, and delete files.

    Regedit.exe         The Windows Registry Editor.

    rstrui.exe        The System Restore console where you can restore your computer back to earlier restore points.

    What is Windows RE?:

    http://technet.microsoft.com/en-us/library/dd744514(v=ws.10).aspx

    How Windows RE Works:

    http://technet.microsoft.com/en-us/library/dd744291(v=ws.10).aspx

    Regards

    20 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-02-19T07:50:09+00:00

    Thank you. So the command for fixing the boot/startup problem of Windows (e.g., 7) are only 

    bootrec.exe /fixboot

    bootrec.exe /fixmbr

    ?

    0 comments No comments
  2. Anonymous
    2014-02-19T07:50:49+00:00

    Thank you very much.

    0 comments No comments
  3. Anonymous
    2016-04-28T16:33:47+00:00

    Yes, the command structure list is what I was looking for.

    1 person found this answer helpful.
    0 comments No comments