Jump to content

Recommended Posts


Posted

check the value mediabootinstall in the registry under

HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Setup/OOBE/

. If the value is 1 you used a full version, if 0 you installed an upgrade.

  • 2 months later...
Posted (edited)

I was bored today so I wrote this batch based off of Magic's reply..DP :sneaky:

@echo Off&color a&title,[ CHECK IF FULL OR UPGRADE ~DosProbie ]:: ### REG VARIABLES..set regpath=hklm\software\microsoft\windows\currentversion\setup\oobeset regvalue=MediaBootInstallset regdata=1:: ### CHECK REG VALUE FOR OS TYPE..reg query "%regpath%" /v "%regvalue%" | findstr /r "%regdata%">nul 2>&1cls:: ### OUTPUT IF FULL OR UPGRADE..if "%errorlevel%" equ "0" (  echo Your Windows OS is a Full Version!) else (  echo Your Windows OS is a Upgrade Version!):: ### DELAY THEN EXIT..timeout /t 3 /nobreak>nulexit /b /0
Edited by DosProbie

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...