Changes

Jump to: navigation, search

Windows Activation

124 bytes added, 11:29, 7 August 2014
no edit summary
</source>
Batch file for activation via key lists for Windows 7, 8 and 8.1:<. One activation code>per line in win_7_pro.txt and used codes will be written into used_win_7_pro.txt as "$KEY $HOSTNAME" so they are marked as used and on which machine.
<source lang="dos">
@echo off
:ACTIVATE
REM Noch X Tage bis Ende der vorläufigen Aktivierungcscript /nologo slmgr.vbs /dli | find "LizenziertLicensed" > NUL
if not errorlevel 1 (
echo Windows ist aktiviertis activated.
exit /b
) else (
echo Windows ist nicht aktiviertis not activated.
for /F "tokens=*" %%K in (%KEY_FILE%) do (
findstr /m "%%K" %USED_KEY_FILE% > NUL
if errorlevel 1 (
echo found unused keyfound: %%K
cscript /nologo slmgr.vbs /ipk %%K
if not errorlevel 1 (
echo something went wrong.
exit /b 1
 </codesource>
[[Category:Silent Installers]]
[[Category:Changing Windows settings]]
Anonymous user

Navigation menu