General discussion

  • Creator
    Topic
  • #2073990

    cndlines.txt / unattended setup

    Locked

    by edrox ·

    Hi all,

    thanks for helping on my previous qs, you all are helping me out big time!

    I am creating an unattended setup for NT workstations, I want to run several commands in my GUI part of the unattend install.
    The problem I have is the following:
    I have a video card which requires NT SP 5 to install, otherways it will crash.
    I have made the video card unattended, no prob.
    What I do now is, I run the unattend, when it gets to the cmdlines.txt, it first makes a registry edit to enable autoadminlogon, no problem, then I install SP 5, goes pperfect, but now I have to reboot to apply SP5, when I do this it will not continue my cmdlines.txt, if I do not reboot, the video install says I haven’t applied SP 5.

    Anybody any clue for me?
    Thanks a lot,

    Eduard de Vries

All Comments

  • Author
    Replies
    • #3778240

      cndlines.txt / unattended setup

      by joncr ·

      In reply to cndlines.txt / unattended setup

      before rebooting create a new string value in the RunOnce registry key. Give it any name but make the value “c:\after_reboot.bat”
      put everything you need to do after the reboot in this batch file.
      When you autologon after the reboot this batch file will run automatically. This only runs once and will not run when the users logon in. I’ve used it on many builds. If you have any problems with it theres lots on RunOnce in Technet.

Viewing 0 reply threads