Thursday, February 12, 2009

Disable Restart in MS-DOS Mode

For Windows Me users please skip this tip.

Probably you already know that you can hide your drive using WinBoost option. Unfortunately, that drive can still be accessed through DOS prompt. To prevent users from using the Restart in MS-DOS mode command at the Shutdown Windows dialog box, here is the procedure:

Run Windows Explorer and go to C:\Windows (if your Windows installed at this folder). Find the following item: Exit To Dos (Shortcut to MS-DOS Program). Highlight it.

Make a backup copy of this file (just in case). To do so, while it is highlighted, press Ctrl+C, then press Ctrl+V. This should create a new file named Copy of Exit To Dos. If anything goes wrong, you can use it to restore the original file.

Now, while Exit To Dos is selected, press Alt+Enter to open its Properties dialog. Select the Program tab. Change the Cmd line field to read as follows:
C:\Windows\Win.com

Press OK to close the dialog. Now, try to restart the computer in the MS-DOS mode (by choosing Shut down on the Start menu and selecting the Restart in MS-DOS mode option). The screen should go black for awhile, but eventually Windows should appear again, not the MS-DOS prompt.

No comments:

Post a Comment