본문 바로가기

Windows

윈도우 10, BIOS에 내장된 키를 불러와 윈도우 인증하는 방법

 

@echo off
chcp 65001
color 4f


cd\
cls
title BIOS OEM Windows 10 Activation
echo.
echo BIOS OEM Windows 10 Activation
echo.

For /f "tokens=2 delims=," %%a in ('wmic path SoftwareLicensingService get OA3xOriginalProductKey^,VLRenewalInterval /value /format:csv') do set key=%%a
echo.
echo -----------------------------------------------------
echo Windows BIOS OEM : %key%
echo -----------------------------------------------------
echo.
echo.
echo.

@echo off
c:
cd %systemroot%\system32
echo.
slmgr /upk
echo BIOS OEM Key ... Delete ... !!!
echo.

slmgr /ipk %key%
echo BIOS OEM Key ... Registering ... !!!
echo.

slmgr /ato
echo BIOS OEM Windows 10 Activation ... OK ... !!!
echo.

pause
exit

BIOS OEM Windows 10 Activation.bat
0.00MB