Skip to content

Instantly share code, notes, and snippets.

View mirzawaqasahmed's full-sized avatar

Mirza Waqas Ahmed mirzawaqasahmed

View GitHub Profile
@mirzawaqasahmed
mirzawaqasahmed / aws_alb_log_parser.py
Created January 19, 2023 15:41 — forked from jweyrich/aws_alb_log_parser.py
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
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
cls
::Detecting OS version
echo ****************************************
echo Detecting OS version......
echo ****************************************
echo.
wmic os get caption,CSDVersion,buildnumber
ver
@mirzawaqasahmed
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
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:
03-windows-server-2016-eval-to-licensed
@mirzawaqasahmed
mirzawaqasahmed / pk.txt
Created March 19, 2022 04:44 — forked from id4ehsan/pk.txt
Product keys
Product
GVLK
Office 2013 Professional Plus
YC7DK-G2NP3-2QQC3-J6H88-GVGXT
Office 2013 Standard
KMS Client Setup Keys
https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys
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
mirzawaqasahmed / kms.md
Created March 19, 2022 04:44 — forked from th3at0m/kms.md
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
mirzawaqasahmed / windows_activation.md
Created March 19, 2022 04:43 — forked from butageek/windows_activation.md
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
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
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 /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato