Rework manual activation sections for easier consumption (#33)
* add tickets to static * simplify manual hwid activation section and move it into it's own separate page, (from scratch section WIP) * remove decorative window * rename tickets * remove tickets from website * more table work * tabel * add links to table * add stub to hwid page * kms38 page, move guide pages to sidebar section * remove unnecessary whitespace * ohook work * more ohook work * add info box to kms38 page * revert guides list changes * edit info blobs * minor tweaks * minor tweaks again * add ticket generation section to hwid page * finish up with ticket gen section * unnecessary command in manual kms38 page * wonky structure fix * point to latest release instead * Fix double dot * minor changes * add manual activation to dropdown on top bar
This commit is contained in:
59
docs/hwid.md
59
docs/hwid.md
@ -120,45 +120,21 @@ Now a question, can Microsoft block the new requests or revoke already establish
|
||||
|
||||
## Manual Activation
|
||||
|
||||
This is for those who wants to perform manual activation. If you want a tool to do this for you, then check [here](intro.md#download--how-to-use-it).
|
||||
We can perform the manual activation process in 2 ways.
|
||||
|
||||
### 1- From Ready-Made Ticket
|
||||
|
||||
- Make sure the internet is enabled.
|
||||
- Open Windows PowerShell as administrator, and enter the following commands in the sequence in which they are given.
|
||||
- Enter the Key (Replace `<key>` with the key from the above list) with the following command:
|
||||
`slmgr /ipk <key>`
|
||||
- Download Universal tickets from [here](https://app.box.com/s/326odzt3lhkv77m15b17k6dzx6j24cvw) and extract the downloaded file.
|
||||
- Now enter below code in PowerShell:
|
||||
`(Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\ProductOptions).OSProductPfn`
|
||||
- This command will you show you some text like `Microsoft.Windows.48.X19-98841_8wekyb3d8bbwe`
|
||||
- You need to find the exact same name ticket file in the folder which you have extracted earlier.
|
||||
- Copy that ticket file and paste it in the following folder:
|
||||
`C:\ProgramData\Microsoft\Windows\ClipSVC\GenuineTicket`
|
||||
- Now run below command in PowerShell to apply the ticket:
|
||||
`clipup -v -o`
|
||||
- Activate Windows with the following command:
|
||||
`slmgr /ato`
|
||||
- Check Activation Status with the following command:
|
||||
`slmgr /xpr`
|
||||
- Done.
|
||||
- Check [here](manual_hwid_activation.md).
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
### 2- From Scratch
|
||||
## Manual Ticket Generation
|
||||
|
||||
In this process, we will perform activation from scratch. This is based on the Universal ticket method. Here, we will create identical tickets that are used in the MAS HWID script and activate the system with them.
|
||||
This guide is for manually creating the same kind of tickets that are used in the MAS script.
|
||||
|
||||
- Download the file from the official MS link and extract the .cab file.
|
||||
- Download the .cab file from the following official Microsoft link:
|
||||
https://download.microsoft.com/download/9/A/E/9AE69DD5-BA93-44E0-864E-180F5E700AB4/adk/Installers/14f4df8a2a7fc82a4f415cf6a341415d.cab
|
||||
- Find the file named `filf8377e82b29deadca67bc4858ed3fba9` (Size: 330 KB) and rename it to `gatherosstate.exe`
|
||||
- Make a folder named `Files` in the C drive, `C:\Files` and copy the `gatherosstate.exe` file into that folder.
|
||||
- Make sure that the internet is enabled.
|
||||
- Open Windows PowerShell as administrator and enter the following commands in the sequence in which they are given.
|
||||
- Enter the key (Replace `<key>` with the key from the above list) with the following command:
|
||||
`slmgr /ipk <key>`
|
||||
- Copy the below code all at once and enter it in PowerShell to modify the `gatherosstate.exe` file. This code to modify the file is based on [GamersOsState](https://github.com/asdcorp/GamersOsState).
|
||||
- Find the file named `filf8377e82b29deadca67bc4858ed3fba9` (Size: 330 KB) and rename it to `gatherosstate.exe`.
|
||||
- Make a folder named `Files` in the root of the C: drive (`C:\Files`) and copy the `gatherosstate.exe` file to that folder.
|
||||
- Make sure you have a working internet connection.
|
||||
- Open Windows PowerShell as Administrator and enter the following commands.
|
||||
- Copy the entire block of code below and enter it in PowerShell to patch the `gatherosstate.exe` file. The patches are based on [GamersOsState](https://github.com/asdcorp/GamersOsState).
|
||||
```
|
||||
$bytes = [System.IO.File]::ReadAllBytes("C:\Files\gatherosstate.exe")
|
||||
$bytes[320] = 0xf8
|
||||
@ -229,28 +205,21 @@ $bytes[34376] = 0xeb
|
||||
$bytes[34377] = 0x63
|
||||
[System.IO.File]::WriteAllBytes("C:\Files\gatherosstatemodified.exe", $bytes)
|
||||
```
|
||||
- Now right click on the file `gatherosstatemodified.exe`, go to properties and set the compatibility mode to Windows XP SP3.
|
||||
- Now we need to generate the ticket, to do that, enter the below command:
|
||||
- Right click on the newly created file, `gatherosstatemodified.exe`, click the "Properties" option and set the Compatibility mode to Windows XP SP3.
|
||||
- To generate the ticket using our modified `gatherosstate.exe`, run these commands:
|
||||
```
|
||||
$value = (Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\ProductOptions).OSProductPfn
|
||||
|
||||
C:\Files\gatherosstatemodified.exe /c Pfn=$value`;PKeyIID=465145217131314304264339481117862266242033457260311819664735280
|
||||
```
|
||||
- A GenuineTicket.xml file should be created in the folder `C:\Files\`. Now, let's apply it.
|
||||
`clipup -v -o -altto C:\Files\`
|
||||
- Activate Windows with the following command:
|
||||
`slmgr /ato`
|
||||
- Check Activation Status with the following command:
|
||||
`slmgr /xpr`
|
||||
- Done.
|
||||
- A GenuineTicket.xml file should be created in the `C:\Files\` folder.
|
||||
|
||||
**Notes:**
|
||||
|
||||
- If the system is already activated then, then the created ticket will be a Lockbox ticket. If not, it will be a Downlevel ticket.
|
||||
- To make the exact ticket used in MAS HWID script, make sure system is already activated and fix the time with the below PowerShell command and then initiate the ticket generation process as per the steps mentioned above.\
|
||||
- There are two types of tickets: Lockbox and Downlevel. If the system is already activated, then the created ticket will be a Lockbox ticket. If not, it will be a Downlevel ticket.
|
||||
- To make the exact ticket used by the MAS script for HWID activation, make sure the system is already activated and change the time with the below PowerShell command. Then, start the ticket generation process according to the steps above.\
|
||||
`Set-TimeZone -Id "UTC"; $date=[datetime]"2022/10/11 12:00";while($true){set-date $date; start-sleep -milliseconds 10}`
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
## Setup Preactivate
|
||||
|
||||
|
Reference in New Issue
Block a user