boozecow Posted August 20, 2010 Report post Posted August 20, 2010 I'm new and I successfuly create a reference image following guides from this forum. I'm trying to deploy this reference image and the only task none working for me is the task "Apply Network Settings" Here the resume of my Task sequence: Install Operating System -. Restart in Windows PE -. Partition Disk -. Apply Operating System -. Apply Windows Settings -. Apply Device Drivers Setup Operating System -. Setup windows and configMgr -. Apply Network Settings At the end, my PC are not in the domain and on the smsts.log I have: Successfully complete the action (Apply Network Settings) with the exit win32 code 0 So doens't looks like to have any usefull error I can work on. The task Apply Network Settings is really basic: Join a domain: Domain: Mydomain.ca Domain OU: LDAP://CN=Computers,DC=Mydomain,DC=ca Any hint for me where I can work in to make this working ? Thanks in advance for any help ! smsts.txt Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted August 20, 2010 Report post Posted August 20, 2010 When the machine has to come in to the default Computers container, then don't select and OU at all. Quote Share this post Link to post Share on other sites More sharing options...
0 boozecow Posted August 20, 2010 Report post Posted August 20, 2010 Finaly, I'm using a VBScript and running it as a task sequence. Working nice. It's not perfect because I'm now having a password in clear text inside a file but at least I'm now having a work around. Const JOIN_DOMAIN = 1 Const ACCT_CREATE = 2 Const ACCT_DELETE = 4 Const WIN9X_UPGRADE = 16 Const DOMAIN_JOIN_IF_JOINED = 32 Const JOIN_UNSECURE = 64 Const MACHINE_PASSWORD_PASSED = 128 Const DEFERRED_SPN_SET = 256 Const INSTALL_INVOCATION = 262144 strDomain = "Domain.CA" strPassword = "Passw0rd" strUser = "User" Set objNetwork = CreateObject("WScript.Network") strComputer = objNetwork.ComputerName Set objComputer = GetObject("winmgmts:{impersonationLevel=Impersonate}!\\" & _ strComputer & "\root\cimv2:Win32_ComputerSystem.Name='" & _ strComputer & "'") ReturnValue = objComputer.JoinDomainOrWorkGroup(strDomain, _ strPassword, strDomain & "\" & strUser, NULL, _ JOIN_DOMAIN + ACCT_CREATE) Quote Share this post Link to post Share on other sites More sharing options...
I'm new and I successfuly create a reference image following guides from this forum.
I'm trying to deploy this reference image and the only task none working for me is the task "Apply Network Settings"
Here the resume of my Task sequence:
Install Operating System
-. Restart in Windows PE
-. Partition Disk
-. Apply Operating System
-. Apply Windows Settings
-. Apply Device Drivers
Setup Operating System
-. Setup windows and configMgr
-. Apply Network Settings
At the end, my PC are not in the domain and on the smsts.log I have:
Successfully complete the action (Apply Network Settings) with the exit win32 code 0
So doens't looks like to have any usefull error I can work on.
The task Apply Network Settings is really basic:
Join a domain:
Domain: Mydomain.ca
Domain OU: LDAP://CN=Computers,DC=Mydomain,DC=ca
Any hint for me where I can work in to make this working ?
Thanks in advance for any help !
smsts.txt
Share this post
Link to post
Share on other sites