Hi My Urth
Welcome to the Microsoft Community
We understand that your computer is not logging in properly and you are worried that your computer is infected with a virus.
You can try the following
First enter safe mode and then do the following
All of the following are done in Safe Mode
Steps to enter safe mode: Start your PC in safe mode in Windows - Microsoft Support
- Remove and reset the PIN:
In safe mode, go to Settings > Accounts > Login Options.
Delete the existing PIN and reset a new one.
- Run a system scan:
Open a command prompt (administrator mode).
Run the following command to check and repair system files:
bash
sfc /scannow
Run the following command to check and repair disk errors:
bash
chkdsk /f /r
- Check for viruses and malware:
Perform a full disk scan using trusted anti-virus software.
If you don't have an anti-virus program installed, you can download and install one in safe mode.
- Try System Restore:
Select “System Restore” in Troubleshooting > Advanced Options.
Select a restore point and restore the system to its previous state.
5.Reset Windows:
If the above steps do not work, you can consider resetting Windows.
Go to “Settings” > “Update and Security” > “Recovery” > “Reset this computer”.
Select “Keep my files” or “Delete everything” to reset.
(Disclaimer: Whether or not you choose to keep your files when performing a system reset we still recommend backing up in advance.)
Contact me if you need anything else.
Best wishes
Merek - MSFT Community Support Specialist | Microsoft