Unattended Help


Recommended Posts

ok Not to hijack your thread here. But I was wondering if this looks right :)

CLS

@ECHO OFF

ECHO Ejecting CD-ROM Drives.

START %SYSTEMDRIVE%\Install\CD.VBS

ECHO.

ECHO CD-ROM Drives have been ejected.

ECHO.

ECHO.

ECHO Removing Files From DLLCACHE Directory.

ECHO Please wait...

DEL /F/S/Q %SYSTEMROOT%\System32\DllCache

ECHO.

ECHO Files Have Been Removed.

ECHO.

ECHO.

ECHO Removing Wallpapers.

ECHO Please wait...

DEL "%systemroot%\Blue Lace 16.bmp"

DEL "%systemroot%\Coffee Bean.bmp"

DEL "%systemroot%\FeatherTexture.bmp"

DEL "%systemroot%\Gone Fishing.bmp"

DEL "%systemroot%\Greenstone.bmp"

DEL "%systemroot%\Prairie Wind.bmp"

DEL "%systemroot%\Rhododendron.bmp"

DEL "%systemroot%\River Sumida.bmp"

DEL "%systemroot%\Santa Fe Stucco.bmp"

DEL "%systemroot%\Soap Bubbles.bmp"

DEL "%systemroot%\Zapotec.bmp"

DEL "%systemroot%\Web\Wallpaper\Crystal.jpg"

DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg"

DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg"

DEL "%systemroot%\Web\Wallpaper\Radiance.jpg"

DEL "%systemroot%\Web\Wallpaper\Ripple.jpg"

DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg"

DEL "%systemroot%\Web\Wallpaper\Vortec space.jpg"

DEL "%systemroot%\Web\Wallpaper\Ascent.jpg"

DEL "%systemroot%\Web\Wallpaper\Autumn.jpg"

DEL "%systemroot%\Web\Wallpaper\Azul.jpg"

DEL "%systemroot%\Web\Wallpaper\Red moon desert.jpg"

DEL "%systemroot%\Web\Wallpaper\Tulips.jpg"

DEL "%systemroot%\Web\Wallpaper\Bliss.bmp"

DEL "%systemroot%\Web\Wallpaper\Follow.jpg"

DEL "%systemroot%\Web\Wallpaper\Friend.jpg"

DEL "%systemroot%\Web\Wallpaper\Home.jpg"

DEL "%systemroot%\Web\Wallpaper\Peace.jpg"

DEL "%systemroot%\Web\Wallpaper\Power.jpg"

DEL "%systemroot%\Web\Wallpaper\Wind.jpg"

DEL "%systemroot%\Web\Wallpaper\Windows XP.jpg"

ECHO.

ECHO Wallpapers deleted.

ECHO.

ECHO.

ECHO Deleting Screensavers.

ECHO Please wait...

DEL "%systemroot%\system32\scrnsave.scr"

DEL "%systemroot%\system32\ss3dfo.scr"

DEL "%systemroot%\system32\ssbezier.scr"

DEL "%systemroot%\system32\ssflwbox.scr"

DEL "%systemroot%\system32\ssmarque.scr"

DEL "%systemroot%\system32\ssmypics.scr"

DEL "%systemroot%\system32\ssmyst.scr"

DEL "%systemroot%\system32\sspipes.scr"

DEL "%systemroot%\system32\ssstars.scr"

DEL "%systemroot%\system32\sstext3d.scr"

ECHO.

ECHO Screensavers deleted.

ECHO.

ECHO.

ECHO Adding Bliss Screensaver...

ECHO Please wait...

COPY "%systemdrive%\Install\SSAVER\Matrix\" "%systemroot%\system32"

ECHO.

ECHO Matrix Screensaver Install Complete.

ECHO.

ECHO.

ECHO Installing Windows Media Player 9.

ECHO Please Wait...

START /wait %Systemdrive%\Install\WMP9\mpsetupxp.exe /Q:A /R:N

ECHO.

ECHO Windows Media Player 9 Installed.

ECHO.

ECHO.

ECHO Applying Registry Enhancements.

ECHO Please wait...

REGEDIT /S %systemdrive%\Install\regtwk.reg

ECHO.

ECHO Registry Enhancements Complete.

ECHO.

ECHO.

ECHO Installing WinRAR 3.20.

ECHO Please Wait...

START /wait %systemdrive%\Install\winrar\winrar.exe /s

ECHO.

ECHO WinRAR 3.20 Install Is Complete.

ECHO.

ECHO.

ECHO Installing Microsoft Powertoys.

ECHO.

ECHO Installing TweakUI Powertoy.

