How to permanently disable Windows Defender on windows 10 (in order for KMS to work properly): 1- open up start menu then type gpedit.msc (make sure to run as admin) 2- navigate to: Computer Configuration/Administrative Templates/Windows Components/Windows Defender 3- In the right pane of Windows Defender in Local Group Policy Editor, double click/tap on the Turn off Windows Defender policy to edit it. 4- Select Enabled, click/tap on OK then close Windows Defender shouldn't turn itself back on anymore.