Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || ( cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && ""%~s0""", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B )
- color 1F
- title W10 Digital License Activation Script 5
- setlocal enabledelayedexpansion
- setlocal EnableExtensions
- pushd "%~dp0"
- cd /d "%~dp0"
- slmgr /dlv
- slmgr /upk
- slmgr /ipk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement