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