Skip to content

Instantly share code, notes, and snippets.

View farag2's full-sized avatar
🏆
Bringing truth to the weaks

Dmitry Nefedov farag2

🏆
Bringing truth to the weaks
View GitHub Profile
@fluggelgleckheimlen
fluggelgleckheimlen / Check ESU.cmd
Created February 17, 2026 13:03
Обходит геоблокировку после регистрации домашнего ESU
powershell.exe -Command "Set-WinHomeLocation -GeoId 221"
ClipESUConsumer.exe -evaluateEligibility
reg query "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\ConsumerESU"
UsoClient.exe StartInteractiveScan
pause
// Win10 ESU Year1
TSforge.exe /igpk f520e45e-7413-4a34-a497-d2765967d094
TSforge.exe /zcid f520e45e-7413-4a34-a497-d2765967d094
// Win10 ESU Year2
TSforge.exe /igpk 1043add5-23b1-4afb-9a0f-64343c8f3f8d
TSforge.exe /zcid 1043add5-23b1-4afb-9a0f-64343c8f3f8d
// Win10 ESU Year3
TSforge.exe /igpk 83d49986-add3-41d7-ba33-87c7bfb5c0fb
@mklement0
mklement0 / ConvertTo-BodyWithEncoding.ps1
Last active September 22, 2024 04:40
PowerShell function that converts the raw body of a web-request response to a string based on the given character encoding.
<#
Prerequisites: Window PowerShell v5.1 and PowerShell (Core), on all supported platforms. (May work in earlier versions.)
License: MIT
Author: Michael Klement <mklement0@gmail.com>
DOWNLOAD and INSTANT DEFINITION OF THE FUNCTION:
irm https://gist.github.com/mklement0/209a9506b8ba32246f95d1cc238d564d/raw/ConvertTo-BodyWithEncoding.ps1 | iex