SCCM Deployment osd task to join domain in right ou

I have a problem.
I want to join the domain and place the computer in a specific OU based upon the prefix of the name of the computer. I am using the task "Apply Network Settings". It works ok.
My machines have specific prefixes and all need to by deployed with the same task sequence so that they are identical. The prefixes are Device Type Like computernamePOS01 or ComputernameMgr01 or ComputernameISP01 
POS- (for development)   (OU=POS)
MGR-(for production)     (OU=MGR)
ISP-(for testing purposes)  (OU=ISP)
This is my network Settings
LDAP://OU=POS,OU=Stores_Computers,DC=stg,DC=test,DC=com
I have Each different Task Squence for Each Device and it works but i need one task for all the Device Type  
Has anyone found a solution or workaround.?

How are you naming the Machines?
Normally you simply use the same logic that sets OSDComputerName to also set the MachineObjectOU property. The Configure action will then write the correct OU value into the unattend.xml during deployment.
/ Johan
Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

Similar Messages

  • SCCM 2012 OSD Task Sequence - force Policy and SCEP update?

    Hi,
    How can I force a policy update to update machine policy and scep definitions at the end of
    SCCM 2012 OSD Task Sequence,
    Thanks,
    Ward.

    Hi,
    I normally use this solution from Chris Nackers to deploy the latest EP definitions during OSD and deploy a custom EP policy, it works great. The policy will be downloaded when the client is registered.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • SCCM 2012 OSD Task Sequence Fails "An error occurred while retrieving policy for this computer"

    We have SCCM 2012 R2. I amm trying to start OSD task sequence from bootable media.
    Hyper-v client gets DHCP ip and starts MDT bootable media, but could not find policy.
    From F8 I can ping SCCM/DP/MP server.
    What could be the cause?

    Yes, this DHCP client is in the same subnet as other working clients.
    smsts.log from client
    Request was successful. TSPxe
    21.03.2014 14:14:14 324 (0x0144)
    pNext != NULL, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,1970)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    reply has no message header marker TSPxe
    21.03.2014 14:14:14 324 (0x0144)
    DoRequest (sReply, true), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,5868)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    Failed to get client identity (80004005)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    ClientIdentity.RequestClientIdentity (), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1113)
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    failed to request for client
    TSPxe 21.03.2014 14:14:14
    324 (0x0144)
    Exiting TSMediaWizardControl::GetPolicy. TSPxe
    21.03.2014 14:14:14 324 (0x0144)

  • SCCM 2012 OSD task sequence condition

    Is there a way to set a condition on a step that looks to see if the machine is already known to SCCM / Active Directory?
    I have a step that names the PC using ITX Solutions AutoName function. I want to say only use this step if the machine is not known.

    This is essentially a follow on to: http://social.technet.microsoft.com/Forums/en-US/3c6f37ad-b3dc-4219-ae7f-e6c51f05d5bf/sccm-2012-osd-retain-computer-name-on-reimage-rebuild?forum=configmanagerosd
    To my knowledge, there is nothing explicitly built-in; however, you might be able to check _SMSTSMachineName to see if it matches the default WinPE naming convention of MINNIT_* or _SMSTSClientGUID to see if it has a value.
    You could also put a task in before the format and partition step to check for an existing installation.
    Jason | http://blog.configmgrftw.com

  • SCCM 2012 - OSD Task Sequence Error 0x80091007

    When deploying the OSD to a laptop model the TS is failing, see below from Status Message Viewer:
    The task sequence execution engine failed executing the action (Apply E6220 Driver Package) in the group (PostInstall) with the error code 2148077575
    Action output: urce, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80091007 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3217)
    ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80091007 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3122)
    TS::Utility::ResolveSource( pszPackageId, sSource ), HRESULT=80091007 (e:\nts_sccm_release\sms\client\osdeployment\osddriverclient\driverinstaller.cpp,472)
    pDriverInstaller->InstallDriverPackage( sPackageId, pBootCriticalInfo ), HRESULT=80091007 (e:\nts_sccm_release\sms\client\osdeployment\osddriverclient\osddriverclient.cpp,380)
    Exiting with return code 0x80091007
    Hash could not be matched for the downloded content. Original ContentHash = EB2A940227C7043DDDCE0985EB37CBB650245F47F12ACD48C936521F5CECAFED, Downloaded ContentHash = 6F4ED0BD9ECC46712E6160BF681ED3785097D95A43652424FB97E12EB1EAF8E3
    Failed to determine the driver source location. Code 0x80091007
    Failed to provision driver. Code 0x80091007. The operating system reported error 2148077575: The hash value is not correct. 
    I have redistributed the Driver packages to the DP's but still no luck - does anyone have any idea's?
    Thanks
    MCTS | MCITP | MCSA

    Below is the whole thread from Expert-sex-change.com: 
    SCCM OS deployment error (0x80091007)
    Asked by: MoritzCSA
    We are getting Error on one of your Primary Child site when deploying a XP Install Package.
    In the Advertisment Status we are getting following errors:
    The task sequence execution engine failed executing the action
    (Apply Operating System Image) in the group () with the error code
    2148077575
    Action output: zSource, sSourceDirectory, dwFlags, hUserToken,
    pszUserName, pszUserPassword), HRESULT=80091007
    (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3130)
    ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0),
    HRESULT=80091007
    (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3031)
    TS::Utility::ResolveSource( this->packageID, this->packagePath,
    TS::Utility::ResolveSourceFlags::PersistContents ),
    HRESULT=80091007
    (e:\nts_sms_fre\sms\client\osdeployment\applyos\installscripted.cpp,
    160)
    installer.install(), HRESULT=80091007
    (e:\nts_sms_fre\sms\client\osdeployment\applyos\installscripted.cpp,
    632)
    Entering ReleaseSource() for
    C:\_SMSTaskSequence\Packages\GID00004
    The user tries to
    release a source directory
    C:\_SMSTaskSequence\Packages\GID00004 that is either already
    released or we have not connected to it InstallScripted(
    g_InstallPackageID, g_ImageIndex, targetVolume,
    g_ConfigPackageID, g_ConfigFileName ), HRESULT=80091007
    (e:\nts_sms_fre\sms\client\osdeployment\applyos\applyos.cpp,397).
    The operating system reported error 2148077575: The hash value is
    not correct.
    The task sequence execution engine aborted execution for a failure
    of the action (Apply Operating System Image) in the group (). The
    operating system reported error 2148077575: The hash value is not
    correct.
    The task sequence execution engine failed execution of a task
    sequence. The operating system reported error 2148077575: The
    hash value is not correct.
    The task sequence manager could not successfully complete
    execution of the task sequence. A failure exit code of 16389 was
    returned.
    appreciate any help
    IMAG0020.jpg
    747 KBscreenshot off error on Client Computer when deploying OS
    2010-02-05 at 04:39:43ID: 25117354TopicsMS System Center ,Deployment Software for DevelopmentParticipating Experts3Points0Comments9
    Request Attention
    Answers
    EXPERT COMMENT
    by: NJComputerNetworksPosted on 2010-02-05 at 05:29:05ID: 26494779
    1) enable f8 boot console on your boot image:  http://www.windows-noob.com/forums/index.php?/topic/546-how-can-i-troubleshoot-windows-pe-booting-in-sccm/  this will get you to a command prompt on the client
    2) look at the smsts.log for exactly why your client is failing osd:  http://blogs.technet.com/inside_osd/archive/2007/12/13/troubleshooting-tips.aspx
    3) also look at the reports for information as to why your OSD is failing:  http://blogs.technet.com/inside_osd/archive/2007/12/13/troubleshooting-tips.aspx
    AUTHOR COMMENT
    by: MoritzCSAPosted on 2010-02-05 at 05:39:33ID: 26494871
    Hi,
    Its not the Boot image what has problems. Its one single OS package as others workjust fine
    EXPERT COMMENT
    by: NJComputerNetworksPosted on 2010-02-05 at 06:01:11ID: 26495086
    lol... ok... but enabling F8 will allow you to get to the smsts.log which should contain some more information about why the single OS package is failing.
    EXPERT COMMENT
    by: JonLambertPosted on 2010-02-08 at 01:43:35ID: 26512090
    OK, it looks like (as descripted in the logs) that the Hash Value for the package GID00004 is not correct.
    I've seen this before with Boot WIMS, if GID00004 is a boot WIM package, then try creating a new Boot Wim, deploying it to the relevant DPs, assigning it to th TS and try again.
    If GID00004 is not a Boot WIM, then try updating the package, and keep an eye on DistMgr.log to ensure it get's distributed Ok.
    AUTHOR COMMENT
    by: MoritzCSAPosted on 2010-02-09 at 07:13:55ID: 26524885
    Hi have recreated the OS Install Packlage and have distributed it again to the Primary Child site. Still the same issue as for example the same OS in English is running fine. GID00004 was an OS Install Package.
    I have the log file from the F8 boot atached
    smsts-20100210-001651.log
    976 KBlog
    smsts.log
    391 KBlog2
    ADMINISTRATIVE COMMENT
    by: TheLearnedOnePosted on 2010-03-03 at 18:54:29ID: 27299334
    MoritzCSA,
    After 21 days without comment, it is time for you to finalize this old question -- accept an answer, split points, or get a refund.  Please be a responsible EE Member and maintain your open questions! Click here to see your options: http://www.experts-exchange.com/help.jsp#hi331
    EXPERTS,
    I need your help.  Please post your closing recommendations within a few days.  If you do not respond, I may need to assume that no correct answer was provided.
    TheLearnedOne
    Experts-Exchange Cleanup Volunteer
    EXPERT COMMENT
    by: JonLambertPosted on 2010-03-03 at 19:17:39ID: 27299526
    OK, now the package with an hash error is GID0002A .. which is the OS Install Package, Check the source directory for files with odd characters, or extremely long directory paths .. this can sometime cause a hash-check mismatch.
    Hash could not be matched for the downloded content. Original ContentHash = A9173DC49D149170C0F7F5526154AC4381ED0DC0, Downloaded ContentHash = 88601C0BA124401EA13790D2F318AF04CB283DD1      ApplyOperatingSystem     
    9/02/2010 3:29:21 PM      1680 (0x0690)
    ACCEPTED SOLUTION
    by: MoritzCSAPosted on 2010-03-04 at 00:23:07ID: 27300766
    I have change the OS installation to not download the package. After this change it works fine without issues.
    0
    excellent
    Save to Personal Knowledgebase
    EXPERT COMMENT
    by: DSS-RMPosted on 2010-10-17 at 07:14:56ID: 33923836
    Update the distribution points of the package that was failing. I have had this same problem and a distribution point update will fix it.

  • Create a prompt using MDT 2012 in SCCM 2012 OSD task sequence

    Hi Experts,
    I need some help with SCCM 2012 Task sequence using MDT 2012.
    Here is the scenario:I want to build a task sequence  where it will propmt whether the technican want to build a new build or refresh. Based on the technicians choice the task sequence will perform specific actions.
    We can create the prompt using HTA or VBScript or some otherways.
    But the requiremnt for us is to Use ONLY MDT 2012, not any other ways.
    Is it possible to do like the above with UDI?
    Please can someone shed some light how to do will be great.
    Thanks in advance,

    Hi,
    UDI may achieve what you want. Take a look at the blogs below.
    http://blogs.technet.com/b/anilm/archive/2012/06/01/integrating-mdt-2012-rtm-with-configuration-manager-2012-rtm-part-3-creating-and-deploying-a-udi-task-sequence.aspx
    http://heinrichandsccm.blogspot.com/2013/04/how-to-setup-and-configure-sccm-2012.html
    Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Juke Chou
    TechNet Community Support

  • SCCM OSD Task sequence variables via Powershell.

    Hi,
    I am trying to come up with a genernic function to read
    SCCM 2012 OSD task sequence variables where
    I can pass a varibale name:
    Is this the correct way of doing it below?
    Thanks,
    Ward
    # fnRead_SCCM_Variable
    function fnRead_SCCM_Variable($sccm_variable)
                $tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
                $data =  $tsenv.Value($sccm_variable)
                return $data
    $log_path = fnRead_SCCM_Variable "_SMSTSLogPath"

    That should do the trick. For a nice blog post about the usage of task sequence variables in PowerShell, see:
    http://blogs.technet.com/b/mniehaus/archive/2009/09/22/running-powershell-scripts-as-part-of-a-task-sequence.aspx
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • MDT 2010 Vista cannot finish after joining domain

    Hi,
    I have a problem with deployment process after joining domain. I am deploying Vista using MDT 2010 with LiteTouch.  Everything works fine. However, deployment process stops after joining domain. I suppose that autologon is disabled/don't work after joining domain and all following steps can't be started.
    What is wrong with my configuration or Task Sequence?
    Thanks in advance, Jan.

    Hi Jan,
    Thank you for your post.
    As you said that the deployment process stopped after joining domain, may I know if there is any error received? If so, please let me know the details.
    Meanwhile, I would like to share the following with you:
    Avoiding Legan Notice that breaks MDT autologon
    http://blogs.msdn.com/alex_semi/archive/2009/08/28/avoiding-legan-notice-that-breaks-mdt-autologon.aspx
    Thanks.
    Nicholas Li
    TechNet Subscriber Support in forum
    Nicholas Li - MSFT

  • Windows 7 not joining to domain with SCCM OSD Task sequence

    Iam having trouble with Windows 7 deployment through SCCM, where the systems dont get joined to the domain if the system name is not already present in the AD.
    If I have the system name already in AD it works fine also Iam able to join the system to the domain with the same account Iam using in SCCM TS for domain join.
    Searched around and not able to find a resolution. I checked the setupact.log and found the follwoing messages.
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Begin
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Loading input parameters...
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: AccountData = [NULL]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: UnsecureJoin = [NULL]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: MachinePassword = [secret not logged]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: JoinDomain = [xposure.com]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: JoinWorkgroup = [NULL]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Domain = [xposure]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Username = [domain.join]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Password = [secret not logged]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: MachineObjectOU = [CN=Computers,DC=Xposure,DC=com]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: DebugJoin = [NULL]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: DebugJoinOnlyOnThisError = [NULL]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Checking that auto start services have started.
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Joining domain [xposure.com]...
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Calling DsGetDcName for xposure.com...
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: DsGetDcName returned [NJYAD01.xposure.com]
    2011-01-03 21:00:31, Info                         [DJOIN.EXE] Unattended Join: Constructed domain parameter [xposure.com\NJYAD01.xposure.com]
    2011-01-03 21:00:35, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:00:40, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:00:46, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:00:51, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:00:56, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:02, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:07, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:12, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:17, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:23, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:28, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:34, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:39, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:44, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:49, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:01:55, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:00, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:05, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:10, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:16, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:21, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:26, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:32, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:37, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:42, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:48, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:53, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:02:58, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:04, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:09, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:14, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:20, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:25, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:30, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:35, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:41, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:46, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:51, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:03:56, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:02, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:07, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:12, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:17, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:23, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:28, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:33, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:39, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:44, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:49, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:04:55, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:00, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:05, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:10, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:15, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:21, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:26, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:32, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:37, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:42, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:48, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:53, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:05:58, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:04, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:09, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:14, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:20, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:25, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:30, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:35, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:41, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:46, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:51, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:06:57, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:07:02, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:07:08, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:07:13, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:07:18, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:07:24, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:07:29, Warning                      [DJOIN.EXE] Unattended Join: NetJoinDomain attempt failed: 0x2, will retry in 5 seconds...
    2011-01-03 21:07:34, Error                        [DJOIN.EXE] Unattended Join: NetJoinDomain failed error code is [2]
    2011-01-03 21:07:34, Error                        [DJOIN.EXE] Unattended Join: Unable to join; gdwError = 0x2
    2011-01-03 21:07:34, Info                         [DJOIN.EXE] Unattended Join: Exit, returning 0x0
    Any help is much appreciated. Thanks

    It is possible.  You could do this with either a script or Task Sequence steps.  If you go the TS route, use 'Set Task Sequence Variable' and set the MachineObjectOU variable equal to OU=ABC,DC=Contoso,DC=COM or whatever with the condition (on
    the Options tab for the Step) Select * from Win32_ComputerSystem WHERE Name LIKE 'ABC%' 
    And that should do it for you.
    If this post was helpful, please vote up or 'Mark as Answer'! More of this sort of thing at www.foxdeploy.com

  • SCCM's OSD (not MDT): Task sequence can be tweaked into imaging Windows+VHD Native Boot, but can it go all the way and deploy?

    Hello All,
    What I am trying to do is use SCCM's own OSD Task Sequence / Windows PE to deploy an operating system that boots using VHD Native Boot. (C:\ = VHD File  with Windows, D:\ Data drive with BCDBoot).
    MDT 2013 Can do it I've been told, but I am putting off MDT until Windows 10 if I can get away with it.
    TechNet VHD Native Boot on Windows 8.1:
    http://technet.microsoft.com/en-us/library/hh825689.aspx
    http://technet.microsoft.com/en-us/library/hh825691.aspx
    The good news is it is working up to the "Apply Operating System" phase, but that apply operating system phase is reported as an error even though it completes successfully. It can't clean up the SMSTS folder it's looking for on the C:\ because
    it's been moved over to the D:\ by a diskpart script. We are left with the deployment working but requiring IT staff to deal with the OOBE Personalization wizard and adding each PC to the domain manually. From that point on the SCCM client can do the rest,
    which works for US before we upgrade to Windows 10 with utilizing MDT.
    I am not talking about deploying an OS to a VHD file and putting that file on a network share i.e.
    http://blogs.technet.com/b/configurationmgr/archive/2013/10/31/new-in-system-center-2012-r2-configuration-manager-deploying-an-operating-system-to-a-virtual-hard-drive-vhd.aspx
    I reported getting the diskpart script working first here:
    https://social.technet.microsoft.com/Forums/en-US/ff124f09-1d2e-4fc4-a5b6-63b683f3d208/native-vhd-boot-deployments-from-sccm-2012-r2?forum=configmanagerosd
    Here it is:
    rem work around any USB disk left in or any CDROM detected by PE as drive D
    select volume D
    assign letter=F noerr
    rem select the formatted volume and reassign it's drive letter
    select volume C
    assign letter=D
    rem create and setup VHD file
    create vdisk file=D:\DEV_WIN81.VHD maximum=250000 type=expandable
    select vdisk file=D:\DEV_WIN81.VHD
    attach vdisk
    create partition primary
    active
    format FS=NTFS quick label="Developer Win81 VHD"
    assign letter=C
    rescan
    exit
    (type=fixed is better for performance - we'll surely activate when we have dual boot 8.1 / Windows 10 later for the Win10 VHD's)
    The Task Sequence looks like this:
    I'd like to add a few more steps after apply operating system if I can, but I have to resolve this error with "Apply Operating system before I can go further."
    Question:
    Can an OSD guru tell me if there are any Task Sequence Variables we could throw at this to make the Apply Operating System sequence complete without error so we can do all SCCM OSD Deployment steps?
    If we can, then someone (not me) gets to add a new TechNet blog post about this being possible. It's my understanding presently that only MDT can support deploying WIM files into VHDs on Workstations, that boot them.
    The install image was created using dism to convert a VHD from a Hyper-V host into a wim. I know I'm meant to use SCCM to capture it, but I don't think that's causing this problem because when we are deploying from that image to a HDD without VHD we don't
    get any issues.
    I'm only allowed enough characters to paste the tail end of the apply operating system phase only:
    <![LOG[Execution engine result code: Success (0)]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:929">
    <![LOG[Cleaning Up.]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:675">
    <![LOG[Removing Authenticator]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:686">
    <![LOG[shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1660)]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="ccmutillib.cpp:1660">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:2329">
    <![LOG[Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="ccmfile.cpp:1056">
    <![LOG[hr, HRESULT=80070091 (e:\nts_sccm_release\sms\framework\core\ccmcore\ccmfile.cpp,1218)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="ccmfile.cpp:1218">
    <![LOG[Failed to delete directory 'C:\_SMSTaskSequence']LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="ccmfile.cpp:1218">
    <![LOG[(dwRet = ::SetNamedSecurityInfoW ((WCHAR*) pszObjectName, objectType, OWNER_SECURITY_INFORMATION, pOwnerSID, NULL, NULL, NULL)) == ERROR_SUCCESS, HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,6675)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:6675">
    <![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6675">
    <![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6687">
    <![LOG[SetObjectOwner (szFName, SE_FILE_OBJECT, c_szAdministrators), HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,6772)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:6772">
    <![LOG[RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6816">
    <![LOG[RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:6900">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="resolvesource.cpp:506">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="resolvesource.cpp:508">
    <![LOG[Deleting volume ID file D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="resolvesource.cpp:506">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="resolvesource.cpp:508">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="environmentlib.cpp:910">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="commandline.cpp:228">
    <![LOG[Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="commandline.cpp:731">
    <![LOG[Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="commandline.cpp:827">
    <![LOG[==========[ TsProgressUI started in process 8012 ]==========]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:330">
    <![LOG[Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="0" thread="8040" file="winmain.cpp:332">
    <![LOG[Unregistering COM classes]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:204">
    <![LOG[Unregistering class objects]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:495">
    <![LOG[Shutdown complete.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:512">
    <![LOG[Process completed with exit code 0]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="commandline.cpp:1123">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:2903">
    <![LOG[Sending success status message]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:784">
    <![LOG[MP server http://OUR-SCCM.ourcompany.com. Ports 80,443. CRL=false.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:5881">
    <![LOG[Setting authenticator]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:5903">
    <![LOG[Set authenticator in transport]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:7734">
    <![LOG[Sending StatusMessage]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="libsmsmessaging.cpp:4023">
    <![LOG[Setting message signatures.]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:1295">
    <![LOG[Setting the authenticator.]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:1325">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: OUR-SCCM.ourcompany.com:80 CCM_POST /ccm_system/request]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="libsmsmessaging.cpp:8604">
    <![LOG[Request was successful.]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:8939">
    <![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811)]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:811">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:811">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:842">
    <![LOG[End program: ]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:805">
    <![LOG[Finalize logging request ignored from process 856]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tslogging.cpp:1737">
    <![LOG[Process completed with exit code 0]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="commandline.cpp:1123">
    <![LOG[Task Sequence Manager returned code 0x00000000]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="tsmediawizardcontrol.cpp:2180">
    <![LOG[Exiting with return code 0x00000000]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="tsmbootstrap.cpp:1238">
    <![LOG[Execution complete.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="bootshell.cpp:693">
    <![LOG[hMap != 0, HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentscope.cpp:493">
    <![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentlib.cpp:335">
    <![LOG[this->open(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,553)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentlib.cpp:553">
    <![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="utils.cpp:811">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="2" thread="760" file="utils.cpp:811">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="2" thread="760" file="utils.cpp:842">
    <![LOG[End program: ]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="bootshell.cpp:725">
    <![LOG[Finalizing logging from process 752]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1741">
    <![LOG[Finalizing logs to root of first available drive]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1583">
    <![LOG[Successfully finalized logs to D:\SMSTSLog]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1640">
    <![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="tslogging.cpp:584">
    MCSE,MCNE,SCO,Sair Linux/GNU, Open source-enthusiast.

    I have already set it to FALSE. The solution to this will be some different OSD Task Sequence variables or a statement that it can't be made to work.
    I believe that setting defines what volume will be the BOOT / OS Drive Letter. Some people were getting D:\WINDOWS as their boot volume drive letter. Setting to true means whatever was the System Drive letter (usually C) in the image will remain as such
    after it was was applied, setting it to false will make the system have the same drive letter arrangement as what Windows PE detects. In my case I set it to false so that no matter what the new VHD file setup as drive C will be the system drive. I'll set it
    to true on the next deployment but I expect there to be no difference, because in both PE and the WIM the installation volume is the C:.
    We are talking about the DRIVE LETTERS Windows PE SCCM OSD is using for it's temporary files - and how we can manipulate these locations using OSD Task Sequence Variables, so the Apply OS doesn't try and clean up files that are not there
    - and fail with an error if you have added a VHD Native Boot volume.
    This OSDPreserveDriveLetter setting isn't having any effect on the problem here.
    I believe that Format step is setting some task variables used by the OSD Deployment process - telling it where to store it's temporary files. However between the Format Disks and Apply operating system steps the OSD Task Sequence isn't picking up on the
    fact what was the C:\ after Format HDD step is now the D:\ .
    A developer who has an understanding of how the OSD boot process executes in order would be able to see what's going on here.
    MCSE,MCNE,SCO,Sair Linux/GNU, Open source-enthusiast.

  • OSD task sequence computer doesn't join domain - error NetJoinDomain failed error code is [1355]

    I am using sccm 2012R2 and trying to deploy a task sequence to Ultrabook UEFI with usb Ethernet adaptor
    I have inject network drivers in boot image and in sccm.
    Task sequence runs fine till Setup Windows and Configuration. After this step computer reboots and boots in windows with local administrator account. Doesn't join to domain
    I have tried ping domain and domain controller during Apply network Settings, I can ping fine and get an ip address as well.
    setuperr.log file shows following error:
    [Djoin.exe] Unattented Join: NetJoinDomain failed error code is [1355]
    I can image other computer using x86 bootimage fine.
    It is x64 boot image with UEFI Task sequence which is causing issues for me.
    I have tested domain join AD account and able to do domain join same machine manually.
    Need advise, not getting anywhere, already spend few days to figure out.
    RJ
    RJ09

    Ultrabook I am using have SSD if this could be part of problem.
    I also see errors in Panther\UnattendGC\setupact.log 
    [DJOIN.EXE] Unattend Join: DebugJoinOnlyOnThisError =[Null]
    [DJOIN.EXE] Unattend Join:DsGetDcName failed: 0x54b, last error 0x0, will retry in 5 seconds
    [DJOIN.EXE] Unattend Join:DsGetDcName failed: 0x54b, last error 0x0, will retry in 5 seconds
    About 20 times
    Exit, returning 0x0
    RJ09

  • OSD Task Sequence: Domain Join by Name

    I currently have a problem with my OSD Task Sequence for Windows Server 2012 R2.
    I have mutliple "Apply Network Settings" Steps, which joins the server into different OUs. For the determination i use a WMI Query: select * from Win32_ComputerSystem where Name like "DC%"
    That works for my Server 2008 R2 Task Sequence like a charms, but when i run it with a 2012 R2 Image, all steps are evaluated as false.
    Is there a better way (option) to check if the current system name begins with a defined string?
    Thanks in advance

    Can you post the relevant snippet of the smsts.log please?
    Where in the TS are you placing these tasks?
    During WinPE, the name of the system will be MININT-xyz and so using the value in WMI is not really ever going to work? Are you sure it's doing what you need in the 2008 R2 TS?
    During PE, you need to check the OSDComputerName task sequence variable name although that really depends upon how you are setting the computer name.
    Jason | http://blog.configmgrftw.com

  • UDI OSD Task Sequences started failing with 0x80070002 error in SCCM 2012

    This is kind of long, but here goes...
    We built a UDI task sequence in SCCM 2012 (with MDT integration) that we were testing for deployment of a couple of different Win7 images.  We customized the UDI experience thru the UDI wizard and XML file and OS deployment worked as expected
    thru the task sequence (testing on Hyper-V VMs). Recently, this UDI TS started failing with error 0x80070002  during what appears to be the "Use Toolkit Package" step.  This is after the OS image has already been laid down and after the ConfigMgr
    client has been installed/configured.  The SMSTS.log reports "Failed to open the task sequence key HKLM\Software\Microsoft\SMS\Task Sequence.  Error code 0x8007002"  Among other errors...I will post the entire log below...
    After the error during deployment, Win7 will boot normally, however, you have no network connectivity and it appears the proper network driver didn't get loaded in the OS. Combine this with the fact that the TS should have joined the machine to our domain,
    but you can't login because no network.. Im not sure if the network issue is a product of the TS failing early or the actual cause of the TS failure. 
    Anyway, I attempted to build another UDI task sequence using the same boot image and toolkit/settings packages, but am experiencing the same error during deployment.  We have a few OSD task sequences built without UDI and those all still work just fine. 
    So, I am at a loss for where the root problem lies.  Any suggestions or assistance would be greatly appreciated.
    Here is the entire SMSTS.log and BDD.log...
    https://skydrive.live.com/redir?resid=D65B1C4362892A26!110&authkey=!AKu5mOvDsXaEgvc
    Thanks
    Richie Tenhet

    your failure does appear to be network (driver or otherwise) or dns related and it cannot contact the management point FQDN just around the time where it should download and execute the
    Use Toolkit Package step...
    "Starting Task Sequence Engine . . . "
    "Non fatal error 0x80072ee7 in sending task sequence execution status message to MP"
    "Start executing an instruciton. Instruction name: Use Toolkit Package. Instruction pointer: 83"
    "unknown host (gethostbyname failed)"
    "sending with winhttp failed; 80072ee7"
    "Tried all the available http based locations. SMB based locations will be attempted now."
    "Failed to resolve the source for SMS PKGID=P0100015, hr=0x80070002"
    "Failed to run the action: Use Toolkit Package.
    The system cannot find the file specified. (Error: 80070002; Source: Windows)"
    that said, check that the package referenced above actually exists and is the correct source version on your distribution points, also verify (press F8 and check can you ping the FQDN of your management point) that you have network connectivity
    around the time of the failure.
    Step by Step Configuration Manager Guides >
    2012 Guides |
    2007 Guides | I'm on Twitter > ncbrady

  • Trying to use Variables with the Unknown Computer collection to prompt Task Sequence for Domain, Join Account, Join Password, and Join Location.

    I want to use SCCM 2012 R2 and OSD, to boot a bare metal machine, install and OS, and bind it to Active Directory. The catch is that I want the deployment process in SCCM to prompt for the following pieces of information, and then use that information to
    bind the computer to Active Directory (W/O using MDT) instead of supply the data in the task sequence.
    Computer Name
    Domain
    Domain OU
    Domain Join Account
    I am approaching this in a similar fashion as stated in this blog.
    http://osdblog.com/2013/06/26/add-a-prompt-for-a-computer-name-in-your-sccm-deployment/
    I have added the following collection variables to the unknown computers collection:
    When I launch the task sequence, I am prompted as I would expect. I input the desired information, the deployment competes, but it does not bind to the domain.  Here is what my TS looks like. I intentally disabbled  the apply Network Settings step
    because it forces you to enter specific information if it enabled. I don't want to that, thus why I am trying to use the variables.
    My SMSTS log does not have a whole lot of meaningfull data, but I can post it if someone wants to see it. The only possible thing I could think of would be drivers, their are some driver errors in the log. However, if I turn on the Apply Networking setting
    process in the task sequence and turn off the variables, the machines bind fine. With that in mind, I would not think my problem would be driver related. Anyone out there have expertise in using a process like this, that could assist?
    --Tony

    Awesome! Thanks. One more thing, how should I supply the OSDJoinPassword variable? Should I just enter %OSDJoinPassword%
    for Password and Confirm Password? I can not tell if it will actually read it as a variable or try to use "%OSDJoinPassword%" for
    the actual password.
    --Tony

  • SCCM 2007 OSD to add computer account to domain

    Running SCCM 2007 R2 OSD to add computer account to domain has always been working, until recently after I added Intel 217/218 NIC drivers to the PE boot image.
    The task sequence "Apply Network Settings" runs successfully though. It broke other TS steps too, such as enabling BitLocker, because, I guess, if the computer is not domain-joined, it won't be able to write recovery key to AD. I can use the same
    network account to manually add the computer to domain. This doesn't seem to be a network issue, because the NIC drivers are applied, and software installation in the TS runs with no issue.
    Here's the deployment log:
    ==============================[ OSDNetSettings.exe ]===========================
    Command line: "osdnetsettings.exe" configure Setting %SystemRoot% to "D:\Windows"
    Loading existing answer file "D:\Windows\panther\unattend\unattend.xml"
    Configuring global network settings
    Join type: 0 Joining domain: MyDomainName
    Getting namespace "Microsoft-Windows-UnattendedJoin" for architecture "amd64"
    DNS domain:  DNS domain search order:  IP filter sec enabled: false
    No adapters found in environment. 
    Performing global configuration only.
    Writing configuration information to D:\Windows\panther\unattend\unattend.xml
    Successfully saved configuration information to D:\Windows\panther\unattend\unattend.xml
    Configuring "OSDNetSettings.exe finalize" to run on first boot OSDNetSettings
    finished: 0x00000000
    Thanks and regards.

    Running SCCM 2007 R2 OSD to add computer account to domain has always been working, until recently after I added Intel 217/218 NIC drivers to the PE boot image.
    The task sequence "Apply Network Settings" runs successfully though. It broke other TS steps too, such as enabling BitLocker, because, I guess, if the computer is not domain-joined, it won't be able to write recovery key to AD. I can use the same
    network account to manually add the computer to domain. This doesn't seem to be a network issue, because the NIC drivers are applied, and software installation in the TS runs with no issue.
    Here's the deployment log:
    ==============================[ OSDNetSettings.exe ]===========================
    Command line: "osdnetsettings.exe" configure Setting %SystemRoot% to "D:\Windows"
    Loading existing answer file "D:\Windows\panther\unattend\unattend.xml"
    Configuring global network settings
    Join type: 0 Joining domain: MyDomainName
    Getting namespace "Microsoft-Windows-UnattendedJoin" for architecture "amd64"
    DNS domain:  DNS domain search order:  IP filter sec enabled: false
    No adapters found in environment. 
    Performing global configuration only.
    Writing configuration information to D:\Windows\panther\unattend\unattend.xml
    Successfully saved configuration information to D:\Windows\panther\unattend\unattend.xml
    Configuring "OSDNetSettings.exe finalize" to run on first boot OSDNetSettings
    finished: 0x00000000
    Thanks and regards.

Maybe you are looking for

  • Help with ipod video, screen doesn't work

    My ipod started acting weird when I updated the ipod software. My screen will freeze, but it's not black or white, it shows the "Do not disconect" sign but with a bunch of little color squares all over the screen. I've tried everything, restore it, r

  • Privacy tab in safari 5.1 preferences is empty.

    This is a screen shot of what I see when I open the privacy tab in safari preferences. Any reasons for this? Help!!!

  • There are hidden pages in the PDF form I have.  How can I see and print all without clicking on the

    I have hidden pages in the PDF form I'm using (but didn't create).  How can I see and print all the pages at once without clicking on the "next page" button.  In the initial view, there are four pages, but if I click the "next page" button, there are

  • BW BPS in NW 2004s

    Hi Experts We are using the BW BPS not BI IP functionality available in NW2004s version of BW system. I just want to know to what extent I can leverage(use) the addition functionality available for FOX, locking functionality and variable mapping I ca

  • Rating Versions, and then finding them

    I have been trying to rate a given version of a photo with 5 stars, and then find it at a later date by searching in the library for all photos with a rating of "5 stars", however unless I rate both the master image AND the version that I like as "5