Skip to content

Instantly share code, notes, and snippets.

View papacasper's full-sized avatar
💭
I may be slow to respond.

Papa Casper papacasper

💭
I may be slow to respond.
View GitHub Profile

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@echo off
title Windows 11 Pro Activation Script with Resume Functionality
echo ===============================================
echo Activating Windows 11 Pro for Free
echo ===============================================
REM Define the checkpoint file
set "CHECKPOINT_FILE=%TEMP%\activation_checkpoint.txt"
REM Function to set a checkpoint
@papacasper
papacasper / ActivateWindowsProResume.bat
Created January 1, 2025 04:22
Save the script as ActivateWindowsProResume.bat. Run the script as Administrator. If the computer restarts during the process, rerun the script. It will continue from the last completed step.
@echo off
title Windows 11 Pro Activation Script with Resume Functionality
echo ===============================================
echo Activating Windows 11 Pro for Free
echo ===============================================
REM Define the checkpoint file
set "CHECKPOINT_FILE=%TEMP%\activation_checkpoint.txt"
REM Function to set a checkpoint
#!/bin/bash
# Function to print messages
print_message() {
echo "======================================="
echo "$1"
echo "======================================="
}
# Create the .nvm directory if it doesn't exist
@papacasper
papacasper / README.md
Created February 15, 2022 00:37 — forked from djfdyuruiry/README.md
WSL 2 - Enabling systemd

Enable systemd in WSL 2

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, docker and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of install-sg.sh to a new file /tmp/install-sg.sh:

    cd /tmp

Keybase proof

I hereby claim:

  • I am chj1axr0 on github.
  • I am chj1axr0 (https://keybase.io/chj1axr0) on keybase.
  • I have a public key whose fingerprint is ECAB C75A F14D 8CE3 7B2D 2290 3C67 FFD0 DCF3 6634

To claim this, I am signing this object:

@papacasper
papacasper / custom-control.js
Created June 7, 2019 18:29 — forked from shizhua/custom-control.js
Multiple checkbox customizer control
jQuery( document ).ready( function() {
/* === Checkbox Multiple Control === */
jQuery( '.customize-control-checkbox-multiple input[type="checkbox"]' ).on( 'change', function() {
checkbox_values = jQuery( this ).parents( '.customize-control' ).find( 'input[type="checkbox"]:checked' ).map(
function() {
return this.value;
}
@papacasper
papacasper / add-customizer-option.php
Created June 4, 2019 20:21 — forked from neilgee/add-customizer-option.php
Set Background Image of Widget Area in Customizer
<?php
add_action( 'customize_register', 'genesischild_register_theme_customizer' );
/*
* Register Our Customizer Stuff Here
*/
function genesischild_register_theme_customizer( $wp_customize ) {
// Create custom panel.
$wp_customize->add_panel( 'featured_images', array(
@papacasper
papacasper / functions.php
Created June 4, 2019 18:04 — forked from srikat/functions.php
How to use WordPress Customizer for setting up Background Image of a section in Genesis. https://sridharkatakam.com/how-to-use-wordpress-customizer-for-setting-up-background-image-of-a-section-in-genesis/
/**
* Theme Options Customizer Implementation.
*
* @link http://ottopress.com/2012/how-to-leverage-the-theme-customizer-in-your-own-themes/
*
* @param WP_Customize_Manager $wp_customize Object that holds the customizer data.
*/
function sk_register_theme_customizer( $wp_customize ){
/*
@papacasper
papacasper / add-section.php
Last active June 4, 2019 17:48 — forked from danielpataki/add-section.php
Customizer Tutorial
$wp_customize->add_section( 'cd_colors' , array(
'title' => 'Colors',
'priority' => 30,
) );