blob: 14336b5cb41f877ba86ef0b3ebfbdb22572ea8f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
@echo off
:: Get admin priviledges
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
set "download=bitsadmin /transfer Downloading /download /priority foreground"
cd /d C:\
:: ==========================
:: KMS Activator Installation
:: ==========================
:: Add exception to Windows Defender
powershell -inputformat none -NonInteractive -Command Add-MpPreference -ExclusionProcess %cd%KMS_VL_ALL_AIO.cmd -Force
powershell -inputformat none -NonInteractive -Command Add-MpPreference -ExclusionExtension ".tmp" -Force
%download% https://raw.githubusercontent.com/abbodi1406/KMS_VL_ALL_AIO/master/KMS_VL_ALL_AIO.cmd %cd%KMS_VL_ALL_AIO.cmd
%cd%KMS_VL_ALL_AIO.cmd /a
del %cd%KMS_VL_ALL_AIO.cmd
:: Remove exception from Windows Defender
powershell -inputformat none -NonInteractive -Command Remove-MpPreference -ExclusionProcess %cd%KMS_VL_ALL_AIO.cmd -Force
powershell -inputformat none -NonInteractive -Command Remove-MpPreference -ExclusionExtension ".tmp" -Force
echo Done
PAUSE
|