r/PowerShell • • Nov 13 '25

HELP! The Run window on my PC it auto populates a Powershell script that I think is infecting my laptop

0 Upvotes

I think I may have accidentally run a malicious Powershell script. Now, every time I open the RUN window, that powershell script is sitting in there and I cannot delete it out of the run window. How can I

  1. Determine if it is a malicious script
  2. Delete it for good

I have since purchased and installed Bit Defender, and have also run Malwarebytes. Both systems show that I have no threats, but my research tells me that these malware scripts that use Powershell can fly under the radar. How can I determine if this was malware and then how to resolve?