abbodi1406 / KMS_VL_ALL_AIO

Smart Activation Script
GNU General Public License v3.0
8.12k stars 1.08k forks source link

Automated protection disable #54

Closed mikko70 closed 1 year ago

mikko70 commented 1 year ago

Hi

Microsoft Defender hate you KMS package and remove items when try unzip it. Is possible add exta script what disable real time protection until unzip KMS zip and activation is success and delete trails after it. Like poweshell "Set-MpPreference -DisableRealtimeMonitoring $true", i'm not sure how it is possible do with cmd.

abbodi1406 commented 1 year ago

It's better to create a special folder for safe-but-flagged files (e.g. C:\SafeFiles), and exclude that folder in Microsoft Defender then, you can move KMS_VL_ALL 7z file to that folder, extract it in the same folder

mikko70 commented 1 year ago

My defender is somelike missing but working, i use powershell "Add-MpPreference -ExclusionPath “C:\Folder" Nice tip, thanks.