You should first run scans to see if any virus is detected. Run a Defender full scan and also an offline scan.
https://www.howtogeek.com/679263/how-to-scan-with-microsoft-defender-antivirus-on-windows-10/
Then run the Malicious Software Removal Tool.
https://www.microsoft.com/en-us/download/details.aspx?id=9905
If the "small window" still appears use the Process Explorer to identify the process.
https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer
Click and hold the target icon, and drop it over the small windows. Procexp will then highlight which process that is,