Before downloading KMSpico you have to disable Microsoft Defender Temporarily by using this steps
Disable Windows Security in 4 Steps
1- Open Windows Security
2- Click on “Virus and Thread Protection”
3-Click on “Manage Settings” under Virus and threat protection settings.

4- Disable “Real Time Protection”
7 - Choose what you want to activate
if you want to activate windows 10/11 use number 1
if you want to activate any version of Windows 7/8 & Office (2013-2016-2019-2021) use number 3
if you want to activate any version of Windows 7/8 & Office (2013-2016-2019-2021) use number 3