Skip to content

Instantly share code, notes, and snippets.

rem ---------------------------------------------------------------------------
rem MY ULTIMATE WINDOWS 11 CUSTOMIZATION SCRIPT
rem ---------------------------------------------------------------------------
rem Tested on Windows 11 IoT Enterprise LTSC 24H2 Build 26100.2033
rem Most of these hacks require signing out and in again.
rem ___
rem Explanation of registry flags:
rem /f = Overwrite
rem /d = Assigns the specified data to the registry value.
@BenOnSocial
BenOnSocial / uninstall-phone-link.ps1
Last active November 26, 2025 00:11
Uninstall Phone Link on Windows 11.
@hafiz-muhammad
hafiz-muhammad / block-windows-telemetry.md
Last active November 29, 2025 03:01
Block Windows telemetry via host file.

Repo containing link below: https://github.com/hagezi/dns-blocklists?tab=readme-ov-file#native Copy & paste from https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/hosts/native.winoffice.txt and add to Windows host file.

Host file location: C:\Windows\System32\drivers\etc\hosts

How to:

  1. Drag & drop host file to desktop.
  2. Paste everything from https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/hosts/native.winoffice.txt below everything else.
  3. Drag & drop the host file back into C:\Windows\System32\drivers\etc.
  4. Click 'Allow on Device' through Windows Defender application.
@kajott
kajott / win10repair.bat
Last active November 28, 2025 22:26
Windows 10/11 Setup Script
@echo off
@rem "This little script sets a few useful settings in Windows 10 that most"
@rem "serious users are likely to want; scroll through the script for details"
@rem "and disable sections you don't want."
@rem "Usage:"
@rem "Just save this file as a .bat or .cmd file and run it (with"
@rem "Administrator privileges!). You will need to re-run it after larger"
@rem "updates, as these tend to overwrite some of the settings or re-create"
@Gen2ly
Gen2ly / ghsync-gist
Created June 7, 2012 11:56
Create a github gist repository for sharing scripts/configs on blog
#!/bin/bash
# Create a github gist repository for sharing scripts/configs on blog
# Base directory, repository parent directory
base_dir=""$HOME"/"
repo_par=""$HOME"/.github-gist/"
# File list (File list order must match repository order)
files=('/home/todd/.scripts/others/ghsync-script'
'/home/todd/.scripts/vault/unity-effects'