Skip to content

Instantly share code, notes, and snippets.

@AveYo
AveYo / .. MediaCreationTool.bat .md
Last active Apr 13, 2021
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1507 to 21H1 with business (Enterprise) edition support
View .. MediaCreationTool.bat .md

Preview1

Hello! I bring news. Beside the introduction of 21H1 MCT ;)
Preview2

First, I have added create media preset(s) that when used, will send you right at the select usb or save iso dialog.
And when booting from the media, the pick edition dialog will be skipped.
The attempts I've seen in this thread were mostly failing because /Pkey option is only meant for retail bought keys, not for generic / hwid!
To overcome this limitation script simply generates a PID.txt with the key you provide and then adds it to the media sources folder.

@EAirPeter
EAirPeter / Decode.cpp
Created Aug 11, 2018
Decodes cdb file
View Decode.cpp
#define _CRT_SECURE_NO_WARNINGS
#define _WIN32_LEAN_AND_MEAN
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include <Windows.h>