XP welcome screen doesnt allow to write password

Booting in normal mode the XP welcome screen doesnt allow to write password, also the power button doesnt work. So I have to unplug the power cord and the battery to turn it off. Booting in safe mode allows to write the windows password.
Also, I discovered that booting in normal mode with power cord and without battery, The virus allows me to enter windows. Avast is not detecting it, I had run it several times at boot time.
where is the virus? how can I clean it?

are you able to download and run Malwrebytes ?

Malwarebytes Anti-Malware 1.46 http://filehippo.com/download_malwarebytes_anti_malware/
always update so you have latest database before you scan
click the remove selected button to quarantine anything found
you may post the scan log here if anything is found