I need a little help

Discussion in 'Windows 8' started by ERRASoft, Jun 3, 2016.

  1. ERRASoft

    ERRASoft MDL Novice

    Aug 17, 2014
    17
    3
    0
    #1 ERRASoft, Jun 3, 2016
    Last edited by a moderator: Apr 20, 2017
    thanks to halikus for his script

    Code:
    @echo off
    for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\sources\install.wim set CDROM=%%i:
    echo Found CD-Rom as drive %CDROM%
    
    
    if not exist %SystemRoot%\system32\systeminfo.exe goto :warnthenexit
    
    systeminfo | find "OS Name" > %TEMP%\osname.txt
    FOR /F "usebackq delims=: tokens=2" %%i IN (%TEMP%\osname.txt) DO set vers=%%i
    
    echo %vers% | find "Windows 8.1" > nul
    if %ERRORLEVEL% == 0 goto :ver_8.1
    
    echo %vers% | find "Windows 7" > nul
    if %ERRORLEVEL% == 0 goto :ver_7
    
    goto :warnthenexit
    
    
    :ver_8.1
    echo Windows 8
    if %processor_architecture% == x86 call :x86
    if %processor_architecture% == AMD64 call :x64
    ::check activation status, and exit::
    WMIC /NAMESPACE:\\root\CIMV2 PATH SoftwareLicensingProduct WHERE LicenseStatus=1 GET LicenseStatus | findstr "1" >nul
    IF ERRORLEVEL 1 goto :NOT_LICENSED8
    rem RD /S /Q "%WINDIR%\Setup\Files" >nul
    rem DEL /F /Q %0% >nul
    exit /b
    
    ::run loader, if not activated::
    :NOT_LICENSED8
    rem start /wait %~dp0Microsoft Toolkit.exe
    rem regedit /s %~dp0RunOnce.reg
    %~dp0AutoKMS.exe
    rem %windir%\Setup\Files\Microsoft Toolkit.exe /verysilent
    attrib -R -A -S -H *.*
    rem SHUTDOWN /R /T 5
    rem RMDIR /S /Q "%WINDIR%\Setup\Files"
    goto :exit
    
    
    :ver_7
    echo Windows 7
    if %processor_architecture% == x86 call :x86
    if %processor_architecture% == AMD64 call :x64
    ::check activation status, and exit::
    WMIC /NAMESPACE:\\root\CIMV2 PATH SoftwareLicensingProduct WHERE LicenseStatus=1 GET LicenseStatus | findstr "1" >nul
    IF ERRORLEVEL 1 goto :NOT_LICENSED7
    rem RD /S /Q "%WINDIR%\Setup\Files" >nul
    rem DEL /F /Q %0% >nul
    exit /b
    
    ::run loader, if not activated::
    :NOT_LICENSED7
    %~dp0"Windows Loader.exe" /silent /preactivate
    attrib -R -A -S -H *.*
    SHUTDOWN /R /T 5
    rem RMDIR /S /Q "%WINDIR%\Setup\Files"
    goto :exit
    
    
    :warnthenexit
    echo Machine undetermined.
    if %processor_architecture% == x86 call :x86
    if %processor_architecture% == AMD64 call :x64
    goto :exit
    
    
    :x86
    echo Universal x86
    
    goto :eof
    
    
    :x64
    echo Universal x64
    
    goto :eof
    
    
    :exit
    exit 
    
    :eof
    what do i wrong?
    in oem folder setup scripts are setupcomplete.cmd runonce.reg and clean.cmd
    in oem folder setup files are Windows Loader.exe Microsoft Toolkit.exe
    an how can start Start8 for win8.1

    thanks for helping in advance
    sorry for bad english
     
  2. PhaseDoubt

    PhaseDoubt MDL Expert

    Dec 24, 2011
    1,443
    275
    60
    #2 PhaseDoubt, Jun 4, 2016
    Last edited: Jun 4, 2016
    What exactly is your problem? Inability to start Start8?
     
  3. ERRASoft

    ERRASoft MDL Novice

    Aug 17, 2014
    17
    3
    0

    it does not work no activation no install etc. thanks for reply
     
  4. oldsh_t

    oldsh_t MDL Expert

    Dec 23, 2009
    1,081
    532
    60
    I think what he is after is to get Star8 in the "OEM" folder, on the install disc, to have Start8 installed automatically when installing Windows.......I THINK:confused:
     
  5. PhaseDoubt

    PhaseDoubt MDL Expert

    Dec 24, 2011
    1,443
    275
    60
    Well, I was thinking that too … sort of. But when the OP stated “no activation no install” I think it’s a little more than just that.

    Note to OP: It would be helpful to get a more detailed description of what you’re trying to do and exactly what is happening.

    The rule is, you can post in your native language, just also post in English. You’ve obviously posted in English so maybe try a post with both. Both just to be “legal”.
     
  6. ERRASoft

    ERRASoft MDL Novice

    Aug 17, 2014
    17
    3
    0
    #6 ERRASoft, Jun 5, 2016
    Last edited: Jun 7, 2016
    (OP)
    Nun ich möchte wenn ich windows installiere, das es nach der Installation Aktiviert wird. Abhängig vom Betriebssystem. Und bei Windows 8.1 sollte wenn möglich auch Start8 Installiert sein. Ordnerstruktur siehe bild. Hierbei handelt es sich um eine AIO
    danke für die hilfe
    gruß ERRASoft

    Now I would like if I install windows, it is activated after installation. Depending on the operating system. And with Windows 8.1 if possible Start8 should be installed. Folder structure, see picture. This is a AIO
    Thanks for your help
    greeting ERRASoft
     

    Attached Files: