Skip to content

Apply Network Settings Not Working SCCM R2

Featured Replies

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

  • Author

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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.