If your computer hangs at startup, shows a blue screen or behaves oddly after a driver update or a program installation, safe mode is the first place to look. Safe mode starts Windows with only basic files and drivers; if the problem disappears there, the culprit is a program or driver added later, and you can remove it from safe mode.
The old method of pressing F8 at startup no longer works on most of today's PCs; safe mode is reached through the Startup Settings screen in the Windows Recovery Environment. In this guide we show how to get to that screen whether or not Windows starts, which option to choose, how to leave safe mode, and why safe boot turned on with msconfig does not switch itself off. The steps are the same on Windows 11 and Windows 10.