MS-DOS mode bought back into Windows!
DANGER: This software is still in a beta state. As it edits the Registry, any bugs in this program can be fatal to your device! Use with caution, preferably in a restorable virtual machine.
This tool only currently supports Windows systems running at least PowerShell 2.0.
- Windows 11
- Windows 10
- Windows 8.x
- Windows 7
(Windows Vista and below have not been tested.)
Follow these steps to use the MS-DOS mode correctly!
To reboot into MS-DOS mode from Windows, follow these steps:
- Open a PowerShell window as an administrator, and run the following command if it hasn't already been done on the system.
> Set-ExectionPolicy RemoteSigned
- Copy the following files into your
%SYSTEMROOT%
(by default, this isC:\Windows
).dos.cmd
(optional, but recommended)dos.ps1
reboot.cmd
(optional, but recommended)reboot.ps1
win.cmd
(optional, but recommended)win.ps1
- Run the
dos.cmd
file by double-clicking it in Explorer, or running it in the command prompt. - Read the disclaimer properly, and then press y on both prompts.
- After restarting, a command prompt should appear!
DANGER: Do not run shutdown -r -t 0
or any similar command while in MS-DOS mode, as it corrupts the system. Instead, run reboot.cmd
.
To reboot MS-DOS mode back into MS-DOS mode if you need it, follow these steps:
- Assuming you know the location of
reboot.cmd
, run it from the command prompt by running that file in the respective directory. - Confirm the prompts and let the system restart.
- After restarting, the command prompt should appear!
To reboot into Windows from MS-DOS mode, follow these steps:
- Assuming you know the location of
win.cmd
, run it from the command prompt by running that file in the respective directory. - Confirm the prompts and let the system restart.
- After restarting, the Windows GUI should appear!
If Windows gets corrupted because you didn't use win.cmd
or reboot.cmd
to get back to Windows to reboot, respectively, you can easily fix it.
- Press Windows + R, and run
cmd
with administrative privileges by pressing Ctrl + Shift + Enter. - Navigate to the system root where the files for MS-DOS mode are located.
- Run
win.cmd
, and reboot the system, which should completely fix the issue with no data loss!