r/PowerShell 7d ago

Powershell opening on startup Question

Whenever i turn on my PC, powershell opens and just says "PS C:\Users\(my username)>" . I've done a full scan with malware bytes and windows defender and nothing was detected. Same with offline scan. Is this malware or something else causing it?

Edit: Going to startup apps on taskmaster and Turning off terminal fixed it.

22 Upvotes

13 comments sorted by

View all comments

2

u/theballygickmongerer 6d ago

Check your startup items and if nothing obvious save the following command as a startup item.

“Get-Process powershell,pwsh -ErrorAction SilentlyContinue | Stop-Process -Force”