ECHO Please wait...

START /wait %systemdrive%\Install\POWERTOYS\TweakUiPowertoySetup.exe /s /v/qn

ECHO.

ECHO TweakUI Powertoy Is Installed.

ECHO.

ECHO Installing Cmd Here Powertoy.

ECHO Please wait...

START /wait %systemdrive%\Install\POWERTOYS\CmdHerePowertoySetup.exe /s /v/qn

ECHO.

ECHO Cmd Here Powertoy Installed.

ECHO.

ECHO Installing HTML Gen Powertoy.

ECHO Please Wait...

START /wait %systemdrive%\Install\POWERTOYS\HtmlgenPowertoySetup.exe /s /v/qn

ECHO.

ECHO HTML Gen Powertoy Installed.

ECHO.

ECHO Installing Power Calc Powertoy.

ECHO Please Wait...

START /wait %systemdrive%\Install\POWERTOYS\PowerCalcPowertoySetup.exe /s /v/qn

ECHO.

ECHO Power Calc Powertoy Installed.

ECHO.

ECHO Installing Slideshow Powertoy.

ECHO Please Wait...

START /wait %systemdrive%\Install\POWERTOYS\SlideshowPowertoySetup.exe /s /v/qn

ECHO.

ECHO Installing Nero Burning ROM v6.0.0.19.

ECHO Please wait...

START /wait %systemdrive%\Install\NERO\Nero60019.exe /silent /noreboot

ECHO.

ECHO Nero Burning ROM Install Complete.

ECHO.

ECHO Registering Nero Burning ROM...

REGEDIT /S %systemdrive%\Install\NERO\register.reg

ECHO Nero Burning ROM Is Now Registered to acidic-e-

ECHO.

ECHO.

ECHO Installing ATI Control Panel for Catalyst 3.8.

ECHO Please wait...

START /wait %systemdrive%\Install\DRIVERS\Catalyst\Cpanel\Setup.exe -s -f1"%systemdrive%\Install\DRIVERS\Catalyst\CPanel\setup.iss"

ECHO.

ECHO ATI COntrol Panel Install Complete.

ECHO.

ECHO.

ECHO Installing nVidia nForce 2.45 Drivers pray it works.

ECHO Please Wait.

START /wait %systemdrive%\Install\DRIVERS\nForce\nForce.exe -s -f1"%systemdrive%\Install\DRIVERS\nForce\setup.iss"

ECHO.

ECHO nVidia Driver install Complete.

ECHO.

ECHO.

ECHO Installing DirectX 9.0b

ECHO Please wait...

start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opk

ECHO.

ECHO DirectX 9.0b Install Complete.

ECHO.

ECHO.

ECHO Installing Diskeeper Professional 8.0.

ECHO Please Wait.

START /wait %systemdrive%\Install\Diskeeper\Diskeeper-pro.exe /silent

ECHO.

ECHO Diskeeper Professional 8.0 Install Complete.

ECHO.

ECHO.

ECHO File installation's are complete.

ECHO.

EXIT

Link to comment
https://www.neowin.net/forum/topic/112683-unattended-help/#findComment-1323145
Share on other sites

winnt.sif is fine and unattended works it just didnt copy the files to c: am i supposed to do something else to make it copy he files over. is there lke a $systemcdrom% command or something like that caue then i could just copy it over.

From the sounds of it you do not have the OEM line right. I know one of the mods was having this problem in the thread and he fixed it. Look in the WINNT.SIF file and if you have OemPreinstall=No you need to change it to say OemPreinstall=Yes.

Link to comment
https://www.neowin.net/forum/topic/112683-unattended-help/#findComment-1323157
Share on other sites

From the sounds of it you do not have the OEM line right. I know one of the mods was having this problem in the thread and he fixed it. Look in the WINNT.SIF file and if you have OemPreinstall=No you need to change it to say OemPreinstall=Yes.

thanks ill try that out!

Link to comment
https://www.neowin.net/forum/topic/112683-unattended-help/#findComment-1323743
Share on other sites

Where do the OEM preinstall (OemPreinstall=No you need to change it to say OemPreinstall=Yes) commands go? UNder what heading?

they go under [unattended]

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

UnattendSwitch="No"

WaitForReboot="No"

DriverSigningPolicy=Ignore

OemPnPDriversPath=

Link to comment
https://www.neowin.net/forum/topic/112683-unattended-help/#findComment-1324380
Share on other sites

it should be similar to this:

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

UnattendSwitch="No"

hope it helps. Whatever in $OEM$\$1 on the CD will be copied over to system drive which would be usually c:\

