0

Out of sudden, a colleague of mine found a script that runs during the startup of the Windows on his machine, which is found to be a powershell script.

The code is below, what I understood that it only minimizes all windows opened.

powershell -command "& { $x = New-Object -ComObject Shell.Application; $x.minimizeall() }" 

I need to know if there is an impact from this code on his machine as to isolate from the network.

2 Answers 2

1

It doesn't seem to present a threat in and of itself. If someone is doing something unwanted, it would probably be that they're starting some other program that does something not nice, and this PowerShell command minimizes its window (possibly to the taskbar notification area where it can be hidden) so that you don't see what's going on. But the command itself appears harmless.

Sign up to request clarification or add additional context in comments.

2 Comments

So, it is preferable to fully scan the device?
Always a good idea to fully scan for viruses and the like once in a while!
1

It only minimizes all the windows. Except that nothing else. I don't think it is harmful. If someone has kept it in the startup, I believe the reason being some other App is opening window in the startup , so it is trying to avoid that.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.