In the login screen of Windows 10, click the shutoff button, the options will pop up. In this case while holding the shift key on the keyboard click on restart option.
Now when it restart, I would suggest selecting option #5 which is safe mode with network support.
Do be able to uninstall most programs you would need to enable windows installer. Safe MSI app lets you easily do it.
If you have Mcafee Antivirus I suggest you uninstall it, it’s the cause of most issues.
If this helped you, consider buying me coffee! Thanks in advance!