EDIT: oops, acidbrnd beat me to it

Link to comment
https://www.neowin.net/forum/topic/112683-unattended-help/#findComment-1324385
Share on other sites

ok think I have everything fixed. But just incase here are the batch files and the sif file.

;SetupMgrTag

[Data]    AutoPartition=1

    MsDosInitiated="0"

    UnattendedInstall="Yes"

[unattended]

    UnattendMode=FullUnattended

    OemSkipEula=Yes

    OemPreinstall=Yes

    TargetPath=\WINDOWS

    UnattendSwitch="No"

    WaitForReboot="No"

    DriverSigningPolicy=Ignore

    OemPnPDriversPath="Drivers\Catalyst\Driver\2KXP_INF;Drivers\nForce\AudioDrv;Drivers\nForce\AudioUtl;Drivers\nForce\Ethernet;Drivers\nForce\GART;Drivers\nForce\MemCtl;Drivers\nForce\SMBus;Drivers\nForce\USB\"

   

[GuiUnattended]

    AdminPassword=duh?

    EncryptedAdminPassword=Yes

    OEMSkipRegional=1

    TimeZone=4

    OemSkipWelcome=1

[userData]

    ProductKey=

    FullName=""

    OrgName=""

    ComputerName=none

[Display]

    BitsPerPel=32

    Xresolution=1600

    YResolution=1200

    Vrefresh=75

[identification]

    JoinWorkgroup=

[Networking]

    InstallDefaultComponents=No

[NetAdapters]

    Adapter1=params.Adapter1

[params.Adapter1]

    INFID=*

[NetClients]

    MS_MSClient=params.MS_MSClient

[NetServices]

    MS_SERVER=params.MS_SERVER

[NetProtocols]

    MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]

    DNS=No

    UseDomainNameDevolution=No

    EnableLMHosts=Yes

    AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]

    SpecificTo=Adapter1

    DHCP=No

    IPAddress=

    SubnetMask=

    DefaultGateway=

    DNSServerSearchOrder=

    WINS=No

    NetBIOSOptions=0

[components]

    zonegames=off

    media_clips=off

    mousepoint=off

    msnexplr=off

    freecell=off

    minesweeper=off

    pinball=off

    solitaire=off

    spider=off

    zonegames=off

[GuiRunOnce]

  Command0=%systemdrive%\Install\batch_command.cmd

And the batch file.

CLS

@ECHO OFF

ECHO Ejecting CD-ROM Drives.

START %SYSTEMDRIVE%\Install\CD.VBS

ECHO.

ECHO CD-ROM Drives have been ejected.

ECHO.

ECHO.

ECHO Removing Files From DLLCACHE Directory.

ECHO Please wait...

DEL /F/S/Q %SYSTEMROOT%\System32\DllCache

ECHO.

ECHO Files Have Been Removed.

ECHO.

ECHO.

ECHO Removing Wallpapers.

ECHO Please wait...

DEL "%systemroot%\Blue Lace 16.bmp"

DEL "%systemroot%\Coffee Bean.bmp"

DEL "%systemroot%\FeatherTexture.bmp"

DEL "%systemroot%\Gone Fishing.bmp"

DEL "%systemroot%\Greenstone.bmp"

DEL "%systemroot%\Prairie Wind.bmp"

DEL "%systemroot%\Rhododendron.bmp"

DEL "%systemroot%\River Sumida.bmp"

DEL "%systemroot%\Santa Fe Stucco.bmp"

DEL "%systemroot%\Soap Bubbles.bmp"

DEL "%systemroot%\Zapotec.bmp"

DEL "%systemroot%\Web\Wallpaper\Crystal.jpg"

DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg"

DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg"

DEL "%systemroot%\Web\Wallpaper\Radiance.jpg"

DEL "%systemroot%\Web\Wallpaper\Ripple.jpg"

DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg"

DEL "%systemroot%\Web\Wallpaper\Vortec space.jpg"

DEL "%systemroot%\Web\Wallpaper\Ascent.jpg"

DEL "%systemroot%\Web\Wallpaper\Autumn.jpg"

DEL "%systemroot%\Web\Wallpaper\Azul.jpg"

DEL "%systemroot%\Web\Wallpaper\Red moon desert.jpg"

DEL "%systemroot%\Web\Wallpaper\Tulips.jpg"

DEL "%systemroot%\Web\Wallpaper\Follow.jpg"

DEL "%systemroot%\Web\Wallpaper\Friend.jpg"

DEL "%systemroot%\Web\Wallpaper\Home.jpg"

DEL "%systemroot%\Web\Wallpaper\Peace.jpg"

