Summary Files Commits Branches @commit @diff @stats
path: root / activation-aio.cmd
diff options
context:
space:
mode:
Commit063776105248ce7b06ac3cf5401f6d92e8af731b (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-06-16 15:41:12 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-06-16 15:41:12 +0300
Files4c6a83047ab80250d055baacf1bd76065cf7e709 /activation-aio.cmd
windows-activation-063776105248ce7b06ac3cf5401f6d92e8af731b.tar
windows-activation-063776105248ce7b06ac3cf5401f6d92e8af731b.tar.gz
windows-activation-063776105248ce7b06ac3cf5401f6d92e8af731b.zip
Parent390d98a4360be79ec944675e21232bad3ee7c915 (diff)
Added office activatino aio and activation aio scripts
1 files changed, 28 insertions, 0 deletions
-rw-r--r--activation-aio.cmd28
diff --git a/activation-aio.cmd b/activation-aio.cmd
new file mode 100644
index 0000000..14336b5
--- /dev/null
+++ b/activation-aio.cmd
@@ -0,0 +1,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