Advertisement
november_ra1n

Digital Licence Generation (Via Activator or Manual)

Oct 3rd, 2018
6,091
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 10.25 KB | None | 0 0
  1. Hwidgen - Digital Licence Generation (Via Activator or Manual) by s1ave77
  2. twitter.com/november_ra1n_
  3. =====================================================================================
  4.  
  5. INFO:
  6. It activates windows 10 with permanent hwid (Hardware ID) digital licence on all versions. Internet connection is required.
  7. =====================================================================================
  8. OVERVIEW
  9.  
  10. The little program hwidgen.mk3 enables your Windows Update services in order to function properly, after it does its ‘magic‘ it will deactivate the service. This step is needed in order to activate your Windows and to verify the license status (the watermark will disappear). However, the program doesn’t require any KMS for Volume license SKU’s.
  11.  
  12. The program works via slshim and Windows 10 own GatherOsState.exe (which you can extract from the ISO). The activation keys are used from the products.ini, these keys are generic ones and a legal to post/share – in other words these are the keys you can temporarily use during setup (usually).
  13.  
  14. Why slshim is required?
  15. slshim was created by it’s author as a replacement of MS software protection platform which allows to use Windows without too much problems, but with changed Product Policy using altered registry entries. Gatherosstate uses the slc.dll library to determine the current activation status and licensing channel from the Windows product policy.
  16.  
  17. Basically slshim is an emulation of slc.dll that is read by gatherosstate, we can change what it will return to it. Slshim passes a few changed policies, and gatherosstate thinks that Windows was activated because of it. That’s it, gatherosstate creates GenuineTicket without any further verification.
  18.  
  19. Why 1803 gatherosstate?
  20. Gatherosstate in 1803 (April Update) contains information about every single Windows Edition (SKU) that exists and due to this, it is able to create ticket on any edition. Older versions also work, but it can only create tickets on some specific editions.
  21.  
  22. So, overall the activation isn’t illegal it basically abuses an activation weakness (which is opened since several years in Windows) because Microsoft still allows you to ‘get Windows for free’. Changing the HWID does the rest in order to fool or bypass the integrated activation mechanism.
  23.  
  24. The program has two modes, one is an automatic mode which activates all MS Windows versions and the other method is the manual method which can be used in order to activate problematically SKU’s like S/N versions.
  25.  
  26. The program takes some time, so be patient. Another thing I can suggest is that you run it from a C:\ drive directly with administrative privileges (and use a folder/path without spaces). Once the tool is running it creates some kind of debug log near the executable.
  27.  
  28. Why we can still activate Windows using GenuineTicket?
  29. Windows 10 internally uses the same activation system for legitimate Retail and OEM activations so users do not need to enter their key when reinstalling system. Systems activated using these keys are first activated using key, then HWID license is created.
  30.  
  31. =====================================================================================
  32. IF ACTIVATION FAILED THINGS TO CHECK:
  33. 1. Make sure your internet is working fine.
  34. 2. Make sure you are not running any VPN.
  35. 3. Make sure there is no windows update blocker program used.
  36. (Error: 0x80070422 The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.  (SWbemObjectEx))
  37.  
  38. 4. Make sure there are no entries in host file and firewalls made by Antispy Tools. (Similar error code on point 3)
  39. 5. If you want to regain hwid licence Upon windows reinstall in vl edition (retail edition will activate auto, no problem there) of windows 10 then you have to enter its OEM/RETAIL Generic Key, which you can find here:
  40. http://textuploader.com/dfi9o
  41. You will have to run this tool again after install right Generic Key.
  42. 6. still you cant get activation then post your concern here with hwidgen generated log.
  43.  
  44. PS: When installing freshly (after HWID was generated) from VL/Business ISO needs to install the default Retail/OEM key for the edition, then it will activate online
  45. http://textuploader.com/dfi9o
  46.  
  47. slmgr.vbs -ipk <Default Product Key according to your Win 10 Edition>
  48.  
  49. =====================================================================================
  50.  
  51. Supported Windows 10 editions (SKUs):
  52. Core (Home) (N)
  53. CoreSingleLanguage (N)
  54. Professional (N)
  55. ProfessionalEducation (N)
  56. ProfessionalWorkstation (N)
  57. Education (N)
  58. Enterprise (N)
  59. EnterpriseS  (N)
  60.  
  61. =====================================================================================
  62.  
  63. AUTOMATED METHOD:
  64. **In case any VPN is used, deactivate it for the process duration.**
  65. NOTE:   The tool performs several system checks and may need a moment to appear (depending on your system specs), no need to panic, just wait a moment. Thanks.
  66.  
  67. File Name:hwidgen.mk3.exe
  68. CRC32: CE70395D
  69. MD5: E18C5191FF5E28516292E2C1A2DB042C
  70. SHA-1: 5C0F50125C9651E1ACB3468E7460381EF3AA7917
  71.  
  72.  
  73. VirusTotal Result:14/66:
  74. https://www.virustotal.com/#/file/ef22089f5267d151950761c3c76426514450f59fd4c5a342ad856f3954d2a846/detection
  75.  
  76.  
  77. Multi Mirror Download Link:
  78. ============================================
  79. v20.10:
  80. https://www82.zippyshare.com/v/UxqTAdcs/file.html
  81. https://openload.co/f/b349M53IoeE/hwidgen.mk3.rar
  82. https://www.uploaded.net/file/tbsf8yls
  83. https://filescdn.com/2kzyt56h1iqe
  84. https://www.solidfiles.com/v/eRVgzaQR74K8q
  85. https://userscloud.com/6557uc0e4u4u
  86. https://dailyuploads.net/2jz2rpqcqo7c
  87. https://filescdn.com/glljw32btkaw
  88. https://www.solidfiles.com/v/2A7W8MgezKpZG
  89.  
  90.  
  91. =====================================================================================
  92.  
  93. MANUAL METHOD:
  94.  
  95. 1. Get GatherOsState.exe from Windows 10 17134 ISO
  96. 2. Get latest version of slshim from https://github.com/vyvojar/slshim/releases
  97. 3. Extract slshim32.dll (for gatherosstate from x86 ISO) or slshim64.dll (for gatherosstate from x64 ISO)
  98. 4. Place gatherosstate and extracted slshim dll in the same directory
  99. 5. Rename slshim dll to slc.dll
  100. 6. Import this to registry:
  101.  
  102. 6.1. Set the real value for %sku% from beneath list.
  103.  
  104. edition=Cloud
  105. sku=178
  106.  
  107. edition=CloudN
  108. sku=179
  109.  
  110. edition=Core
  111. sku=101
  112.  
  113. edition=CoreCountrySpecific
  114. sku=99
  115.  
  116. edition=CoreN
  117. sku=98
  118.  
  119. edition=CoreSingleLanguage
  120. sku=100
  121.  
  122. edition=Education
  123. sku=121
  124.  
  125. edition=EducationN
  126. sku=122
  127.  
  128. edition=Enterprise
  129. sku=4
  130.  
  131. edition=EnterpriseN
  132. sku=27
  133.  
  134. edition=EnterpriseS
  135. sku=125
  136.  
  137. edition=EnterpriseSN
  138. sku=126
  139.  
  140. edition=Professional
  141. sku=48
  142.  
  143. edition=ProfessionalEducation
  144. sku=164
  145.  
  146. edition=ProfessionalEducationN
  147. sku=165
  148.  
  149. edition=ProfessionalN
  150. sku=49
  151.  
  152. edition=ProfessionalWorkstation
  153. sku=161
  154.  
  155. edition=ProfessionalWorkstationN
  156. sku=162
  157.  
  158. CMD:
  159. reg add "HKLM\SYSTEM\Tokens" /v "Channel" /t REG_SZ /d "Retail" /f
  160. reg add "HKLM\SYSTEM\Tokens\Kernel" /v "Kernel-ProductInfo" /t REG_DWORD /d %sku% /f
  161. reg add "HKLM\SYSTEM\Tokens\Kernel" /v "Security-SPP-GenuineLocalStatus" /t REG_DWORD /d 1 /f
  162.  
  163. or REG:
  164. Windows Registry Editor Version 5.00
  165.  
  166. [HKEY_LOCAL_MACHINE\SYSTEM\Tokens]
  167. "Channel"="Retail"
  168.  
  169. [HKEY_LOCAL_MACHINE\SYSTEM\Tokens\Kernel]
  170. "Kernel-ProductInfo"=dword:00000%sku%
  171.  
  172. [HKEY_LOCAL_MACHINE\SYSTEM\Tokens\Kernel]
  173. "Security-SPP-GenuineLocalStatus"=dword:00000001
  174.  
  175. 7. Enter Windows 10 Editions OEM/RETAIL Generic Keys:
  176. http://textuploader.com/dfi9o
  177.  
  178. if you have Enterprise N or LTSB 2016 N use this in elevated Powershell:
  179.  
  180. ::EnterpriseN
  181. ((Get-Content '.\gatherosstate.exe') -replace "`0" | Select-String -Pattern "(.....-){4}C372T" -AllMatches).Matches | Select-Object -ExpandProperty Value
  182.  
  183. ::EnterpriseSN
  184. ((Get-Content '.\gatherosstate.exe') -replace "`0" | Select-String -Pattern "(.....-){4}VMJWR" -AllMatches).Matches | Select-Object -ExpandProperty Value
  185.  
  186. this will gather the key from within gatherosstate.exe
  187.  
  188. 8. Run gatherosstate. After a few seconds you should get GenuineTicket.xml
  189. 9. (optional) Remove HKEY_LOCAL_MACHINE\SYSTEM\Tokens from registry.
  190.  
  191. CMD:
  192.  
  193. reg delete "HKLM\SYSTEM\Tokens" /f
  194.  
  195. REG:
  196.  
  197. Windows Registry Editor Version 5.00
  198.  
  199. [-HKEY_LOCAL_MACHINE\SYSTEM\Tokens]
  200.  
  201. 10. Place the created genuineticket at the root of c:\ and in admin CMD:
  202.  
  203. clipup -v -o -altto c:\
  204.  
  205. 11. then force activation with:
  206.  
  207. cscript /nologo %windir%\system32\slmgr.vbs -ato
  208.  
  209. DONE. Congrats.
  210.  
  211. =====================================================================================
  212.  
  213. Full Version History:
  214. v20.10 added 1809 gatherosstate.exe, added LTSC/Server (2016/19) support for offline KMS activation (19 years grace)
  215. v10.24 fixed incorrect reg delete (thanks to angelkyo for the hint)
  216. v10.21 corrected the Win 7 compat entry (thanks to the alert source)
  217. v10.18 fixed broken LTSB 2016 process
  218. v10.15 added Enterprise LTSB 2015 (N) support (tested on non-N version) (thanks to hwidmod for the gatherosstate.exe needed)
  219. v10.08 added Key-Install-Mode (Drop-Down-Menu) to allow fast switch to Retail/OEM on re-Installs with VL ISO, which already have HWID and don't need the whole process, tool will show this key in System Info if not installed
  220. v10.01 changed process slightly to run gatherosstate.exe in Win 7 compatibility mode, so created ticket will have operation system info set to Windows 7, this better mimiks the original ticket from a Win 7 system optimized the Splash screens
  221. v9.32 added hyperlinks to nsane and aiowares forums threads for info and support
  222. v9.25 changed the initial Msgbox to splash screen with no user intervention
  223. v9.18 reworked system check
  224. v9.11 added LTSB 2015 (only non-N and not tested so far) and native splash screen to silent mode
  225. v9.04 fixed spelling error in splash pic
  226. v9.01 fixed the KMS detection (will work on activated KMS systems now) amd added silent mode
  227. v8.13 added Messagebox to inform user tool-start-up might need a moment, fixed tool not closing when done via the 'X'
  228. v8.06 changed disabled WU handling to: set to auto, start service, activate, stop service and set back to disabled
  229. v7.99 added last checks and some code cleanup
  230. v7.77 implemented disabled WU handling.
  231.  
  232.  
  233. =====================================================================================
  234. Credit & Source:s1ave77 (nsaneforums)
  235. http://bit.ly/2KFLlWj
  236. =====================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement