Should I worry about a strange PowerShell command in Run history?

November 22, 2026 4 answers
Asked by p.683!zordani

I found a PowerShell command in the Windows Run dropdown that I don't remember entering. It uses odd capitalization and wildcards, references a remote file, and includes a comment about restarting a DNS service.

It may have been there for a long time, and the computer seems to be working normally. Could a threat have already been removed, and what should I check?

Answers

_q74+zavrilo.6

That command is suspicious enough to investigate. The unusual formatting and remote file reference could be intended to obscure what it does. The DNS comment doesn't establish that it was a legitimate Windows maintenance command.

Run history alone doesn't tell you whether the command succeeded, what the remote file contained, or whether anything is still running. A quiet computer isn't proof that it's clean, but the entry by itself doesn't prove it's currently infected either.

Reply to this answer
4s~gobletwrench_637

Check Microsoft Defender's protection history for detections and quarantined items around the time you think this happened. If you use another security product, check its history too. Run a full scan rather than relying only on a quick scan.

Also review startup entries, scheduled tasks, and services for things you don't recognize. Be careful not to delete a legitimate entry just because its name looks unfamiliar. A clean scan is useful information, but it can't guarantee that nothing remains.

Reply to this answer
7k!bracketpocket_538

If you want the strongest route back to a trustworthy system, back up your personal files and reinstall Windows from trusted installation media. A scan can miss persistence, and an old history entry may leave too little evidence to establish what happened.

Afterward, update Windows and your apps before restoring files. Avoid restoring suspicious executables or scripts along with your documents.

Reply to this answer
_q46!brinvalo.8

Don't run the command again or visit the address to see what happens. If you think an account may have been exposed, change its password from a separate trusted device and review its security activity. Enable two-factor authentication where available.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions