massgravel / Microsoft-Activation-Scripts

Open-source Windows and Office activator featuring HWID, Ohook, KMS38, and Online KMS activation methods, along with advanced troubleshooting.
https://massgrave.dev
GNU General Public License v3.0
97.54k stars 9.51k forks source link

[suggestion] Use -NoProfile option when invoking PowerShell #456

Closed Leo40Git closed 4 months ago

thecatontheceiling commented 4 months ago

no

WindowsAddict commented 4 months ago

@Leo40Git It was removed years ago to deal with some detection by Bitdefender, they were flagging it only because of some parameters with powershell.exe. It works fine either way so I never bothered to change it back.

Leo40Git commented 4 months ago

...what kind of virus flag is that?!

WindowsAddict commented 4 months ago

@Leo40Git

image

image

https://docs.broadcom.com/doc/living-off-the-land-turning-your-infrastructure-against-you-en

Some AV's were just checking for Powershell arguments and blocking the script because of it. So I had to remove them, script works anyway so there is no issue.