none
apply network settings requires sysprep RRS feed

  • Question

  • in production i'm running 2007 R2 SP2
    i've now set up a separate lab-environment with 2007 R3 that is unrelated to my production environment.

    i've copied the package sourcefiles to the lab (OS image, sysprep and configmgr, drivers) and created new packages, distributed them and they are obtainable during the TS.

    the TS is very straight-forward:
    - format 100% and make this the boot partition
    - apply XP SP3 OS image
    - apply windows settings
    - auto apply drivers
    - setup windows and configmgr
    - apply network settings (join lab-domain)

    only in my lab during the last step I'm getting error 11135 that the sysprep directory and/or answerfile is not found. this is caused by the fact that sysprep already ran when applying the windows settings. in my production environment this error does not occur.
    the exact error is:

    The task sequence execution engine failed executing the action (Apply Network Settings) in the group () with the error code 2147942403
    Action output: ==============================[ OSDNetSettings.exe ]===========================
    Command line: "osdnetsettings.exe" configure
    CCM::Utility::Filesystem::Directory::Exists( sSysprepAnswerFile ), HRESULT=80070003 (e:\nts_sms_fre\sms\framework\osdcore\infanswerfile.cpp,1459)
    SysprepAnswerFile::InitSysprepAnswerFile( pSysprepAnswerFile ), HRESULT=80070003 (e:\nts_sms_fre\sms\framework\osdcore\infanswerfile.cpp,333)
    OSD::Utility::BaseAnswerFile::CreateAnswerFile( pAnswerFile ), HRESULT=80070003 (e:\nts_sms_fre\sms\client\osdeployment\osdnetsettings\main.cpp,177)
    OSDNetSettings finished: 0x80070003
    Sysprep directory not found on system root.. Please ensure that you copied the sysprep binaries to %SystemRoot%\Sysprep when creating your image.
    The system cannot find the path specified. (Error: 80070003; Source: Windows)
    Failed to initialize Sysprep answer file (0x80070003)
    Failed to initialize answer file. The operating system reported error 2147942403: The system cannot find the path specified.
    

    when i disable the apply network settings, the TS completes and boots to the logon screen of a workgroup machine

    when i remove the serial in apply windows settings, the TS runs fine including the apply network settings

     

    my questions:
    why does the join domain requires the sysprep ?
    why does it run fine in production ?

    Wednesday, October 19, 2011 10:03 AM

Answers

  • I found the cause:

    there are 2 different options on how to let a computer join a domain while building a task sequence:

    - General => Join Domain or Workgroup (this is the one to use)
    - Settings => Apply Network Settings

    these windows look almost identical in a task sequence and both let u choose a domain and OU where to put the computer.

    however: the second option requires the sysprep file and assumes that u have captured the network settings

    • Marked as answer by royjacobs Wednesday, October 19, 2011 12:38 PM
    Wednesday, October 19, 2011 12:38 PM

All replies

  • Take a look at the apply XP SP3 OS Image step. Have you checked the us an unattended or sysprep answer file?
    My guess is that there is something different in the two task sequences. Take a closer look.

    OHM
    www.msitpros.com

    Wednesday, October 19, 2011 10:31 AM
  • both enabling or disabling the usage of a sysprep.inf during this step have the same result, the sysprep package is correctly distributed and it's content is the same as in my production environment
    Wednesday, October 19, 2011 11:03 AM
  • I found the cause:

    there are 2 different options on how to let a computer join a domain while building a task sequence:

    - General => Join Domain or Workgroup (this is the one to use)
    - Settings => Apply Network Settings

    these windows look almost identical in a task sequence and both let u choose a domain and OU where to put the computer.

    however: the second option requires the sysprep file and assumes that u have captured the network settings

    • Marked as answer by royjacobs Wednesday, October 19, 2011 12:38 PM
    Wednesday, October 19, 2011 12:38 PM
  • Correct. Both Apply Network Settings and Apply WIndows Settings tasks update the current unattended file (sysprep.inf or unattend.txt for that really old OS and unattend.xml for the modern OSes) that is later used by Windows setup. They do not directly set anything in the OS.
    Jason | http://myitforum.com/cs2/blogs/jsandys | Twitter @JasonSandys
    Wednesday, October 19, 2011 2:13 PM
    Moderator