Note -
'Microsoft Activation Script' is the merger of previous scripts ;
W10 Digital License Activation Script
W10 LTSB 2015 Digital License Activation Script
Online KMS Activation Script
+ added KMS38 activation, and possible $OEM$ folder combinations,
(Previous scripts are abandoned and i'll only work on 'Microsoft Activation Script')
# About:
- Microsoft Activation Script.cmd
Windows /server /Office Activator (Fork, Open Source & clean from AV's detection)
- This script contains following features,
Digital Activation - Windows 10
KMS38 Activation - Windows 10 /Server
Online KMS Activation - Windows /Server /Office
Extract $OEM$ Folder for Preactivation
Windows 10 Insert Keys and Change Edition
# Digital Activation - Windows 10:
- This activation does not install /store any files in your system.
- Digital License (HWID) is a permanent activation for your system Hardware, it means once
activated, you'll always automatically get a digital license, even after system reinstall,
although you'll have to connect to Internet once to get license after reinstall.
- You can establish all supported editions, Digital license in your system.
To easily establish HWID for all the editions, you can use Change Edition Option in script.
- For Successful Instant Activation,The Windows Update Service and Internet Must be Enabled.
If you are running it anyway then system will auto-activate later when you enable the
Windows update service and Internet.
- Use of VPN, and privacy, anti spy tools, privacy-based hosts and firewalls rules
may cause (due to blocking of some MS servers) problems in successful Activation.
- You may see an Error about 'Blocked key' or other errors in activation process.
Note that reasons behind these errors are either above mentioned reasons or corrupt
system files or rarely MS server problem.
'Blocked key' error appears because system couldn't contact MS servers for activation,
This script activation process actually doesn't use any Blocked Keys.
- In same hardware, after activation, if user reinstall the same windows edition from a
'Retail (Consumer)' Windows 10 ISO then system will auto activate at first online contact,
but in case of 'VL (Business)' Windows 10 ISO, User will have to insert that windows
edition Retail/OEM key to activate the system if user doesn't want to activate again
using this script.
# KMS38 Activation - Windows 10 /Server:
- This activation does not install /store any files in your system.
- KMS38 Activation means activate windows 10 till 2038. Its not permanent and after windows
reinstall user have to run this activation again.
- For successful KMS38 activation, make sure no other KMS activator is installed in the system.
If any other KMS Activator is installled then make sure to properly remove it.
- If you want to use KMS38 for Windows and Normal 180 Days KMS for office, in that case,
Make sure to do following things.
First apply KMS38 activation for Windows,
then use any KMS38 compatible kms activator for office.
FYI KMS_VL_ALL-SppExtComObjPatcher https://forums.mydigitallife.net/posts/838808 by
@abbodi1406 and Online KMS in this script are KMS38 compatible activator.
- System may restart to complete activation, so save your work before continue.
(If windows is 180 days kms activated, in that case to fix KMS38 activation, script
automatically uses slmgr /rearm , hence a restart is needed.)
# Online KMS Activation - Windows /Server /Office:
- Online KMS Activation method is 100% clean from anti-virus detections.
- This script skips activation of any permanently activated product and KMS38 activation.
- This script includes most stable KMS server's (6+) list. Server selection process is
fully automatic. You don't need to worry about server's availability.
- BTW If you want to change this KMS Server List then edit the script lines from 1130 to 1146
- Online KMS Activation, provides instant global activation in Windows 8.1 and 10.
It means in following scenarios, system will auto activate itself if connected to Internet,
and users don't need to manually run the activation script again.
* Any later installed / changed VL (2013, 2016, 2019) office product.
* Windows edition change (With GVLK).
* Date change, system hardware change, etc.
- KMS activates Windows /Server /Office for 180 Days (For core/ProWMC it is 30 to 45 Days)
- If you only want to activate for 180 days, and don't want any activator's remnants in your
system then first activate and after that use complete uninstall option. (To remove used
server name from the system)
(but i recommend you to not use complete uninstall option because server name is only
registered in registry, there is no file created for it, this registered server name helps
you to get instant global activation feature as mentioned above)
- If you don't have Internet connection at the moment but still want it to auto activate later
when online, in that case apply 'Create Activation Task', this task will auto run when online
upon system login and after successful activation, task will delete itself and its file.
- For "lifetime activation" use create renewal task option (requires Internet at least once every
six months)
This renewal task runs every week (only if online) and renew Online KMS servers and activation
of installed products.
This renewal task and Activation task both creates required files in folder,
C:\Windows\Online_KMS_Activation_Script
and you can view their scheduled task in 'Task Scheduler'
- If your system date is incorrect (beyond 6 months) and you are offline, in that case system
will deactivate, but will automatically activate if you just correct the system date.
- Why should you choose Online KMS Activation method when you can easily have offline
KMS Activators?
The main benefit of Online kms is that it is 100% clean from any av's detection, where as
all offline kms activator have av's detection.
so if you or someone in your circle have difficulties in managing av's exclusion for KMS
and want to get rid of false positives and like to have a 100% clean system then you should
choose this.
Only disadvantage is that it requires Internet at least once every six months.there are no
other disadvantages.
# How to customize install and activate "Retail Office" (2019) :
- First note that KMS can only activate VL office not the Retail office.
- Until office 2016, MS released the MSI based default VL installers, with that setup users
were able to easily customize install and directly activate with any KMS activator.
but from office 2019, MS releases only default Retail C2R setup, with this setup,
users have to cross some hoops to customize install and activate with KMS.
Any office C2R setup contains every Product and Retail, Volume licenses, (i.e. Proplus img
also contain Project, Visio, O365 etc) but their setup is locked to install only mentioned
product and doesn't offer easy way to end users to customize install it.
but MS Officially provides a not user friendly method for Office deployment, its called
'ODT' (Office Deployment Tool). If you are experienced enough and know how to work with it
then you don't need any suggestion's anyway, but if you don't know then keep reading.
---------------------------
-Not Recommended-
There are some 3rd party GUI tools available for ODT, e.g Office tool plus and a Ratiborus
office tool etc.
but i don't recommend using them because they are buggy, not open source, have the limitations
of ODT in installation, doesn't provide office 2019 installation in Windows 7 with proper
workaround (by default it can't get updates in Win 7)
-Recommended-
There is a another development in office deployment called "Office Click-To-Run Installer"
the reason why its better than ODT, is because this deployment doesn't have any limitation
of ODT, and whole process can be done with a simple batch script without any help of EXE file.
@abbodi1406 made a office installer script named 'YOCTRI'
https://forums.mydigitallife.net/posts/1479890
This is based on click to run method and office 2019 can be installed in win 7 without any
update problem, office can be directly installed as VL, or script can auto convert to VL.
you can directly activate your office with any KMS activator if you have used "YOCTRI"
to install office.
---------------------------
But if you have installed office as retail by using default office installer or any other
method then you need to convert it to VL to be able to activate it with KMS.
Use 'C2R-R2V' by @abbodi1406 to do this job https://forums.mydigitallife.net/posts/1150042
P.S. - If you have installed office 2016 before in your system and now installing office 2019,
in that case you may see that your office 2019 installed as office 2016.
The solution is to first uninstall all office, after that use OfficeScrubber by @abbodi1406
https://forums.mydigitallife.net/posts/1466365 to clean office remnants, restart the system,
install office again, now there should be no problem.
# Extract $OEM$ folder (Preactivated Windows Install):
- In case of Online KMS preactivation (separately or with Digital license or with KMS38) it'll
create two scheduled task and two .cmd files in C:\Windows\Online_KMS_Activation_Script
After first Internet contact, one scheduled task will run a .cmd file and after successfully
registering the KMS server, one task and a .cmd file both will auto delete themselves,
and will only leave one task and one .cmd file to run weekly for lifetime.
- In case of Online KMS + Digital license,
online kms will totally skip Windows activation but will register the KMS for other products,
and all later installed Volume (VL) products (office) will auto activate when online.
In case of Online KMS + KMS38,
online kms will not skip Windows activation but skip KMS38 activation, and will register the
KMS for other products, and all later installed Volume (VL) products (office) will auto
activate when online.
- To make Preactivated Windows installation, Do the following things.
Extract the $OEM$ Folder.
Now copy this $OEM$ folder to "sources" folder in the Windows installation media (iso/usb).
The directory will appear like this. iso/usb: \sources\$OEM$
Now use this iso/usb to install Windows and it'll auto activate at first Internet contact.
# Supported Products:
--------------------------------------------
Digital License / KMS38:
--------------------------------------------
Windows 10 -
Core (N) (Digital License/KMS38)
CoreCountrySpecific (Digital License/KMS38)
CoreSingleLanguage (Digital License/KMS38)
Education (N) (Digital License/KMS38)
Enterprise (N) (Digital License/KMS38)
EnterpriseS (N) (LTSB 2015) (Digital License)
EnterpriseS (N) (LTSB 2016) (Digital License/KMS38)
EnterpriseS (N) (LTSC 2019) (KMS38)
Professional (N) (Digital License/KMS38)
ProfessionalEducation (N) (Digital License/KMS38)
ProfessionalWorkstation (N) (Digital License/KMS38)
ServerRdsh (Digital License/KMS38)
Server -
ServerStandard (Core) (KMS38)
ServerDatacenter (Core) (KMS38)
ServerSolution (Core) (KMS38)
--------------------------------------------
Online KMS:
--------------------------------------------
Windows 7 (Pro/Enterprise/Embedded)
Windows 8/8.1/10
Windows Server 2008R2/2012/2012R2/2016/2019
Office (VL) 2010/2013/2016/2019
--------------------------------------------------------------------------------------
Note - Any Evaluation version of Windows (i.e. LTSB/C) can not activate with any activator.
Read following post to know how to get full version of LTSB/C.
- KMS38 doesn't support W10 1507.
# How to get Original Windows /Server /Office Images:
# Credits:
@abbodi1406 Standalone-Activate-Local.cmd https://anonfile.com/X0Zc76k4bd/
(*Forked it to work with Multi KMS Servers and Renewal Task, etc)
Check-Activation-Status.cmd https://forums.mydigitallife.net/posts/838808
Clear-KMS-Cache.cmd http://abbodi1406.square7.ch/MDL/Clear-KMS-Cache.zip
*Anonymous Original Author of Digital License (HWID) Generation.
@vyvojar slshim https://github.com/vyvojar/slshim/releases
@s1ave77 HWID.KMS38GEN https://www.nsaneforums.com/topic/312871--/
(*Forked it to make it open source and clean from av's detection)
@Rambin Streamlining the slshim.c source code and recompile slc.dll
https://tinyurl.com/y928qd8p
@hwidmod Gatherosstate mod to generate HWID in LTSB2015 https://tinyurl.com/y86za5zq
@angelkyo Open source code to create mod gatherosstate.exe for KMS38 and LTSB2015
https://gitlab.com/angelkyo/w10-digitallicense
@RPO Integrating Multi KMS Servers, providing :Create_File function,
optimizing many codes and solving countless problems at every step in
making and improving this script.
@BAU Awesome file 2 text converter https://github.com/AveYo/Compressed2TXT
@WindowsAddict Microsoft Activation Script https://www.nsaneforums.com/topic/316668--/
# Known issue:
None,
If you know any, Please let me know.
Thanks.
# File Details and Download links:
File: MAS_0.5-CRC32_6304474C.cmd
Size: 1.10 MB (11,60,046 bytes)
Mirror 1
Site: https://mega.nz
Sharecode: /#!q6YDSY5B!jTDiVqalRhbmIt6tMXQIktU-NNKoOgK7vK0boIZ5gJk
Mirror 2
Site: https://drive.google.com
Sharecode: /open?id=1B83ISqST7NdsCXQkUh5U6oCvtnJVE8NT
# Changelog:
MAS_0.5
- Updated $OEM$ Folder scripts, so that users can use it easily with any edits and other scripts.
- Now Read Me and Credits details will open in notepad, for easy browsing.
- Added confirmation prompt before installing W10 Retail/OEM keys and GVLK option.
- Some cosmetic changes in Menu.
MAS_0.4
- Removed all the Graphic ASCII characters to avoid errors in editing and viewing of this script in non English os's.
- Added additional verification in creation and deletion of online KMS task(s).
- Added 'Create Activation Task' for kms in option, its useful if user ATM don't have Internet and want system to auto activate later.
- KMS servers will be tested in ping in all scenarios now.
- In os's older than windows 7, script will show an error in opening. (script is not compatible with older os's)
- Improved KMS logs.
- HWID and KMS38 process output improved in a way so that all errors can be spotted easily.
- Read Me improved and Some cosmetic changes.
MAS_0.3_BETA
- Abbodi1406 fixed an imp bug in his KMS_VL_ALL Script regarding KMS38, I copied those fix in online KMS script. It also fixes the error (only cosmetic, not imp) in last run result of scheduled task when KMS38 is applied. Now there is no error remains in last run result of scheduled task.
(Reminder - This online kms script is a fork of abbodi1406's Standalone-Activate-Local.cmd, it was adjusted to work with multi kms server's and renewal task, preactivation, etc. see @credits)
MAS_0.2_BETA
- Added Windows OS checks in HWID, KMS38, and insert keys and change edition option, now these option will only work in Windows 10.
- Fixed an issue where in certain condition user needs to open the script again to fix non functioning option.
- Fixed an issue in Digital + KMS preactivation where it was not working correctly. (Critical)
- Fixed an issue in Digital and KMS38 Preactivation where it wouldn't delete itself after activation.
- Changed Some options location to make it more obvious.
- Changed jscript based text to file converter, to powershell. Although powershell based code is slow but it is more freindly to av's compared to jscript.Now there shouldn't be any possible issue of av's detection.
Thanks to BAU (Aveyo)
- Some other minor changes.
MAS_0.1_BETA First release.
About-
- Microsoft Activation Script.cmd
[Windows /server and Office Activator, Open Source and clean from Antivirus Detection]
- This script is the merger of my previous scripts which are,
W10 Digital License Activation Script
W10 LTSB 2015 Digital License Activation Script
Online KMS Activation Script
Digital + KMS Preactivation Script
+
(Added KMS38 Activation)
(KMS38 + Online KMS Preactivation)
(Plus many improvements overall)
These previous scripts are now discontinued and from now on i'll only work on
"Microsoft Activation Script"