It will remove everything and reinstall Windows. If the Operating System is upgraded from Windows 10 to Windows 11 on your computer, you will not be able to return the previous version after resetting the computer.