- Micorosft Product : https://tb.rg-adguard.net/public.php
- Windows Updates : http://www.catalog.update.microsoft.com/Search.aspx?q=1809+x64+2019-02
- Official ISO File : http://software-download.microsoft.com/download/pr/MediaCreationTool1809.exe
| import os, sqlite3 | |
| conn = sqlite3.connect(os.path.expandvars(r'%ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.srd')) | |
| cursor = conn.execute( | |
| ''' | |
| SELECT _PackageID, PackageFullName FROM main.Package | |
| WHERE PackageFullName LIKE "Microsoft.Windows.HolographicFirstRun%"; | |
| ''' | |
| ) |
| @echo off | |
| title Windows 10 native ANSI colors fast and compact macro setup by AveYo - just replace ECHO with %%@%% and ^<ESC^> with @ | |
| :: Initiate macro just once | |
| call :@echo | |
| :: [screenonly] [processed escape sequences] | |
| %@% @^^[101;93m @[101;93m STYLES | |
| %@% @^^[0m @[0m Reset | |
| %@% @^^[1m @[1m Bold | |
| %@% @^^[4m @[4m Underline |
| @echo off& title RunAsTI - lean and mean snippet by AveYo, 2018-2022 | |
| goto :nfo | |
| [FEATURES] | |
| - innovative HKCU load, no need for reg load / unload ping-pong; programs get the user profile | |
| - sets ownership privileges, high priority, and explorer support; get System if TI unavailable | |
| - accepts special characters in paths for which default run as administrator fails | |
| - adds Send to - RunAsTI right-click menu entry to launch files and folders as TI via explorer | |
| [USAGE] | |
| - First copy-paste RunAsTI snippet after .bat script content | |
| - Then call it anywhere to launch programs with arguments as TI |
DISM.exe /Online /Get-TargetEditions
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
Extract stuff from .mkv with ffmpeg
Full documentation: https://ffmpeg.org/ffmpeg.html
ffmpeg -i input.mkv
track indexes are zero-based.
| # params | |
| [CmdletBinding(DefaultParameterSetName="Casual")] | |
| param ( | |
| [Alias("c")] | |
| [Parameter(ParameterSetName = "Pro", Mandatory = $true)] | |
| [ValidateSet("stable", "beta", "dev", "canary")] | |
| [string]$Channel, | |
| [Alias("v")] | |
| [Parameter(ParameterSetName = "Pro", Mandatory = $true)] | |
| [ValidateNotNullOrEmpty()] |
| @echo off | |
| @title Microsoft Edge Uninstaller [Windows 10 LTSC 2021/21H1 Edition] | |
| ver | |
| echo+ | |
| goto check_admin_permissions | |
| :check_admin_permissions | |
| echo Script must Run as Administrator! Detecting permissions... | |
| net session >nul 2>&1 | |
| if %errorLevel% == 0 ( |
| @(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b | |
| #:: just copy-paste into powershell - it's a standalone hybrid script | |
| sp 'HKCU:\Volatile Environment' 'Edge_Removal' @' | |
| $also_remove_webview = 1 | |
| ## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps | |
| $also_remove_widgets = 1 | |
| ## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people | |
| $also_remove_xsocial = 1 | |
| ## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap |
This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.
Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.
You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.
To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.
To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).