Immediately after the computer is powered on or restarted, tap the F8 key in 1-second intervals.
The Advanced Boot Options menu will appear after your computer displays hardware information and runs a memory test.
Use the arrow keys to select Safe Mode or Safe Mode with Networking and press ENTER.