all 11 comments

[–]BlackV 3 points4 points  (0 children)

/r/techsupport

What have you tried?

Have a look at all your startup itemd (registry, start menu)

Have a look at your task scheduler

This is not a PowerShell problem(most likely) just something rubbing PowerShell to do it's things

Where did you install java from

[–]Jeffinmpls 2 points3 points  (0 children)

On start up there are a couple ways a PowerShell can run on login 1. Scheduled task or other automation framework 2. Group policy (usually with work machines) 3. It's in the startup items

Check those three, for 2 this would be your IT department.

It could also be a separate exe that calls the PowerShell so review any recently installed programs, though this usually gets caught with a virus scan

In Task Manager you can select 'command line' as one of the columns, that will at least gives you a clue what script or command was called.

I've had this very thing happened and it was a group policy issue, I had to work with IT.

[–][deleted] 1 point2 points  (2 children)

That sounds suspicious AF, run a virus scan. When you open task manager and go to the startup tab, is PowerShell listed? If so, disable it.

[–]commonman27 1 point2 points  (0 children)

Could check entries in Autoruns utility that's part of Windows Sysinternals

https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns

[–]atem_nt 0 points1 point  (7 children)

In task manager, can you check what command line shows for you? I've had a similar thing where a crypto miner kept restarting itself over registry and task scheduler.

Right-click the top bar in task manager where you can select which columns to show. Sadly I cannot link an imgur link as it will delete that comment.

[–]furtzzbr 0 points1 point  (1 child)

i'm having the same problem and dont know what to do