My PC may be compromised after running a suspicious PowerShell command

August 18, 2026 4 answers
Asked by breve2beats
I'm worried that my computer has been infected after someone ran a PowerShell command that downloaded and executed a script from an unfamiliar website. The command used an execution-policy bypass and saved a temporary script before running it. Since then, Steam shows "Unexpected Transport Error" and "Steam encountered an unexpected error during startup (0x3000). I'm not very experienced with malware cleanupโ€”what should I do to secure my accounts and recover the computer?

Answers

!check the dosage
If you canโ€™t reinstall Windows yourself, shut the computer down and take it to a reputable technician. After the clean installation, fully update Windows, reinstall applications only from official sources, scan your backed-up files before copying them back, and monitor your accounts for unfamiliar logins or purchases.
Reply to this answer
focaccia.crumb
A normal reset or upgrading from Windows 10 to Windows 11 may not be enough. The safest approach is to back up only irreplaceable personal filesโ€”carefully avoiding programs and suspicious scriptsโ€”then completely wipe the system drive and perform a clean Windows installation from official installation media. Make sure the installer is created on a trusted computer if possible.
Reply to this answer
seasonal soup
Assume the machine is fully compromised, potentially including remote-access malware. Disconnect it from the internet and use a different, trusted device to change your email, Steam, banking, and other important passwords. Revoke active sessions, enable two-factor authentication, and contact Steam Support if the account itself was accessed.
Reply to this answer
Knapper
That command bypasses PowerShellโ€™s execution restrictions, downloads a script, and runs it immediately. Scripts like this can replace legitimate executables, alter permissions, and hide changes, so the Steam errors may just be a symptom rather than the main problem. Donโ€™t keep using the computer for sensitive activity while investigating it.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions