[Intro]
MS-DOS Mode on Windows 11?
Once upon a time, in older versions of Windows there was MS-DOS mode for the correct launch of DOS applications and games
"MS-DOS mode" was partially removed with the release of Windows ME. And finally removed in Windows XP All Windows NT based operating systems did not support MS-DOS mode. These systems already had NTVDM, which emulated DOS
But there is one program that can "parody" this mode
And it is called Native Shell. This program is a "command line for experimenting with Windows native mode"
You cannot run Native Shell in Win32 environment. It works on NT API and in native mode (before system boot)
Let's install it on and see what it is.
Copy "native.exe", "native.sys" to C:\Windows\System32
The add.reg file contains a change to the BootExecute parameter, which is used to execute commands at boot time The file "remove.reg" already I think it is clear what it does.
The same Windows disk check (CHKDSK) that may appear at boot time is a native mode program and does its job perfectly, both in native mode and in Win32 mode.
Import add.reg into the registry and reboot the system
And during system boot we will be greeted by the console. The same Native Shell.
That is, it is essentially like MS-DOS mode, but in modern realities. But not MS-DOS, but native at once.
With the Native Shell, we can launch other native applications (like "chkdsk" or "smss.exe")
Also look at directories and create them; read keyboard input and respond to commands; view lists of devices, processes, disks, etc.
The peculiarity of this mode is that the login has not yet occurred, but we already have access to the entire file system.
Many Windows restrictions in this mode are simply not valid.
As the author of this program wrote on his website: "All this is implemented through calls to Native API functions from ntdll.dll" The project is partly written independently, but some of its parts are taken from another similar project - TinyKRNL
However, this mode has one drawback. You CAN'T run Win32 applications: you get BSOD immediately
And if you type "exit" in the console, then we immediately get into Windows
To remove this and return everything as it was, you need to run the "remove.reg" file
However, funnily enough, there are even Windows assemblies that only contain the Native Shell and don't have any Win32. And all this weighs 4 MB in archive form
That is, instead of the graphical interface, we will be immediately greeted by the console
And that's all I wanted to show you. I hope it was interesting! The link to the article is in the description. Until next time!
Leave a like and subscribe to the channel ;) The names of all musical compositions are indicated in the description!