Is there a way to extract scripts from a Windows setup disc ????

Discussion in 'Windows Server' started by fbifido, Nov 27, 2014.

  1. fbifido

    fbifido MDL Member

    Jun 6, 2007
    187
    26
    10
    Hi,

    Is there a way to extract:

    The setup scripts from the Windows Small Business 2011 setup disc ?
    The unattended answer files ?

    Then can we use the original ISO files, from each application and the scripts and rebuild SBS 2011.
    so original iso:
    server 2008
    exchange 2010
    sharepoint foundation 2010


    Thanks.
     
  2. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,711
    18,977
    340
    Question is, are the files inside the ISO (aka $OEM$) or inside the install.wim of the ISO :g:?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. fbifido

    fbifido MDL Member

    Jun 6, 2007
    187
    26
    10
    Microsoft Windows Server 2011 SBS Essentials\Server Installation x64\GRMSAAxFREO_EN_DVD.iso\install.wim\Windows\Setup\scripts\Setupcomplete.cmd


    [setupcomplete.cmd]
    time /T >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    echo Removing the WaitForOS registry value >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    reg delete "HKLM\Software\Microsoft\Windows Server\Setup" /v WaitForOS /f >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    echo Disabling the OS Initial Configuration >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    reg add "HKLM\Software\Microsoft\ServerManager\Oobe" /v DoNotOpenInitialConfigurationTasksAtLogon /t REG_DWORD /d 1 /f >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    echo Disabling the OS Server Manager >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    reg add "HKLM\Software\Microsoft\ServerManager" /v DoNotOpenServerManagerAtLogon /t REG_DWORD /d 1 /f >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    echo Disabling the OS Shutdown Tracker >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v ShutdownReasonOn /t REG_DWORD /d 0 /f >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"
    time /T >> "C:\ProgramData\Microsoft\Windows Server\Logs\OSConfig.log"


    I don't see any $OEM$.