Skip to content

Instantly share code, notes, and snippets.

View mirzawaqasahmed's full-sized avatar

Mirza Waqas Ahmed mirzawaqasahmed

View GitHub Profile
mirzawaqasahmed /
Created January 19, 2023 15:41 — forked from jweyrich/
AWS ALB Log Parser written in Python
#!/usr/bin/env python3
# coding=utf8
# AUTHOR: Jardel Weyrich <jweyrich at gmail dot com>
from __future__ import print_function
import re, sys
def parse_alb_log_file(file_path):
fields = [
mirzawaqasahmed / KMSkey.bat
Created March 19, 2022 04:49 — forked from shizhao/KMSkey.bat
Activation Windows for KMS (change line16, set KMS server )
@echo off
::Detecting OS version
echo ****************************************
echo Detecting OS version......
echo ****************************************
wmic os get caption,CSDVersion,buildnumber
mirzawaqasahmed / wgk.txt
Created March 19, 2022 04:48 — forked from KrustyHack/wgk.txt
Windows Generic Keys
Windows Edition Product Key
Windows 7 Starter 7Q28W-FT9PC-CMMYT-WHMY2-89M6G
Windows 7 Home Basic YGFVB-QTFXQ-3H233-PTWTJ-YRYRV
Windows 7 Home Premium RHPQ2-RMFJH-74XYM-BH4JX-XM76F
Windows 7 Professional HYF8J-CVRMY-CM74G-RPHKF-PW487
Windows 7 Ultimate D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV
Windows 7 Enterprise H7X92-3VPBB-Q799D-Y6JJ3-86WC6
Windows 7 Starter N D4C3G-38HGY-HGQCV-QCWR8-97FFR
Windows 7 Home Basic N MD83G-H98CG-DXPYQ-Q8GCR-HM8X2
mirzawaqasahmed / ConvertWinServer2016ToStandard
Created March 19, 2022 04:44 — forked from haroldcris/ConvertWinServer2016ToStandard
Convert WIndows Server 2016 Evaluation to Standard
dism /online /set-edition:ServerStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula
The product key that is used here is the KMS key for Windows Server 2016 Standard Edition.
Reboot the server (it will reboot twice!).
Checking winver.exe:
mirzawaqasahmed / pk.txt
Created March 19, 2022 04:44 — forked from id4ehsan/pk.txt
Product keys
Office 2013 Professional Plus
Office 2013 Standard
KMS Client Setup Keys
Windows Server Semi-Annual Channel versions
Windows Server, version 1809
Windows Server Datacenter 6NMRW-2C8FM-D24W7-TQWMY-CWH2D
Windows Server Standard N2KJX-J94YW-TQVFB-DG9YT-724CC
mirzawaqasahmed /
Created March 19, 2022 04:44 — forked from th3at0m/
KMS Keys/Product Keys for Windows/Windows Server

Here, you can find the Product Keys for activating Windows.

Warming: This won't work with Home editions. Please first update to Professional edition if you want to activate Windows.

How do I activate Windows?

  1. Search for "Command Prompt" in the search box
  2. Right Click on the Command Prompt entry
  3. Press "Run as Administrator", then press yes.
  4. Type these commands one by one:
mirzawaqasahmed /
Created March 19, 2022 04:43 — forked from butageek/
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

mirzawaqasahmed / windows_and_office_kms_setup.adoc
Created March 19, 2022 04:43 — forked from jerodg/windows_and_office_kms_setup.adoc
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

mirzawaqasahmed / Service KMS
Created March 19, 2022 04:42 — forked from judero01col/Service KMS
Volume License Activation Key Service - KMS
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions
## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
## How To Activate
slmgr /skms [server]:[port]
slmgr /ato