DEL "%systemroot%\Web\Wallpaper\Power.jpg"

DEL "%systemroot%\Web\Wallpaper\Wind.jpg"

DEL "%systemroot%\Web\Wallpaper\Windows XP.jpg"

ECHO.

ECHO Wallpapers deleted.

ECHO.

ECHO.

ECHO Deleting Screensavers.

ECHO Please wait...

DEL "%systemroot%\system32\scrnsave.scr"

DEL "%systemroot%\system32\ss3dfo.scr"

DEL "%systemroot%\system32\ssbezier.scr"

DEL "%systemroot%\system32\ssflwbox.scr"

DEL "%systemroot%\system32\ssmarque.scr"

DEL "%systemroot%\system32\ssmypics.scr"

DEL "%systemroot%\system32\ssmyst.scr"

DEL "%systemroot%\system32\sspipes.scr"

DEL "%systemroot%\system32\ssstars.scr"

DEL "%systemroot%\system32\sstext3d.scr"

ECHO.

ECHO Screensavers deleted.

ECHO.

ECHO.

ECHO Adding Matrix Screensaver...

ECHO Please wait...

COPY "%systemdrive%\Install\SSAVER\Matrix\" "%systemroot%\system32"

ECHO.

ECHO Matrix Screensaver Install Complete.

ECHO.

ECHO.

ECHO Installing Windows Media Player 9.

ECHO Please Wait...

START /wait %Systemdrive%\Install\WMP9\mpsetupxp.exe /Q:A /R:N

ECHO.

ECHO Windows Media Player 9 Installed.

ECHO.

ECHO.

ECHO Applying Registry Enhancements.

ECHO Please wait...

REGEDIT /S %systemdrive%\Install\regtwk.reg

ECHO.

ECHO Registry Enhancements Complete.

ECHO.

ECHO.

ECHO Installing WinRAR 3.20.

ECHO Please Wait...

START /wait %systemdrive%\Install\winrar\winrar.exe /s

ECHO.

ECHO WinRAR 3.20 Install Is Complete.

ECHO.

ECHO.

ECHO Installing Microsoft Powertoys.

ECHO.

ECHO Installing TweakUI Powertoy.

ECHO Please wait...

START /wait %systemdrive%\Install\POWERTOYS\TweakUiPowertoySetup.exe /s /v/qn

ECHO.

ECHO TweakUI Powertoy Is Installed.

ECHO.

ECHO Installing Cmd Here Powertoy.

ECHO Please wait...

START /wait %systemdrive%\Install\POWERTOYS\CmdHerePowertoySetup.exe /s /v/qn

ECHO.

ECHO.

ECHO HTML Gen Powertoy Installed.

ECHO.

ECHO Installing Power Calc Powertoy.

ECHO Please Wait...

START /wait %systemdrive%\Install\POWERTOYS\PowerCalcPowertoySetup.exe /s /v/qn

ECHO.

ECHO Power Calc Powertoy Installed.

ECHO.

ECHO Installing Slideshow Powertoy.

ECHO Please Wait...

START /wait %systemdrive%\Install\POWERTOYS\SlideshowPowertoySetup.exe /s /v/qn

ECHO.

ECHO.

ECHO Installing Sun Java 1.4.2.02.

ECHO Please Wait.

START /wait %systemdrive%\install\Java\j2re.exe /S /v/qn

ECHO.

ECHO Sun Java 1.4.2.02 Install Complete.

ECHO.

ECHO.

ECHO Installing DirectX 9.0b

ECHO Please wait...

start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opk

ECHO.

ECHO DirectX 9.0b Install Complete.

ECHO.

ECHO.

ECHO Installing DOT.NET Framework 1.1

ECHO Please Wait...

START /wait %systemdrive%\Install\net\netfx.msi /QB

ECHO.

ECHO DOT .NET Framework v1.1 Install Complete.

ECHO.

ECHO.

ECHO Copying deluser utility...

COPY "%systemdrive%\Install\Tools\deluser.exe" "%systemroot%\"

ECHO.

ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...

start /wait DELUSER /Q aspnet

ECHO.

ECHO Deleting ASP.NET User Account Complete.

ECHO.

ECHO.

ECHO Installing Nero Burning ROM v6.0.0.19.

ECHO Please wait...

START /wait %systemdrive%\Install\NERO\Nero60019.exe /silent /noreboot

ECHO.

ECHO Nero Burning ROM Install Complete.

ECHO.

ECHO Registering Nero Burning ROM...

REGEDIT /S %systemdrive%\Install\NERO\register.reg

ECHO Nero Burning ROM Is Now Registered to acidic-e-

