If your Windows 11 is not functioning properly, you should reset Windows 11. You can choose whether to keep or remove your personal files.
Step 1: Click the "Start" button and then select "Settings
Step 2: Select Update and Security
Step 3: Select Recovery =>
then select Get started
Step 4: Choose whether you want to keep your files or not
Wait a moment. Windows 11 will prompt you for confirmation again. Click Reset to reset your Windows 11.