ECHO.

ECHO.

ECHO Installing Diskeeper 8.0 Professional.

ECHO Please Wait...

START /wait %systemdrive%\install\Diskeeper\Setup.exe /s /v/qn

ECHO.

ECHO Diskeeper 8.0 Professional Install Complete.

ECHO.

ECHO.

ECHO Installing ATI Control Panel for Catalyst 3.8.

ECHO Please wait...

START /wait %systemdrive%\Install\Drivers\Catalyst\Cpanel\Setup.exe -s -f1"%systemdrive%\Install\Drivers\Catalyst\CPanel\setup.iss"

ECHO.

ECHO ATI Control Panel Install Complete.

ECHO.

ECHO.

ECHO Installing nForce 2.45 Drivers.

ECHO Please Wait.

START /wait %systemdrive%\Install\Drivers\nForce\nForce.exe -s -f1"%systemdrive%\Install\Drivers\nForce\setup.iss"

ECHO.

ECHO nForce install Complete.

ECHO.

ECHO.

ECHO File installation's are complete.

ECHO.

PAUSE

EXIT

I added in the Pause to see if there were any errors once it was done. Look ok? or if not what is wrong?

Link to comment
https://www.neowin.net/forum/topic/112683-unattended-help/#findComment-1325316
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Here is how I fixed Windows 11 not booting after clean installation by Taras Buria Story time. A couple of weeks ago, I experienced a very odd thing with my computers. I was trying to reinstall Windows 11 on my primary device, and everything was going smoothly until the installer performed the first restart. After that, my computer entered the boot disk selection screen instead of continuing the setup process. Huh, that's odd, said I, and selected Windows Boot Manager only to see it fall back into the same screen right away. Then I tried booting from the USB drive with the same result—the PC kept returning to the boot device selection screen, and removing the drive would send my PC to UEFI, again, with no way to launch Windows 11. I fired up my spare laptop, which has been sitting unused for quite a while, to see if I am dealing with a defective USB drive. Nope, Windows 11 installed and started without issues. After trying another drive and checking all the possible settings in UEFI, I decided to try disabling Secure Boot. Lo and behold, Windows 11 started as it should have been in the first place, continued the setup process, and reached the initial setup screen. Victory! After I finished the setup and applied all updates, I re-enabled Secure Boot, and Windows 11 started without issues. Some time later, I tried reinstalling Windows 11 on my laptop only to experience similar issues, with UEFI claiming a Secure Boot violation. I checked whether the drive works on my main PC, and yes, it installed Windows 11 without errors. I scratched my head, went to UEFI, turned off Secure Boot, and installed Windows 11 without issues. After that, I enabled Secure Boot. Note: I used the official Media Creation Tool app for my USB drive. Also, UEFI was properly configured for Windows 11, including no Legacy Mode, a GPT-partitioned drive, and TPM and Secure Boot enabled. From my experience, if you are dealing with similar symptoms, I recommend two things: If you use old Windows 11 install media, create a new one with the latest Windows 11 release, especially if you know your PC already has the latest Secure Boot certificates. If you cannot create a new one, turn off Secure Boot, complete the installation, download all available updates, and then re-enable Secure Boot in UEFI. Note that you need to turn off Secure Boot after installing Windows 11. Otherwise, the installer won't run, claiming a hardware requirements mismatch. I believe the problem hides in Secure Boot certificates that expire this month. Microsoft is currently rolling out new certificates, and maybe a mismatch was causing these issues for both of my systems. I am out of my depth to make a definitive statement; this article is flagged as "Opinion," as I only share my experience and some tips on how to fix the problem. If some of you possess deeper knowledge and understanding of the situation, please share it in the comments. As for everyone else struggling with computers not booting after a clean install, the two steps above should get you out of the pickle.
    • I gave the tool a chance the other day to make a USB. An hour later it was stuck at 0% downloaded. I downloaded the official ISO, downloaded Rufus, and made the USB myself in 15 min.
    • <Moved to software discussion and support> I've got fond memories of Winamp. Changing the skins, the different visualisations etc. But now I just need a simple music player. MSN messenger would be another one, MSN Messenger Plus (I think?) offered so many different plugins. But again, it probably wouldn't work for me these days. And then there is miRC. i think it's still going these days, but lord i had fun with that back in the day. Now it's mostly stuff like Discord, WhatsApp group chats, Signal, Telegram... /me is showing his age...
    • ive always been fascinated by old software this is an old video player for windows from apple
  • Recent Achievements

    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      agatameier earned a badge
      Week One Done
    • Week One Done
      ssd21345 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      518
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      94
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!