Domain Join to a specific OU based on Computer Name - ConfigMgr 2012 R2 / MDT 2013
Hi all
i need to build an OS deployment task sequence with ConfigMgr 2012 R2 and MDT 2013. my requirement is to be able to join a computer based on its computer name. there are three types of computers. Sales / Marketing and Technical. based on the prefix of the
computer name i need to place them on 3 different OUs. Computer Names would be SAL1100, MKT1100 or TEC1100, i would like to refer first three characters of the computer name and the decided on which OU they need to be allocated to.
i would appreciate if someone could tell me how i can do this within my task sequence
I don't think you can accomplish this by using conditions. Instead I'd use the script that Jörgen provided. Here's an edit of that so that it would suit your environment requirements of the first 3 characters of the OSDComputerName:
set env = CreateObject("Microsoft.SMS.TSEnvironment")
sComputerName = env("OSDComputerName")
threeChars = UCase(Left(sComputerName,3))
sBuiltOU = "NOT_set!"
If threeChars = "ABC" Then
sBuiltOU = "LDAP://OU=ABC,OU=Computers,DC=DOMAIN,DC=COM"
If threeChars = "DEF" Then
sBuiltOU = "LDAP://OU=DEF,OU=Computers,DC=DOMAIN,DC=COM"
If threeChars = "GHI" Then
sBuiltOU = "LDAP://OU=GHI,OU=Computers,DC=DOMAIN,DC=COM"
env("OSDDomainOUName") = sBuiltOU
Wscript.quit
Save this as 'SetOU.vbs' and create a package in ConfigMgr where you specify the source content to the location where you placed the script file. As Jason described, put a Run Command Line step right before Apply Windows Settings, use 'cscript.exe SetOU.vbs'
as the command line and point to the package you created. This script assumes that the OSDComputerName variable is already properly populated with the correct computer name.
Regards,
Nickolaj Andersen | www.scconfigmgr.com | @Nickolaja
Similar Messages
-
Domain Join Issue during Task Sequence
SCCM 2012 R2 CU3 running Primary Site.
Using SCCM task sequence. Everything works except the machine won't join the domain.
Netsetup.log
12/20/2013 10:17:01:583 NetpDomainJoinLicensingCheck: ulLicenseValue=1, Status: 0x0
12/20/2013 10:17:01:583 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 10:17:01:583 NetpMachineValidToJoin: status: 0x0
12/20/2013 10:17:01:583 NetpJoinDomain
12/20/2013 10:17:01:583 Machine: 243WIN7BASETST
12/20/2013 10:17:01:583 Domain: judicial
12/20/2013 10:17:01:583 MachineAccountOU: (NULL)
12/20/2013 10:17:01:583 Account: judicial\pcsetup2
12/20/2013 10:17:01:583 Options: 0x27
12/20/2013 10:17:01:583 NetpLoadParameters: loading registry parameters...
12/20/2013 10:17:01:583 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
12/20/2013 10:17:01:583 NetpLoadParameters: DomainCompatibilityMode not found, defaulting to '0' 0x2
12/20/2013 10:17:01:583 NetpLoadParameters: status: 0x2
12/20/2013 10:17:01:583 NetpValidateName: checking to see if 'judicial' is valid as type 3 name
12/20/2013 10:17:01:692 NetpCheckDomainNameIsValid [ Exists ] for 'judicial' returned 0x0
12/20/2013 10:17:01:692 NetpValidateName: name 'judicial' is valid for type 3
12/20/2013 10:17:01:692 NetpDsGetDcName: trying to find DC in domain 'judicial', flags: 0x40001010
12/20/2013 10:17:16:699 NetpDsGetDcName: failed to find a DC having account '243WIN7BASETST$': 0x525, last error is 0x0
12/20/2013 10:17:16:699 NetpLoadParameters: loading registry parameters...
12/20/2013 10:17:16:699 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
12/20/2013 10:17:16:699 NetpLoadParameters: DomainCompatibilityMode not found, defaulting to '0' 0x2
12/20/2013 10:17:16:699 NetpLoadParameters: status: 0x2
12/20/2013 10:17:16:699 NetpDsGetDcName: status of verifying DNS A record name resolution for 'ATREYU1V-PII.jis.state.ct.us': 0x0
12/20/2013 10:17:16:699 NetpDsGetDcName: found DC '\\ATREYU1V-PII.jis.state.ct.us' in the specified domain
12/20/2013 10:17:16:699 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
12/20/2013 10:17:16:746 NetpJoinDomain: status of connecting to dc '\\ATREYU1V-PII.jis.state.ct.us': 0x0
12/20/2013 10:17:16:746 NetpProvisionComputerAccount:
12/20/2013 10:17:16:746 lpDomain: judicial
12/20/2013 10:17:16:746 lpMachineName: 243WIN7BASETST
12/20/2013 10:17:16:746 lpMachineAccountOU: (NULL)
12/20/2013 10:17:16:746 lpDcName: ATREYU1V-PII.jis.state.ct.us
12/20/2013 10:17:16:746 lpDnsHostName: (NULL)
12/20/2013 10:17:16:746 lpMachinePassword: (null)
12/20/2013 10:17:16:746 lpAccount: judicial\pcsetup2
12/20/2013 10:17:16:746 lpPassword: (non-null)
12/20/2013 10:17:16:746 dwJoinOptions: 0x27
12/20/2013 10:17:16:746 dwOptions: 0x40000003
12/20/2013 10:17:16:746 NetpLdapBind: Verified minimum encryption strength on ATREYU1V-PII.jis.state.ct.us: 0x0
12/20/2013 10:17:16:746 NetpLdapGetLsaPrimaryDomain: reading domain data
12/20/2013 10:17:16:746 NetpGetNCData: Reading NC data
12/20/2013 10:17:16:746 NetpGetDomainData: Lookup domain data for: DC=jis,DC=state,DC=ct,DC=us
12/20/2013 10:17:16:746 NetpGetDomainData: Lookup crossref data for: CN=Partitions,CN=Configuration,DC=jis,DC=state,DC=ct,DC=us
12/20/2013 10:17:16:746 NetpLdapGetLsaPrimaryDomain: result of retrieving domain data: 0x0
12/20/2013 10:17:16:761 NetpGetComputerObjectDn: Cracking DNS domain name jis.state.ct.us/ into Netbios on
\\ATREYU1V-PII.jis.state.ct.us
12/20/2013 10:17:16:761 NetpGetComputerObjectDn: Crack results: name = JUDICIAL\
12/20/2013 10:17:16:761 NetpGetComputerObjectDn: Cracking account name JUDICIAL\243WIN7BASETST$ on
\\ATREYU1V-PII.jis.state.ct.us
12/20/2013 10:17:16:761 NetpGetComputerObjectDn: Crack results: Account does not exist
12/20/2013 10:17:16:761 NetpGetComputerObjectDn: Cracking Netbios domain name JUDICIAL\ into root DN on
\\ATREYU1V-PII.jis.state.ct.us
12/20/2013 10:17:16:761 NetpGetComputerObjectDn: Crack results: name = DC=jis,DC=state,DC=ct,DC=us
12/20/2013 10:17:16:761 NetpGetComputerObjectDn: Got DN CN=243WIN7BASETST,OU=JB New Computers,DC=jis,DC=state,DC=ct,DC=us from the default computer container
12/20/2013 10:17:16:761 NetpModifyComputerObjectInDs: Initial attribute values:
12/20/2013 10:17:16:761 objectClass = Computer
12/20/2013 10:17:16:761 SamAccountName = 243WIN7BASETST$
12/20/2013 10:17:16:761 userAccountControl = 0x1000
12/20/2013 10:17:16:761 DnsHostName = 243WIN7BASETST.jis.state.ct.us
12/20/2013 10:17:16:761 ServicePrincipalName = HOST/243WIN7BASETST.jis.state.ct.us RestrictedKrbHost/243WIN7BASETST.jis.state.ct.us HOST/243WIN7BASETST RestrictedKrbHost/243WIN7BASETST
12/20/2013 10:17:16:761 unicodePwd = <SomePassword>
12/20/2013 10:17:16:761 NetpModifyComputerObjectInDs: Computer Object does not exist in OU
12/20/2013 10:17:16:761 NetpModifyComputerObjectInDs: Attribute values to set:
12/20/2013 10:17:16:761 objectClass = Computer
12/20/2013 10:17:16:761 SamAccountName = 243WIN7BASETST$
12/20/2013 10:17:16:761 userAccountControl = 0x1000
12/20/2013 10:17:16:761 DnsHostName = 243WIN7BASETST.jis.state.ct.us
12/20/2013 10:17:16:761 ServicePrincipalName = HOST/243WIN7BASETST.jis.state.ct.us RestrictedKrbHost/243WIN7BASETST.jis.state.ct.us HOST/243WIN7BASETST RestrictedKrbHost/243WIN7BASETST
12/20/2013 10:17:16:761 unicodePwd = <SomePassword>
12/20/2013 10:17:16:886 NetpEncodeProvisioningBlob: Encoding provisioning data
12/20/2013 10:17:16:886 NetpInitBlobWin7: Constructing blob...
12/20/2013 10:17:16:886 Blob version: 1
12/20/2013 10:17:16:886 lpDomain: judicial
12/20/2013 10:17:16:886 lpMachineName: 243WIN7BASETST
12/20/2013 10:17:16:886 lpMachinePassword: <omitted from log>
12/20/2013 10:17:16:886 DomainDnsPolicy:
12/20/2013 10:17:16:886 Name: JUDICIAL
12/20/2013 10:17:16:886 DnsDomainName: jis.state.ct.us
12/20/2013 10:17:16:886 DnsForestName: jis.state.ct.us
12/20/2013 10:17:16:886 DomainGuid: 8108ed1e-d08f-40a0-8089-598b7f58e1e7
12/20/2013 10:17:16:886 Sid: S-1-5-21-1552756269-800212831-618671499
12/20/2013 10:17:16:886 DcInfo:
12/20/2013 10:17:16:886 DomainControllerName:
\\ATREYU1V-PII.jis.state.ct.us
12/20/2013 10:17:16:886 DomainControllerAddress:
\\10.16.6.99
12/20/2013 10:17:16:886 DomainControllerAddressType: 1
12/20/2013 10:17:16:886 DomainGuid: 8108ed1e-d08f-40a0-8089-598b7f58e1e7
12/20/2013 10:17:16:886 DomainName: jis.state.ct.us
12/20/2013 10:17:16:886 DnsForestName: jis.state.ct.us
12/20/2013 10:17:16:886 Flags: 0xe00031fc
12/20/2013 10:17:16:886 DcSiteName: Judicial-Data-Centers
12/20/2013 10:17:16:886 ClientSiteName: EHFD-99ERiver
12/20/2013 10:17:16:886 Options: 0x40000003
12/20/2013 10:17:16:886 NetpInitBlobWin7: Blob pickling result: 0
12/20/2013 10:17:16:886 NetpEncodeProvisioningBlob: result: 0x0
12/20/2013 10:17:16:886 ldap_unbind status: 0x0
12/20/2013 10:17:16:886 NetpRequestOfflineDomainJoin:
12/20/2013 10:17:16:886 dwProvisionBinDataSize: 960
12/20/2013 10:17:16:886 JoinOptions: 0x27
12/20/2013 10:17:16:886 Options: 0x40000003
12/20/2013 10:17:16:886 lpWindowsPath: C:\Windows
12/20/2013 10:17:16:886 NetpDecodeProvisioningBlob: Unpickling provisioning blob with size 960 bytes
12/20/2013 10:17:16:886 NetpDecodeProvisioningBlob: Searching 1 blobs for supported ODJ blob, highest supported version: 1
12/20/2013 10:17:16:886 NetpDecodeProvisioningBlob: Found ODJ blob version: 1
12/20/2013 10:17:16:886 NetpDecodeProvisioningBlob: Selected ODJ blob version: 1
12/20/2013 10:17:16:886 Blob version: 1
12/20/2013 10:17:16:886 lpDomain: judicial
12/20/2013 10:17:16:886 lpMachineName: 243WIN7BASETST
12/20/2013 10:17:16:886 lpMachinePassword: <omitted from log>
12/20/2013 10:17:16:886 DomainDnsPolicy:
12/20/2013 10:17:16:886 Name: JUDICIAL
12/20/2013 10:17:16:886 DnsDomainName: jis.state.ct.us
12/20/2013 10:17:16:886 DnsForestName: jis.state.ct.us
12/20/2013 10:17:16:886 DomainGuid: 8108ed1e-d08f-40a0-8089-598b7f58e1e7
12/20/2013 10:17:16:886 Sid: S-1-5-21-1552756269-800212831-618671499
12/20/2013 10:17:16:886 DcInfo:
12/20/2013 10:17:16:886 DomainControllerName:
\\ATREYU1V-PII.jis.state.ct.us
12/20/2013 10:17:16:886 DomainControllerAddress:
\\10.16.6.99
12/20/2013 10:17:16:886 DomainControllerAddressType: 1
12/20/2013 10:17:16:886 DomainGuid: 8108ed1e-d08f-40a0-8089-598b7f58e1e7
12/20/2013 10:17:16:886 DomainName: jis.state.ct.us
12/20/2013 10:17:16:886 DnsForestName: jis.state.ct.us
12/20/2013 10:17:16:886 Flags: 0xe00031fc
12/20/2013 10:17:16:886 DcSiteName: Judicial-Data-Centers
12/20/2013 10:17:16:886 ClientSiteName: EHFD-99ERiver
12/20/2013 10:17:16:886 Options: 0x40000003
12/20/2013 10:17:16:886 NetpDoInitiateOfflineDomainJoin
12/20/2013 10:17:16:886 NetpDoInitiateOfflineDomainJoin: Setting backup/restore privileges
12/20/2013 10:17:16:902 NetpInitiateOfflineJoin
12/20/2013 10:17:16:902 lpLocalRegistryPath: C:\Windows\system32\config\SYSTEM
12/20/2013 10:17:16:902 dwOptions: 0x40000003
12/20/2013 10:17:16:902 NetpConvertBlobToJoinState: Translating provisioning data to internal format
12/20/2013 10:17:16:902 NetpConvertBlobToJoinState: Selecting version 1
12/20/2013 10:17:16:902 NetpConvertBlobToJoinState: exiting: 0x0
12/20/2013 10:17:16:902 NetpValidateFullJoinState: Validating provisioning data...
12/20/2013 10:17:16:902 NetpValidateFullJoinState: exiting: 0x0
12/20/2013 10:17:16:902 NetpClearFullJoinState: Removing cached state from the registry...
12/20/2013 10:17:16:902 NetpClearFullJoinState: Status of deleting join state key 0x2
12/20/2013 10:17:16:902 NetpSaveFullJoinStateInternal: Injecting provisioning data into image...
12/20/2013 10:17:16:902 NetpSaveFullJoinStateInternal: exiting: 0x0
12/20/2013 10:17:16:902 NetpSetComputerNamesOffline: Checking for pending name changes...
12/20/2013 10:17:16:902 SetHostName: TRUE
12/20/2013 10:17:16:902 SetDnsDomain: TRUE
12/20/2013 10:17:16:902 SetNetBiosName: TRUE
12/20/2013 10:17:16:902 SetCurrentValues: TRUE
12/20/2013 10:17:16:902 NetpSetComputerNamesOffline: Setting Hostname to 243WIN7BASETST
12/20/2013 10:17:16:902 NetpSetComputerNamesOffline: Setting Domain name to jis.state.ct.us
12/20/2013 10:17:16:902 NetpSetComputerNamesOffline: Setting NetBios computer name to 243WIN7BASETST
12/20/2013 10:17:16:917 NetpDoInitiateOfflineDomainJoin: status: 0x0
12/20/2013 10:17:16:917 NetRequestOfflineDomainJoin: Successfully initiated the offline domain join
12/20/2013 10:17:16:917 NetpJoinDomainOnDs: Setting netlogon cache.
12/20/2013 10:17:16:917 NetpJoinDomainOnDs: status of setting netlogon cache: 0x0
12/20/2013 10:17:16:917 NetpJoinDomainOnDs: Function exits with status of: 0x0
12/20/2013 10:17:16:917 NetpJoinDomainOnDs: status of disconnecting from '\\ATREYU1V-PII.jis.state.ct.us': 0x0
12/20/2013 10:17:16:917 NetpCompleteOfflineDomainJoin
12/20/2013 10:17:16:917 fBootTimeCaller: FALSE
12/20/2013 10:17:16:917 fSetLocalGroups: TRUE
12/20/2013 10:17:16:917 NetpLsaOpenSecret: status: 0xc0000034
12/20/2013 10:17:16:917 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 10:17:16:917 NetpJoinDomainLocal: NetpHandleJoinedStateInfo returned: 0x0
12/20/2013 10:17:16:917 NetpLsaOpenSecret: status: 0xc0000034
12/20/2013 10:17:17:292 NetpJoinDomainLocal: NetpManageMachineSecret returned: 0x0.
12/20/2013 10:17:17:292 Calling NetpQueryService to get Netlogon service state.
12/20/2013 10:17:17:292 NetpJoinDomainLocal: NetpQueryService returned: 0x0.
12/20/2013 10:17:17:417 NetpSetLsaPrimaryDomain: for 'JUDICIAL' status: 0x0
12/20/2013 10:17:17:417 NetpJoinDomainLocal: status of setting LSA pri. domain: 0x0
12/20/2013 10:17:17:417 NetpManageLocalGroupsForJoin: Adding groups for new domain, removing groups from old domain, if any.
12/20/2013 10:17:17:417 NetpManageLocalGroups: Populating list of account SIDs.
12/20/2013 10:17:17:760 [000004ec] NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 10:17:17:791 NetpManageLocalGroupsForJoin: status of modifying groups related to domain 'JUDICIAL' to local groups: 0x0
12/20/2013 10:17:17:791 NetpManageLocalGroupsForJoin: INFO: No old domain groups to process.
12/20/2013 10:17:17:791 NetpJoinDomainLocal: Status of managing local groups: 0x0
12/20/2013 10:17:18:275 [00000164] NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 10:17:18:665 NetpJoinDomainLocal: status of setting ComputerNamePhysicalDnsDomain to 'jis.state.ct.us': 0x0
12/20/2013 10:17:18:665 NetpJoinDomainLocal: Controlling services and setting service start type.
12/20/2013 10:17:18:665 NetpJoinDomainLocal: Updating W32TimeConfig
12/20/2013 10:17:18:743 NetpUpdateW32timeConfig: 0x0
12/20/2013 10:17:18:743 NetpClearFullJoinState: Removing cached state from the registry...
12/20/2013 10:17:18:743 NetpClearFullJoinState: Status of deleting join state key 0x0
12/20/2013 10:17:18:743 NetpCompleteOfflineDomainJoin: status: 0x0
12/20/2013 10:17:18:743 NetpJoinDomain: NetpCompleteOfflineDomainJoin SUCCESS: Requested a reboot :0x0
12/20/2013 10:17:18:743 NetpDoDomainJoin: status: 0x0
12/20/2013 10:17:21:953 -----------------------------------------------------------------
12/20/2013 10:17:21:953 NetpChangeMachineName: from '243WIN7BASETST' to '243WIN7BASEtst' using 'judicial\pcsetup2' [0x1000]
12/20/2013 10:17:21:953 NetpDsGetDcName: trying to find DC in domain 'JUDICIAL', flags: 0x1010
12/20/2013 10:17:21:953 NetpDsGetDcName: found DC '\\ATREYU1V-PII' in the specified domain
12/20/2013 10:17:21:953 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 10:17:21:953 NetpGetDnsHostName: Read NV Domain: jis.state.ct.us
12/20/2013 10:17:21:969 NetpGetComputerObjectDn: Cracking account name JUDICIAL\243WIN7BASETST$ on
\\ATREYU1V-PII
12/20/2013 10:17:21:969 NetpGetComputerObjectDn: Crack results: (Account already exists) DN = CN=243WIN7BASETST,OU=JB New Computers,DC=jis,DC=state,DC=ct,DC=us
12/20/2013 10:17:21:969 NetpModifyComputerObjectInDs: Initial attribute values:
12/20/2013 10:17:21:969 DnsHostName = 243WIN7BASEtst.jis.state.ct.us
12/20/2013 10:17:21:969 ServicePrincipalName = HOST/243WIN7BASEtst.jis.state.ct.us RestrictedKrbHost/243WIN7BASEtst.jis.state.ct.us HOST/243WIN7BASETST RestrictedKrbHost/243WIN7BASETST
12/20/2013 10:17:21:985 NetpModifyComputerObjectInDs: Computer Object already exists in OU:
12/20/2013 10:17:21:985 DnsHostName = 243WIN7BASETST.jis.state.ct.us
12/20/2013 10:17:21:985 ServicePrincipalName = RestrictedKrbHost/243WIN7BASETST HOST/243WIN7BASETST RestrictedKrbHost/243WIN7BASETST.jis.state.ct.us HOST/243WIN7BASETST.jis.state.ct.us
12/20/2013 10:17:21:985 NetpModifyComputerObjectInDs: There are _NO_ modifications to do
12/20/2013 10:17:21:985 ldap_unbind status: 0x0
12/20/2013 10:17:21:985 NetpChangeMachineName: status of setting DnsHostName and SPN: 0x0
12/20/2013 13:30:34:370 -----------------------------------------------------------------
12/20/2013 13:30:34:440 NetpValidateName: checking to see if '243WIN7BASETST' is valid as type 1 name
12/20/2013 13:30:34:460 NetpCheckNetBiosNameNotInUse for '243WIN7BASETST' [MACHINE] returned 0x0
12/20/2013 13:30:34:460 NetpValidateName: name '243WIN7BASETST' is valid for type 1
12/20/2013 13:30:34:553 -----------------------------------------------------------------
12/20/2013 13:30:34:553 NetpValidateName: checking to see if '243WIN7BASEtst.jis.state.ct.us' is valid as type 5 name
12/20/2013 13:30:34:553 NetpValidateName: name '243WIN7BASEtst.jis.state.ct.us' is valid for type 5
12/20/2013 13:30:34:569 -----------------------------------------------------------------
12/20/2013 13:30:34:569 NetpValidateName: checking to see if 'JIS' is valid as type 2 name
12/20/2013 13:30:34:569 NetpCheckNetBiosNameNotInUse for 'JIS' [ Workgroup as MACHINE] returned 0x0
12/20/2013 13:30:34:569 NetpValidateName: name 'JIS' is valid for type 2
12/20/2013 13:30:34:585 -----------------------------------------------------------------
12/20/2013 13:30:34:585 NetpUnJoinDomain: unjoin from 'JUDICIAL' using '(null)' creds, options: 0x4
12/20/2013 13:30:34:585 OS Version: 6.1
12/20/2013 13:30:34:585 Build number: 7601 (7601.win7sp1_rtm.101119-1850)
12/20/2013 13:30:34:585 ServicePack: Service Pack 1
12/20/2013 13:30:34:585 SKU: Windows 7 Professional
12/20/2013 13:30:34:585 NetpUnJoinDomain: status of getting computer name: 0x0
12/20/2013 13:30:34:585 NetpApplyJoinState: actions: 0x2b805a
12/20/2013 13:30:34:585 NetpDsGetDcName: trying to find DC in domain 'JUDICIAL', flags: 0x1010
12/20/2013 13:30:34:694 NetpDsGetDcName: found DC '\\ATREYU1V-PII' in the specified domain
12/20/2013 13:30:34:819 NetUseAdd to \\ATREYU1V-PII\IPC$ returned 1326
12/20/2013 13:30:34:819 Trying add to
\\ATREYU1V-PII\IPC$ using NULL Session
12/20/2013 13:30:34:850 NetpApplyJoinState: status of connecting to dc '\\ATREYU1V-PII': 0x0
12/20/2013 13:30:36:113 NetpApplyJoinState: status of stopping and setting start type of Netlogon to 16: 0x0
12/20/2013 13:30:36:145 NetpApplyJoinState: NON FATAL: status of removing DNS registrations: 0x0
12/20/2013 13:30:36:145 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:36:145 NetpLsaOpenSecret: status: 0x0
12/20/2013 13:30:36:145 NetpLsaOpenSecret: status: 0x0
12/20/2013 13:30:36:410 SamOpenUser on 48956 failed with 0xc0000022
12/20/2013 13:30:36:410 NetpManageMachineAccountWithSid: status of disabling account '243WIN7BASETST$' on '\\ATREYU1V-PII': 0x5
12/20/2013 13:30:36:410 NetpApplyJoinState: status of disabling account: 0x5
12/20/2013 13:30:36:410 NetpApplyJoinState: initiating a rollback due to earlier errors
12/20/2013 13:30:36:410 NetpApplyJoinState: actions: 0x440210
12/20/2013 13:30:36:410 NetpDsGetDcName: trying to find DC in domain '(null)', flags: 0x1020
12/20/2013 13:30:36:425 NetpDsGetDcName: found DC '\\ATREYU1V-PII.jis.state.ct.us' in the specified domain
12/20/2013 13:30:36:441 NetUseAdd to
\\ATREYU1V-PII.jis.state.ct.us\IPC$ returned 1326
12/20/2013 13:30:36:441 Trying add to
\\ATREYU1V-PII.jis.state.ct.us\IPC$ using NULL Session
12/20/2013 13:30:36:441 NetpApplyJoinState: status of connecting to dc '\\ATREYU1V-PII.jis.state.ct.us': 0x0
12/20/2013 13:30:36:441 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:36:441 NetpLsaOpenSecret: status: 0xc0000034
12/20/2013 13:30:36:675 NetpSetMachineAccountPassword: NetUserSetInfo (level 1003) on '\\ATREYU1V-PII.jis.state.ct.us' for '243WIN7BASETST$' failed: 0x5
12/20/2013 13:30:36:675 NetpApplyJoinState: status of setting machine password: 0x5
12/20/2013 13:30:36:956 NetpApplyJoinState: status of starting and setting start type of Netlogon to 4: 0x0
12/20/2013 13:30:36:956 NetpApplyJoinState: NON FATAL: status of adding DNS registrations: 0x0
12/20/2013 13:30:36:956 NetpApplyJoinState: status of disconnecting from '\\ATREYU1V-PII.jis.state.ct.us': 0x0
12/20/2013 13:30:36:956 NetpApplyJoinState: status of disconnecting from '\\ATREYU1V-PII': 0x0
12/20/2013 13:30:36:956 NetpUnJoinDomain: status: 0x5
12/20/2013 13:30:41:886 -----------------------------------------------------------------
12/20/2013 13:30:41:886 NetpUnJoinDomain: unjoin from 'JUDICIAL' using 'jis.state.ct.us\a' creds, options: 0x4
12/20/2013 13:30:41:886 OS Version: 6.1
12/20/2013 13:30:41:886 Build number: 7601 (7601.win7sp1_rtm.101119-1850)
12/20/2013 13:30:41:886 ServicePack: Service Pack 1
12/20/2013 13:30:41:886 SKU: Windows 7 Professional
12/20/2013 13:30:41:886 NetpUnJoinDomain: status of getting computer name: 0x0
12/20/2013 13:30:41:886 NetpApplyJoinState: actions: 0x2b805a
12/20/2013 13:30:41:886 NetpDsGetDcName: trying to find DC in domain 'JUDICIAL', flags: 0x1010
12/20/2013 13:30:41:886 NetpDsGetDcName: found DC '\\ATREYU1V-PII' in the specified domain
12/20/2013 13:30:44:974 NetUseAdd to \\ATREYU1V-PII\IPC$ returned 1326
12/20/2013 13:30:44:974 Trying add to
\\ATREYU1V-PII\IPC$ using NULL Session
12/20/2013 13:30:44:990 NetpApplyJoinState: status of connecting to dc '\\ATREYU1V-PII': 0x0
12/20/2013 13:30:46:301 NetpApplyJoinState: status of stopping and setting start type of Netlogon to 16: 0x0
12/20/2013 13:30:46:301 NetpApplyJoinState: NON FATAL: status of removing DNS registrations: 0x0
12/20/2013 13:30:46:301 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:46:301 NetpLsaOpenSecret: status: 0x0
12/20/2013 13:30:46:301 NetpLsaOpenSecret: status: 0x0
12/20/2013 13:30:46:394 SamOpenUser on 48956 failed with 0xc0000022
12/20/2013 13:30:46:394 NetpManageMachineAccountWithSid: status of disabling account '243WIN7BASETST$' on '\\ATREYU1V-PII': 0x5
12/20/2013 13:30:46:394 NetpApplyJoinState: status of disabling account: 0x5
12/20/2013 13:30:46:394 NetpApplyJoinState: initiating a rollback due to earlier errors
12/20/2013 13:30:46:394 NetpApplyJoinState: actions: 0x440210
12/20/2013 13:30:46:394 NetpDsGetDcName: trying to find DC in domain '(null)', flags: 0x1020
12/20/2013 13:30:46:410 NetpDsGetDcName: found DC '\\ATREYU1V-PII.jis.state.ct.us' in the specified domain
12/20/2013 13:30:46:425 NetUseAdd to
\\ATREYU1V-PII.jis.state.ct.us\IPC$ returned 1326
12/20/2013 13:30:46:425 Trying add to
\\ATREYU1V-PII.jis.state.ct.us\IPC$ using NULL Session
12/20/2013 13:30:46:425 NetpApplyJoinState: status of connecting to dc '\\ATREYU1V-PII.jis.state.ct.us': 0x0
12/20/2013 13:30:46:425 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:46:425 NetpLsaOpenSecret: status: 0xc0000034
12/20/2013 13:30:46:659 NetpSetMachineAccountPassword: NetUserSetInfo (level 1003) on '\\ATREYU1V-PII.jis.state.ct.us' for '243WIN7BASETST$' failed: 0x5
12/20/2013 13:30:46:659 NetpApplyJoinState: status of setting machine password: 0x5
12/20/2013 13:30:46:815 NetpApplyJoinState: status of starting and setting start type of Netlogon to 4: 0x0
12/20/2013 13:30:46:815 NetpApplyJoinState: NON FATAL: status of adding DNS registrations: 0x0
12/20/2013 13:30:46:815 NetpApplyJoinState: status of disconnecting from '\\ATREYU1V-PII.jis.state.ct.us': 0x0
12/20/2013 13:30:46:815 NetpApplyJoinState: status of disconnecting from '\\ATREYU1V-PII': 0x0
12/20/2013 13:30:46:815 NetpUnJoinDomain: status: 0x5
12/20/2013 13:30:46:831 -----------------------------------------------------------------
12/20/2013 13:30:46:831 NetpUnJoinDomain: unjoin from 'JUDICIAL' using 'jis.state.ct.us\a' creds, options: 0x0
12/20/2013 13:30:46:831 OS Version: 6.1
12/20/2013 13:30:46:831 Build number: 7601 (7601.win7sp1_rtm.101119-1850)
12/20/2013 13:30:46:831 ServicePack: Service Pack 1
12/20/2013 13:30:46:831 SKU: Windows 7 Professional
12/20/2013 13:30:46:831 NetpUnJoinDomain: status of getting computer name: 0x0
12/20/2013 13:30:46:831 NetpApplyJoinState: actions: 0x2b005a
12/20/2013 13:30:47:096 [000009d8] NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:47:611 [000004e8] NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:48:173 NetpApplyJoinState: status of stopping and setting start type of Netlogon to 16: 0x0
12/20/2013 13:30:48:173 NetpApplyJoinState: NON FATAL: status of removing DNS registrations: 0x0
12/20/2013 13:30:48:173 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:48:173 NetpLsaOpenSecret: status: 0x0
12/20/2013 13:30:48:173 NetpLsaOpenSecret: status: 0x0
12/20/2013 13:30:48:391 NetpSetLsaPrimaryDomain: for 'JUDICIAL' status: 0x0
12/20/2013 13:30:48:391 NetpApplyJoinState: status of setting LSA pri. domain: 0x0
12/20/2013 13:30:48:625 NetpApplyJoinState: status of clearing ComputerNamePhysicalDnsDomain: 0x0
12/20/2013 13:30:48:625 NetpManageLocalGroups: Populating list of account SIDs.
12/20/2013 13:30:48:858 [000004e8] NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:48:889 NetpApplyJoinState: status of removing from local groups: 0x0
12/20/2013 13:30:48:889 NetpUpdateW32timeConfig: 0x0
12/20/2013 13:30:48:905 NetpUnJoinDomain: status: 0x0
12/20/2013 13:30:48:936 -----------------------------------------------------------------
12/20/2013 13:30:48:936 NetpDoDomainJoin
12/20/2013 13:30:48:936 NetpMachineValidToJoin: '243WIN7BASETST'
12/20/2013 13:30:48:936 OS Version: 6.1
12/20/2013 13:30:48:936 Build number: 7601 (7601.win7sp1_rtm.101119-1850)
12/20/2013 13:30:48:936 ServicePack: Service Pack 1
12/20/2013 13:30:48:952 SKU: Windows 7 Professional
12/20/2013 13:30:48:952 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 13:30:48:952 NetpMachineValidToJoin: status: 0x0
12/20/2013 13:30:48:952 NetpJoinWorkgroup: joining computer '243WIN7BASETST' to workgroup 'JIS'
12/20/2013 13:30:48:952 NetpValidateName: checking to see if 'JIS' is valid as type 2 name
12/20/2013 13:30:48:952 NetpCheckNetBiosNameNotInUse for 'JIS' [ Workgroup as MACHINE] returned 0x0
12/20/2013 13:30:48:952 NetpValidateName: name 'JIS' is valid for type 2
12/20/2013 13:30:49:077 NetpSetLsaPrimaryDomain: for 'JIS' status: 0x0
12/20/2013 13:30:49:295 NetpJoinWorkgroup: status: 0x0
12/20/2013 13:30:49:295 NetpDoDomainJoin: status: 0x0
12/20/2013 13:39:24:681 -----------------------------------------------------------------
12/20/2013 13:39:24:697 NetpValidateName: checking to see if 'WIN7SP1BASE' is valid as type 1 name
12/20/2013 13:39:24:728 NetpCheckNetBiosNameNotInUse for 'WIN7SP1BASE' [MACHINE] returned 0x0
12/20/2013 13:39:24:728 NetpValidateName: name 'WIN7SP1BASE' is valid for type 1
12/20/2013 13:39:24:775 -----------------------------------------------------------------
12/20/2013 13:39:24:775 NetpValidateName: checking to see if 'WIN7SP1BASE' is valid as type 5 name
12/20/2013 13:39:24:775 NetpValidateName: name 'WIN7SP1BASE' is valid for type 5
12/20/2013 14:22:43:445 -----------------------------------------------------------------
12/20/2013 14:22:43:445 NetpValidateName: checking to see if '243WIN7BASETST' is valid as type 1 name
12/20/2013 14:22:43:445 NetpCheckNetBiosNameNotInUse for '243WIN7BASETST' [MACHINE] returned 0x0
12/20/2013 14:22:43:445 NetpValidateName: name '243WIN7BASETST' is valid for type 1
12/20/2013 14:22:43:508 -----------------------------------------------------------------
12/20/2013 14:22:43:508 NetpValidateName: checking to see if '243WIN7BASEtst' is valid as type 5 name
12/20/2013 14:22:43:508 NetpValidateName: name '243WIN7BASEtst' is valid for type 5
12/20/2013 14:26:14:548 -----------------------------------------------------------------
12/20/2013 14:26:14:548 NetpValidateName: checking to see if '243WIN7BASETST' is valid as type 1 name
12/20/2013 14:26:14:548 NetpCheckNetBiosNameNotInUse for '243WIN7BASETST' [MACHINE] returned 0x0
12/20/2013 14:26:14:548 NetpValidateName: name '243WIN7BASETST' is valid for type 1
12/20/2013 14:26:14:595 -----------------------------------------------------------------
12/20/2013 14:26:14:595 NetpValidateName: checking to see if '243WIN7BASEtst' is valid as type 5 name
12/20/2013 14:26:14:595 NetpValidateName: name '243WIN7BASEtst' is valid for type 5
12/20/2013 14:26:14:626 -----------------------------------------------------------------
12/20/2013 14:26:14:626 NetpValidateName: checking to see if 'judicial' is valid as type 3 name
12/20/2013 14:26:14:751 NetpCheckDomainNameIsValid [ Exists ] for 'judicial' returned 0x0
12/20/2013 14:26:14:751 NetpValidateName: name 'judicial' is valid for type 3
12/20/2013 14:26:25:156 -----------------------------------------------------------------
12/20/2013 14:26:25:156 NetpDoDomainJoin
12/20/2013 14:26:25:156 NetpMachineValidToJoin: '243WIN7BASETST'
12/20/2013 14:26:25:156 OS Version: 6.1
12/20/2013 14:26:25:156 Build number: 7601 (7601.win7sp1_rtm.101119-1850)
12/20/2013 14:26:25:156 ServicePack: Service Pack 1
12/20/2013 14:26:25:156 SKU: Windows 7 Professional
12/20/2013 14:26:25:156 NetpDomainJoinLicensingCheck: ulLicenseValue=1, Status: 0x0
12/20/2013 14:26:25:156 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 14:26:25:156 NetpMachineValidToJoin: status: 0x0
12/20/2013 14:26:25:156 NetpJoinDomain
12/20/2013 14:26:25:156 Machine: 243WIN7BASETST
12/20/2013 14:26:25:156 Domain: judicial
12/20/2013 14:26:25:156 MachineAccountOU: (NULL)
12/20/2013 14:26:25:156 Account: judicial\pcsetup2
12/20/2013 14:26:25:156 Options: 0x25
12/20/2013 14:26:25:156 NetpLoadParameters: loading registry parameters...
12/20/2013 14:26:25:156 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
12/20/2013 14:26:25:156 NetpLoadParameters: DomainCompatibilityMode not found, defaulting to '0' 0x2
12/20/2013 14:26:25:156 NetpLoadParameters: status: 0x2
12/20/2013 14:26:25:156 NetpValidateName: checking to see if 'judicial' is valid as type 3 name
12/20/2013 14:26:25:265 NetpCheckDomainNameIsValid [ Exists ] for 'judicial' returned 0x0
12/20/2013 14:26:25:265 NetpValidateName: name 'judicial' is valid for type 3
12/20/2013 14:26:25:265 NetpDsGetDcName: trying to find DC in domain 'judicial', flags: 0x40001010
12/20/2013 14:26:25:374 NetpLoadParameters: loading registry parameters...
12/20/2013 14:26:25:374 NetpLoadParameters: DNSNameResolutionRequired not found, defaulting to '1' 0x2
12/20/2013 14:26:25:374 NetpLoadParameters: DomainCompatibilityMode not found, defaulting to '0' 0x2
12/20/2013 14:26:25:374 NetpLoadParameters: status: 0x2
12/20/2013 14:26:25:374 NetpDsGetDcName: status of verifying DNS A record name resolution for 'Wabash00-PII.jis.state.ct.us': 0x0
12/20/2013 14:26:25:374 NetpDsGetDcName: found DC '\\Wabash00-PII.jis.state.ct.us' in the specified domain
12/20/2013 14:26:25:374 NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0
12/20/2013 14:26:25:608 NetpJoinDomain: status of connecting to dc '\\Wabash00-PII.jis.state.ct.us': 0x0
12/20/2013 14:26:25:608 NetpProvisionComputerAccount:
12/20/2013 14:26:25:608 lpDomain: judicial
12/20/2013 14:26:25:608 lpMachineName: 243WIN7BASETST
12/20/2013 14:26:25:608 lpMachineAccountOU: (NULL)
12/20/2013 14:26:25:608 lpDcName: Wabash00-PII.jis.state.ct.us
12/20/2013 14:26:25:608 lpDnsHostName: (NULL)
12/20/2013 14:26:25:608 lpMachinePassword: (null)
12/20/2013 14:26:25:608 lpAccount: judicial\pcsetup2
12/20/2013 14:26:25:608 lpPassword: (non-null)
12/20/2013 14:26:25:608 dwJoinOptions: 0x25
12/20/2013 14:26:25:608 dwOptions: 0x40000003
12/20/2013 14:26:25:749 NetpLdapBind: Verified minimum encryption strength on Wabash00-PII.jis.state.ct.us: 0x0
12/20/2013 14:26:25:749 NetpLdapGetLsaPrimaryDomain: reading domain data
12/20/2013 14:26:25:749 NetpGetNCData: Reading NC data
12/20/2013 14:26:25:764 NetpGetDomainData: Lookup domain data for: DC=jis,DC=state,DC=ct,DC=us
12/20/2013 14:26:25:764 NetpGetDomainData: Lookup crossref data for: CN=Partitions,CN=Configuration,DC=jis,DC=state,DC=ct,DC=us
12/20/2013 14:26:25:764 NetpLdapGetLsaPrimaryDomain: result of retrieving domain data: 0x0
12/20/2013 14:26:25:780 NetpGetComputerObjectDn: Cracking DNS domain name jis.state.ct.us/ into Netbios on
\\Wabash00-PII.jis.state.ct.us
12/20/2013 14:26:25:780 NetpGetComputerObjectDn: Crack results: name = JUDICIAL\
12/20/2013 14:26:25:780 NetpGetComputerObjectDn: Cracking account name JUDICIAL\243WIN7BASETST$ on
\\Wabash00-PII.jis.state.ct.us
12/20/2013 14:26:25:796 NetpGetComputerObjectDn: Crack results: (Account already exists) DN = CN=243WIN7BASETST,OU=JB New Computers,DC=jis,DC=state,DC=ct,DC=us
12/20/2013 14:26:25:796 NetpModifyComputerObjectInDs: Initial attribute values:
12/20/2013 14:26:25:796 objectClass = Computer
12/20/2013 14:26:25:796 SamAccountName = 243WIN7BASETST$
12/20/2013 14:26:25:796 userAccountControl = 0x1000
12/20/2013 14:26:25:796 DnsHostName = 243WIN7BASETST.jis.state.ct.us
12/20/2013 14:26:25:796 ServicePrincipalName = HOST/243WIN7BASETST.jis.state.ct.us RestrictedKrbHost/243WIN7BASETST.jis.state.ct.us HOST/243WIN7BASETST RestrictedKrbHost/243WIN7BASETST
12/20/2013 14:26:25:796 unicodePwd = <SomePassword>
12/20/2013 14:26:25:796 NetpModifyComputerObjectInDs: Computer Object already exists in OU:
12/20/2013 14:26:25:796 objectClass = top person organizationalPerson user computer
12/20/2013 14:26:25:796 SamAccountName = 243WIN7BASETST$
12/20/2013 14:26:25:796 userAccountControl = 0x1000
12/20/2013 14:26:25:796 DnsHostName = 243WIN7BASETST.jis.state.ct.us
12/20/2013 14:26:25:796 ServicePrincipalName = TERMSRV/243WIN7BASETST TERMSRV/243WIN7BASEtst.jis.state.ct.us RestrictedKrbHost/243WIN7BASETST HOST/243WIN7BASETST RestrictedKrbHost/243WIN7BASETST.jis.state.ct.us
HOST/243WIN7BASETST.jis.state.ct.us
12/20/2013 14:26:25:796 unicodePwd = Account exists, resetting password: <SomePassword>
12/20/2013 14:26:25:796 NetpModifyComputerObjectInDs: Attribute values to set:
12/20/2013 14:26:25:796 unicodePwd = <SomePassword>
12/20/2013 14:26:25:967 NetpModifyComputerObjectInDs: Toggled UserAccountControl successfully
12/20/2013 14:26:25:967 NetpEncodeProvisioningBlob: Encoding provisioning data
12/20/2013 14:26:25:967 NetpInitBlobWin7: Constructing blob...
12/20/2013 14:26:25:967 Blob version: 1
12/20/2013 14:26:25:967 lpDomain: judicial
12/20/2013 14:26:25:967 lpMachineName: 243WIN7BASETST
12/20/2013 14:26:25:967 lpMachinePassword: <omitted from log>
12/20/2013 14:26:25:967 DomainDnsPolicy:
12/20/2013 14:26:25:967 Name: JUDICIAL
12/20/2013 14:26:25:967 DnsDomainName: jis.state.ct.us
12/20/2013 14:26:25:967 DnsForestName: jis.state.ct.us
12/20/2013 14:26:25:967 DomainGuid: 8108ed1e-d08f-40a0-8089-598b7f58e1e7
12/20/2013 14:26:25:967 Sid: S-1-5-21-1552756269-800212831-618671499
12/20/2013 14:26:25:967 DcInfo:
12/20/2013 14:26:25:967 DomainControllerName:
\\Wabash00-PII.jis.state.ct.us
12/20/2013 14:26:25:967 DomainControllerAddress:
\\10.16.8.100
12/20/2013 14:26:25:967 DomainControllerAddressType: 1
12/20/2013 14:26:25:967 DomainGuid: 8108ed1e-d08f-40a0-8089-598b7f58e1e7
12/20/2013 14:26:25:967 DomainName: jis.state.ct.us
12/20/2013 14:26:25:967 DnsForestName: jis.state.ct.us
12/20/2013 14:26:25:967 Flags: 0xe00033fc
12/20/2013 14:26:25:967 DcSiteName: Judicial-Data-Centers
12/20/2013 14:26:25:967 ClientSiteName: EHFD-99ERiver
12/20/2013 14:26:25:983 Options: 0x40000003
12/20/2013 14:26:25:983 NetpInitBlobWin7: Blob pickling result: 0
12/20/2013 14:26:25:983 NetpEncodeProvisioningBlob: result: 0x0
12/20/2013 14:26:25:983 ldap_unbind status: 0x0
12/20/2013 14:26:25:983 NetpRequestOfflineDomainJoin:
12/20/2013 14:26:25:983 dwProvisionBinDataSize: 960
12/20/2013 14:26:25:983 JoinOptions: 0x25
12/20/2013 14:26:25:983 Options: 0x40000003
12/20/2013 14:26:25:983 lpWindowsPath: C:\Windows
12/20/2013 14:26:25:983 NetpDecodeProvisioningBlob: Unpickling provisioning blob with size 960 bytes
12/20/2013 14:26:25:983 NetpDecodeProvisioningBlob: Searching 1 blobs for supported ODJ blob, highest supported version: 1
12/20/2013 14:26:25:983 NetpDecodeProvisioningBlob: Found ODJ blob version: 1
12/20/2013 14:26:25:983 NetpDecodeProvisioningBlob: Selected ODJ blob version: 1
12/20/2013 14:26:25:983 Blob version: 1
12/20/2013 14:26:25:983 lpDomain: judicial
12/20/2013 14:26:25:983 lpMachineName: 243WIN7BASETST
12/20/2013 14:26:25:983 lpMachinePassword: <omitted from log>
12/20/2013 14:26:25:983 DomainDnsPolicy:
12/20/2013 14:26:25:983 Name: JUDICIAL
12/20/2013 14:26:25:983 DnsDomainName: jis.state.ct.us
12/20/2013 14:26:25:983 DnsForestName: jis.state.ct.us
12/20/2013 14:26:25:983 DomainGuid: 8108ed1e-d08f-40a0-8089-598b7f58e1e7
12/20/2013 14:26:25:983 Sid: S-1-5-21-1552756269-800212831-618671499
12/20/2013 14:26:25:983 DcInfo:
12/20/2013 14:26:25:983 DomainControllerName:
\\Wabash00-PII.jis.state.ct.us
12/20/2013 14:26:25:983 DomainControllerAddress:
\\10.16.8.100
12/20/2013 14:26:25:983 DomainControllerAddressType: 1
12/20/2013 14:26:25:983 DomainGuid: 8108ed1e-d08f-40a0-8089-598b7f58e1e7
12/20/2013 14:26:25:983 DomainName: jis.state.ct.us
12/20/2013 14:26:25:983 DnsForestName: jis.state.ct.us
12/20/2013 14:26:25:983 Flags: 0xe00033fc
12/20/2013 14:26:25:983 DcSiteName: Judicial-Data-Centers
12/20/2013 14:26:25:983 ClientSiteName: EHFD-99ERiver
12/20/2013 14:26:25:983 Options: 0x40000003
12/20/2013 14:26:25:983 NetpDoInitiateOfflineDomainJoin
12/20/2013 14:26:25:983 NetpDoInitiateOfflineDomainJoin: Setting backup/restore privileges
12/20/2013 14:26:25:983 NetpInitiateOfflineJoin
12/20/2013 14:26:25:983 lpLocalRegistryPath: C:\Windows\system32\config\SYSTEM
12/20/2013 14:26:25:983 dwOptions: 0x40000003
12/20/2013 14:26:25:983 NetpConvertBlobToJoinState: Translating provisioning data to internal format
12/20/2013 14:26:25:983 NetpConvertBlobToJoinState: Selecting version 1
12/20/2013 14:26:25:983 NetpConvertBlobToJoinState: exiting: 0x0
12/20/2013 14:26:25:983 NetpValidateFullJoinState: Validating provisioning data...
12/20/2013 14:26:25:983 NetpValidateFullJoinState: exiting: 0x0
12/20/2013 14:26:25:983 NetpClearFullJoinState: Removing cached state from the registry...
12/20/2013 14:26:25:983 NetpClearFullJoinState: Status of deleting join state key 0x2
12/20/2013 14:26:25:983 NetpSaveFullJoinStateInternal: Injecting provisioning data into image...
12/20/2013 14:26:25:983 NetpSaveFullJoinStateInternal: exiting: 0x0
12/20/2013 14:26:25:983 NetpSetComputerNamesOffline: Checking for pending name changes...
12/20/2013 14:26:25:983 SetHostName: TRUE
12/20/2013 14:26:25:983 SetDnsDomain: TRUE
12/20/2013 14:26:25:983 SetNetBiosName: TRUE
12/20/2013 14:26:25:983 SetCurrentValues: TRUE
12/20/2013 14:26:25:983 NetpSetComputerNamesOffline: Setting Hostname to 243WIN7BASETST
12/20/2013 14:26:25:983 NetpSetComputerNamesOffline: Setting Domain name to jis.state.ct.us
12/20/2013 14:26:25:983 NetpSetComputerNamesOffline: Setting NetBios computer name to 243WIN7BASETST
12/20/2013 14:26:25:983 NetpDoInitiateOfflineDomainJoin: status: 0x0
12/20/2013 14:26:25:983 NetRequestOfflineDomainJoin: Successfully initiated the offline domain join
12/20/2013 14:26:25:983 NetpJoinDomainOnDs: Setting netlogon cache.
12/20/2013 14:26:26:014 NetpJoinDomainOnDs: status of setting netlogon cache: 0x0
12/20/2013 14:26:26:014 NetpJoinDomainOnDs: Function exits with status of: 0x0
12/20/2013 14:26:26:014 NetpJoinDomainOnDs: status of disconnecting from '\\Wabash00-PII.jis.state.ct.us': 0x0
12/20/2013 14:26:26:014 NetpCompleteOfflineDomainJoin
12/20/2013 14:26:26:014 fBootTimeCaller: FALSE
12/20/2013 14:26:26:014 fSetLocalGroups: TRUE
12/20/2013 14:26:26:014 NetpLsaOpenSecret: status: 0xc0000034
12/20/2013 14:26:26:030 NetpGetLsaPrimaryDomain: status: 0x0
12/20/2013 14:26:26:030 NetpJoinDomainLocal: NetpHandleJoinedStateInfo returned: 0x0
12/20/2013 14:26:26:030 NetpLsaOpenSecret: status: 0xc0000034
12/20/2013 14:26:26:326 NetpJoinDomainLocal: NetpManageMachineSecret returned: 0x0.
12/20/2013 14:26:26:326 Calling NetpQueryService to get Netlogon service state.
12/20/2013 14:26:26:326 NetpJoinDomainLocal: NetpQueryService returned: 0x0.
12/20/2013 14:26:26:420 NetpSetLsaPrimaryDomain: for 'JUDICIAL' status: 0x0
12/20/2013 14:26:26:420 NetpJoinDomainLocal: status of setting LSA pri. domain: 0x0
12/20/2013 14:26:26:420 NetpManageLocalGroupsForJoin: Adding groups for new domain, removing groups from old domain, if any.
Windows IP Configuration from machine not joining the domain
Host Name . . . . . . . . . . . . : 243sccmtest5
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : jis.state.ct.us
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : jis.state.ct.us
Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection #2
Physical Address. . . . . . . . . : B4-B5-2F-C0-D1-08
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::857e:ee89:64be:e243%12(Preferred)
IPv4 Address. . . . . . . . . . . : 10.16.211.236(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, November 12, 2014 11:59:47 AM
Lease Expires . . . . . . . . . . : Wednesday, November 12, 2014 7:59:46 PM
Default Gateway . . . . . . . . . : fe80::21f:6cff:febf:4bf%12
10.16.211.1
DHCP Server . . . . . . . . . . . : 10.16.204.101
DNS Servers . . . . . . . . . . . : 10.16.8.100
10.16.5.100
10.16.6.100
10.16.206.100
10.16.204.100
Primary WINS Server . . . . . . . : 10.16.8.100
Secondary WINS Server . . . . . . : 10.16.5.100
10.16.6.100
10.16.206.100
NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter Local Area Connection* 9:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : jis.state.ct.us
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Windows IP Configuration from Domain Joined Machine
Host Name . . . . . . . . . . . . : 2433ZENTEST01PC
Primary Dns Suffix . . . . . . . : jis.state.ct.us
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : jis.state.ct.us
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : jis.state.ct.us
Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection
Physical Address. . . . . . . . . : 74-46-A0-90-37-49
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.16.211.201(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, October 15, 2014 7:39:26 AM
Lease Expires . . . . . . . . . . : Wednesday, November 12, 2014 8:40:50 PM
Default Gateway . . . . . . . . . : 10.16.211.1
DHCP Server . . . . . . . . . . . : 10.16.4.101
DNS Servers . . . . . . . . . . . : 10.16.8.100
10.16.5.100
10.16.6.100
10.16.206.100
Primary WINS Server . . . . . . . : 10.16.5.100
Secondary WINS Server . . . . . . : 10.16.8.100
NetBIOS over Tcpip. . . . . . . . : Enabled
Seems like DNS IssueHi,
Have you tried to delete the computer account from AD?
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Autologon fails after MDT domain join.
I have a Post OS Installation Task setup that I've added the
Recover form Domain step to. I use this TS just to join the PC to our domain. When I run the TS the PC does join our domain correctly but after the reboot it tells me that the username or password is incorrect. I'm presented
with a logon prompt and the username is set to ".\Administrator". I simply type in our default local admin password (not changing the username) and the PC logs in and the TS finishes successfully. What has me confused is I've checked the unattend.xml
file and the username and password is correct, although the username is entered as just "Administrator". I'm pretty sure that the ".\" just refers to the local computer instead of a domain so I don't see what the problem is. Any suggestions
on this one?'Define Target Computer
strComputer = "."
'Set object values
Set oArguments = WScript.Arguments.Named
Set oShell = CreateObject("WScript.Shell")
Set oWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\CIMV2")
'Define ASCII Characters
chrSpace = Chr(32)
chrSingleQuote = Chr(39)
chrDoubleQuote = Chr(34)
'Show Script Usage
If (oArguments.Exists("?")) And (WScript.Arguments.Count = "1") Then
WScript.Echo(WScript.ScriptName & chrSpace & "Usage:" & _
vbCrLf & vbCrLf & _
"Script Interpreter: [cscript.exe] or [wscript.exe]" & _
vbCrLf & vbCrLf & _
"Script Location:" & chrSpace & chrDoubleQuote & Replace(oShell.CurrentDirectory & "\" & WScript.ScriptName, "\\", "\") & chrDoubleQuote & _
vbCrLf & vbCrLf & _
"Optional Arguments:" & _
vbCrLf & vbCrLf & _
"[/JoinDomain]" & chrSpace & "And" & chrSpace & "[/Domain:" & chrDoubleQuote & "MyDomain.com" & chrDoubleQuote & "]" & _
vbCrLf & vbCrLf & _
"[/JoinWorkgroup]" & chrSpace & "And" & chrSpace & "[/WorkGroup:" & chrDoubleQuote & "MyWorkGroup" & chrDoubleQuote & "]" & _
vbCrLf & vbCrLf & _
"[/Rename]" & chrSpace & "And" & chrSpace & "[/Name:" & chrDoubleQuote & "MyDeviceName" & chrDoubleQuote & "]" & _
vbCrLf & vbCrLf & _
"[/SvcAcctDmn:" & chrDoubleQuote & "MyDomain" & chrDoubleQuote & "]" & _
vbCrLf & vbCrLf & _
"[/SvcAcct:" & chrDoubleQuote & "MyDomain\MySvcAcct" & chrDoubleQuote & "]" & _
vbCrLf & vbCrLf & _
"[/SvcAcctPw:" & chrDoubleQuote & "MySvcAcctPw" & chrDoubleQuote & "]" & _
vbCrLf & vbCrLf & _
"[/UnjoinDomain]" & _
vbCrLf & vbCrLf & _
"[/Restart]")
WScript.Quit
End If
'Define Required Arguments
argDomain = Trim(UCase(oArguments.Item("Domain")))
argWorkGroup = Trim(UCase(oArguments.Item("Workgroup")))
argSvcAcct = Trim(UCase(oArguments.Item("SvcAcct")))
argSvcAcctDmn = Trim(UCase(oArguments.Item("SvcAcctDmn")))
argSvcAcctPw = oArguments.Item("SvcAcctPw")
'Define Optional Arguments
If (oArguments.Exists("Name")) Then
argName = Left(oArguments.Item("Name"), 15)
argName = Trim(UCase(argName))
End If
'Define Variables
'Amount of seconds to wait "Change the first number only as WScript.Sleep method expects the value in milliseconds."
intSeconds = Int(15 * 1000)
'Gather Information From WMI
'Query #1 - Win32_BIOS
Set oBIOS = oWMI.ExecQuery("Select * From Win32_BIOS")
If (oBIOS.Count > 0) Then
For Each oItem In oBIOS
If Not IsNull(oItem.SerialNumber) Then
strSerialNumber = Left(oItem.SerialNumber, 15)
strSerialNumber = Trim(UCase(strSerialNumber))
End If
Next
End If
'Query #2 - Win32_OperatingSystem
Function RestartDevice
Set oWMI = GetObject("winmgmts:{(Shutdown)}//" & strComputer & "/root/cimv2")
Set oOperatingSystem = oWMI.ExecQuery("Select * From Win32_OperatingSystem")
If (oOperatingSystem.Count > 0) Then
For Each oItem In oOperatingSystem
If (oItem.Primary = True) Then
RestartDevice = oItem.Reboot()
End If
Next
End If
End Function
'Query #3 - Win32_ComputerSystem
Set oComputerSystem = oWMI.ExecQuery("Select * From Win32_ComputerSystem")
'Process the collection only if the query has results
If (oComputerSystem.Count > 0) Then
'Begin a for loop on the collection
For Each oItem In oComputerSystem
'Determine the value of the "DNSHostName" property
If Not IsNull(oItem.DNSHostName) And Not IsNull(oItem.Domain) Then
strDNSHostName = Trim(UCase(oItem.DNSHostName & "." & oItem.Domain))
End If
'Determine the value of the "Domain" property
If Not IsNull(oItem.Domain) Then
strDomain = Trim(UCase(oItem.Domain))
End If
'Determine the value of the "PartOfDomain" property
If Not IsNull(oItem.PartOfDomain) Then
strPartOfDomain = Trim(UCase(oItem.PartOfDomain))
End If
'Determine the value of the "Name" property
If Not IsNull(oItem.Name) Then
strComputerName = Trim(UCase(oItem.Name))
End If
'Determine the value of the "Username" property
If Not IsNull(oItem.UserName) Then
strDomainUserName = Trim(oItem.UserName)
If InStr(oItem.UserName, "\") > 0 Then
strUserName = Mid(oItem.UserName, InStr(oItem.UserName, "\") + 1)
strUserName = Trim(strUserName)
End If
End If
'Determine the value of the "Workgroup" property
If Not IsNull(oItem.Workgroup) And (oItem.PartOfDomain = False) Then
strWorkgroup = Trim(UCase(oItem.Workgroup))
End If
'Rename the device using the name specified in ArgName (Specified name will be truncated to 15 characters for computer name limit)
If (oArguments.Exists("Rename")) And (oArguments.Exists("Name")) And Not (ArgName = "") Then
RenameDevice = oItem.Rename(argName, argSvcAcct, argSvcAcctPw)
WScript.Sleep(intSeconds)
If (RenameDevice = "0") Then
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was successfully renamed to" & chrSpace & chrDoubleQuote & argName & chrDoubleQuote & "." & vbCrLf)
Else
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was not renamed successfully." & chrSpace & "(" & RenameDevice & ")" & "." & vbCrLf)
WScript.Quit(RenameDevice)
End If
'Rename the device using its serial number truncated to 15 characters for computer name limit
ElseIf (oArguments.Exists("Rename")) And Not (oArguments.Exists("Name")) Then
RenameDevice = oItem.Rename(strSerialNumber, argSvcAcct, argSvcAcctPw)
WScript.Sleep(intSeconds)
If (RenameDevice = "0") Then
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was successfully renamed to" & chrSpace & chrDoubleQuote & strSerialNumber & chrDoubleQuote & "." & vbCrLf)
Else
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was not renamed successfully." & chrSpace & "(" & RenameDevice & ")" & "." & vbCrLf)
WScript.Quit(RenameDevice)
End If
End If
'Remove device from the Domain
If (strPartOfDomain = "TRUE") And (oArguments.Exists("UnjoinDomain")) Then
UnjoinDomain = oItem.UnjoinDomainOrWorkgroup(argSvcAcctPw, argSvcAcct)
WScript.Sleep(intSeconds)
If (UnjoinDomain = "0") Then
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was successfully removed from the" & chrSpace & chrDoubleQuote & strDomain & chrDoubleQuote & chrSpace & "domain." & vbCrLf)
Else
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was unsuccessful" & chrSpace & "(" & UnjoinDomain & ")" & chrSpace & "in being removed from the" & chrSpace & chrDoubleQuote & strDomain & chrDoubleQuote & chrSpace & "domain." & vbCrLf)
WScript.Quit(UnjoinDomain)
End If
End If
'Join the specified Domain
If (strPartOfDomain = "FALSE") And (oArguments.Exists("JoinDomain")) And (oArguments.Exists("Domain")) And Not (argDomain = "") And Not (oArguments.Exists("JoinWorkGroup")) Then
Const Join_Domain = 1
Const Acct_Create = 2
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
fJoinOptions = Join_Domain + Acct_Create
JoinDomain = oItem.JoinDomainOrWorkgroup(argDomain, argSvcAcctPw, argSvcAcct, Null, fJoinOptions)
WScript.Sleep(intSeconds)
If (JoinDomain = "0") Then
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was successful in joining the" & chrSpace & argDomain & chrSpace & "domain." & vbCrLf)
Else
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was unsuccessful" & chrSpace & "(" & JoinDomain & ")" & chrSpace & "in joining the" & chrSpace & chrDoubleQuote & argDomain & chrDoubleQuote & chrSpace & "domain." & vbCrLf)
WScript.Quit(JoinDomain)
End If
End If
'Join the specified Workgroup
If (strPartOfDomain = "FALSE") And (oArguments.Exists("JoinWorkGroup")) And (oArguments.Exists("WorkGroup")) And Not (argWorkGroup = "") And Not (oArguments.Exists("JoinDomain")) Then
JoinWorkGroup = oItem.JoinDomainOrWorkgroup(argWorkgroup, argSvcAcctPw, argSvcAcct, Null, 0)
WScript.Sleep(intSeconds)
If (JoinWorkGroup = "0") Then
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was successful in joining the" & chrSpace & argWorkgroup & chrSpace & "workgroup." & vbCrLf)
Else
WScript.Echo(chrDoubleQuote & strComputerName & chrDoubleQuote & chrSpace & "was unsuccessful" & chrSpace & "(" & JoinWorkgroup & ")" & chrSpace & "in joining the" & chrSpace & chrDoubleQuote & argWorkgroup & chrDoubleQuote & chrSpace & "workgroup." & vbCrLf)
WScript.Quit(JoinWorkGroup)
End If
End If
Next
End If
'Provide information about the device
If (oArguments.Exists("Info")) Then
If Not (strDNSHostName = "") Then
WScript.Echo("FDQN:" & chrSpace & strDNSHostName & vbCrLf)
End If
If Not (strDomain = "") Then
WScript.Echo("Domain:" & chrSpace & strDomain & vbCrLf)
End If
If Not (strPartOfDomain = "") Then
WScript.Echo("Currently joined to a domain:" & chrSpace & strPartOfDomain & vbCrLf)
End If
If Not (strComputerName = "") Then
WScript.Echo("Computer name:" & chrSpace & strComputerName & vbCrLf)
End If
If Not (strDomainUserName = "") Then
WScript.Echo("Current Username w/ Domain:" & chrSpace & strDOmainUserName & vbCrLf)
End If
If Not (strUserName = "") Then
WScript.Echo("Current Username w/o Domain:" & chrSpace & strUserName & vbCrLf)
End If
If Not (strWorkgroup = "") And (strPartOfDomain = "FALSE") Then
WScript.Echo("Workgroup:" & chrSpace & strWorkgroup & vbCrLf)
End If
End If
'Optionally Restart Device
If (oArguments.Exists("Restart")) Then
Call RestartDevice
End If
If you use this script at the end of your task sequence, it will complete the domain join. Working and tested successfully.
1. You need to remove Domain Information from Unattend.xml files for MDT so that it cannot write the variables to these sections and join the computer to the domain too early.
2. Create a Task Sequence Group
3. Create a "Run Command Line" Task Sequence Step
3a. Name the step as the following
Join "%OSDDomainName%" Domain as "%OSDJoinAccount%"
3b. Run the following command
cscript.exe "%SCRIPTROOT%\Custom-ZTIDomainJoin.vbs" /JoinDomain /Domain:"%OSDDomainName%"
/SvcAcct:"%OSDJoinAccount%" /SvcAcctPw:"%OSDJoinPassword%"
3c. Place the following conditions on it
If All Conditions Are True
Task Sequence Variable HostName equals %SerialNumber%
Task Sequence Variable IsVM equals False
This script can rename, join workgroup, join domain, unjoin domain, and restart the device all based on arguments
@Microsoft Import this into MDT somehow because the post DomainJoin functionality does not appear to work for my environment, but of course, this could be my environment, but hopefully this helps somebody! -
DNS working intermittently for non-domain joined machines
I have a small single Server 2012 based network, with about 90% windows clients. DNS is running on the Windows Server 2008 machine, but DHCP is provided via a unix based firewall machine. Within the DNS configuration I have all of my windows
clients (mostly Windows 8.x clients, but there are a few Windows 7 ones as well) and a few *nix ones as well. All of the Windows clients are domain joined, except for one machine which is currently running Windows 10 preview, though it was a Windows
7 machine originally. In the DNS configuration I have a number of statically entered A records, used to give my *nix machines a name on the local network.
When trying to access systems by name (via ping or by other services), there is a very consistent behavior - my domain joined machines are able to resolve all names 100% of the time without any issues. However, the non-domain joined machines, both
Windows and not, are consistently inconsistent. To be more precise, when I try to resolve a name it will randomly work and randomly not. IP setup and configuration looks correct, meaning they have valid IP, DNS is set to my Windows Server,
default gateway, etc. are all correct. Pinging external machines (ie google.com, etc.) works 100% of the time, but trying to ping any internal machine is a total crap shoot. The only exception to this is the Windows Server 2012 machine itself,
which always works.
From past experience I know that the moment I join a machine to the domain all of the DNS issues goes away, which is fine for the Windows boxes but not so much for the rest. I also have visitors occasionally come by, who I cannot expect to join my
domain just to make things work normally.
This network originally started life out as Windows Server 2003 domain, but was upgraded to 2012 about two months ago. I have been seeing this problem for years, but have always assumed it to be a Server 2003 issue and figured it would go away when
I upgraded. Nope...
Any ideas as to the cause of this and what I can do about it?
Thanks,
peterIts really weird - I can ping an address and not have it work, then do a NSLookup of the same address against my DNS server and it resolves just fine. Take a look at this screen copy below:
C:\Users\Peter>ping apollo.bakonet.local
Ping request could not find host apollo.bakonet.local. Please check the name and try again.
C:\Users\Peter>nslookup apollo.bakonet.local 192.168.124.9
Server: orac.bakonet.local
Address: 192.168.124.9
Name: apollo.bakonet.local
Address: 192.168.124.27
C:\Users\Peter>ping apollo.bakonet.local
Ping request could not find host apollo.bakonet.local. Please check the name and try again.
C:\Users\Peter>ipconfig /all |more
Windows IP Configuration
Host Name . . . . . . . . . . . . : Win10
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : bakonet.local
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection
Physical Address. . . . . . . . . : 00-21-CC-65-1B-8F
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : A0-88-B4-A2-41-81
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : bakonet.local
Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6205
Physical Address. . . . . . . . . : A0-88-B4-A2-41-80
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::fc47:8a91:6b25:bd0e%2(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.124.64(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, January 5, 2015 7:34:47 PM
Lease Expires . . . . . . . . . . : Tuesday, February 3, 2015 7:15:20 PM
Default Gateway . . . . . . . . . : 192.168.124.1
DHCP Server . . . . . . . . . . . : 192.168.124.1
DHCPv6 IAID . . . . . . . . . . . : 60852404
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1B-C6-18-82-00-21-CC-65-1B-8F
DNS Servers . . . . . . . . . . . : 192.168.124.9
24.229.54.212
216.144.187.199
Primary WINS Server . . . . . . . : 192.168.124.9
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : EC-55-F9-F5-14-76
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Does this actually make sense? Obviously the DNS server is online, it works and when a lookup is requested directly it works, and the DNS server is listed as first in the IP configuration. So why would it not work?! -
Windows 7 MDT Offline Domain Join
In a scenario where a user does not have access to the corporate network, a mostly automated media-based refresh is implemented.
- Refresh laptops from Windows XP/Vista to Windows 7
- MDT task sequence, OS, drivers, apps, contained on a supplied DVD
- User needs only to select the task sequence from the Wizard menu, all else is automated
- Hardlink user state capture and migration
The problem exists with joining the offline computer to the corporate domain. If the domain join fails, the user can't log on to his/her restored domain user profile.
Does anyone have any experience or tips related to using the Win7/2008 djoin.exe utility with an automated MDT task sequence? I can't find much information on it, and it's new to me.
I gather that you have to join the object at the domain first, then extract the required metadata, and somehow inject this individual computer data (aka Base64 blob) in the 'Microsoft-Windows-UnattendJoin/Identification/Provisioning' section of the unattend.xml
... but how to do that with some type of variable? I'd like to avoid creating a customized DVD for every single computer in the field.
I'll keep searching, but if anyone has done this before please let me know your experiences.Appreciate the reply, but I've already read through that. I'm looking for information specific to MDT and suggestion on how to include the process in a [semi] automated task sequence in a media-based offline scenario.
A general idea would be to compile a text file of target computer names, run a script to execute djoin.exe against the list to provision all the computers, generating a base64 blob text file for each. Then, store that repository of files in the deployment
share so it is included on the MDT media. Call the file as a Run Command step using the computer name variable during the task sequence State Restore phase to execute the offline join. eg:
cmd.exe /c djoin.exe /requestODJ /loadfile %ScriptRoot%\Blobs\%OSDComputerName%.txt /windowspath %windir% /localos
In testing, provisioning an existing computer on the DC breaks any domain relationship because the computer account is reset by the /reuse parameter. The relationship can be fixed by running the /requestODJ command on the computer - essentially 'rejoining'
the machine to the domain - but it presents a problem for the time lapse between pre-staging computers and distributing the media. Since the users are all currently running XP or Vista, it doesn't make sense to explore a theory of re-using the same blob
data multiple times, such as immediately after provisioning and then again during the reimage.
I'm opening a call with MS support, but still interested to hear if anyone has used this utility with MDT at all. -
Dear All,
I have a simple Runbook with the following details:
Initialize Data: (First Name, Last Name, Login Name, Deparment Name) --> Create User: Name:(Domain), Common Name, Display Name, First, Last Name, SAM Account Name (From Initialize Data) --> Enable
User: Distinguished Name --> Add User to Group: Group Distinguished Name, User Distinguished Name
Active Directory Management Pack in place and the Prerequisites Configurations are added Too (Configuration User Name, Configuration Password, Configuration DC, Configuration Default OU.
The Runbook is Synched with Service Manager, Request Offering/Service Offering and published to the portal.
When I filled the 4 required values (First Name, Last Name, Login Name, Deparment Name), the Runbook will kick off and the user is created in Active Directory.
The user is placed in the Default OU which is predefined in AD Prerequisites Configurations in Orchestrator.
I need to add another Required Value to my Request Offering (SR) called User Level Enum List (Low, Medium, High).
I need to place the user in a Specific OU based on the Level entered from SSPortal, If the user is Low, then Create the user in this OU, if the user is Medium then create it in this OU, etc...
How can I do this in Orchestrator? What I want to modify in my runbook to accomplish this task?
Thank you,I AM TRYING TO USER/MAILBOX CREATION PROCESS, FOLLOWING IS THE BUSINESS REQUIREMENT
GET THE USER FROM ERP SYSTEM (SQL)
CREATE USER IN SPECIFIC OU
ENABLE THE MAILBOX IN SPECIFIC DATABASE BASED UPON USER ROLE
CREATE A USER IN NAVISION SYSTEM WHICH IS AGAIN JUST CREATING SQL LOGIN.
PLEASE ADVISE ME THE PROCESS AND PROCEDURE ILLUSTRATION IF IT ALL POSSIBLE IN SINGLE RUNBOOK.
I AM ABLE TO CREATE USER/MAILBOX BUT STRUGGLING TO CREATE IN SPECIFIC OU/MAILBOX DB AND SQL LOGIN.
FARRUKH
[email protected]
Farrukh Anwar -
Non domain-joined Clients (CES/CEP)
Hello Everyone!
This is my first post to the security forum and it is not an overly familiar tech for me so please be gentle. :)
I am looking at building a lab to test a web based application for a client. The client has very stringent security requirements and as such have mandated the need for both the web server to be secured using SSL certs and requires the connecting
users to have a certificate. The infrastructure will be hosted in a central DC in it's own AD forest whilst the users connecting in will have their own AD as they work for different companies. Each user will have an AD account within the hosted
environment. My initial thought was to provide public certs for the web servers but my problem was providing certificates to the clients. Clearly using public certs would be very expensive. After a bit of research I stumbled across the following:
http://blogs.technet.com/b/askds/archive/2010/05/25/enabling-cep-and-ces-for-enrolling-non-domain-joined-computers-for-certificates.aspx
What I am trying to understand is, will the combination of Certificate services & CES/CEP effectively do away with the need for public certs in this instance? Can I simply use the internal authority to publish certificates to the web server and
to the end users?Yes - I think this is one of the scenarios CES/CEP have been developed for.
End users would have to trust your internal CA and validate the chain, so intermediate CAs should be found via AIA URLs. But since you need user - not computer - certificates this is simpler than described in the article as users do not need to be local
admins to import a root. (But on principle the admin of a user's home AD could restrict this though I have never encountered that.)
You would need to publish the CES/CEP services via a reverse proxy and external users would have to configure the enrollment HTTP URLs and enter their AD credentials in the hosted AD when connecting.
As users have imported your CA certificate they will also trust the web server's certificate issued from the same CA.
Elke -
Domain joined Windows 8.1 using OneDrive to sync passwords across devices
Background : Domain joined Windows 8.1 devices using OneDrive to sync settings across devices, including "Passwords" under Other Settings. Domain user accounts are NOT local administrators.
Issue : When one drive goes to sync Wireless network security settings (passphrases etc...), a User Account Control (UAC) dialogue pops up from "Program Name : Networks" to enter administrator credentials. Domain users do not have administrator access
to local computers by strict policy.
The only way identified so far to stop the dialogue pop-up is to disable the password sync by group policy. However, that turns off ALL password syncing, including passwords desired to be sync'd, that do not encounter this issue.
Can the UAC be suppressed? Is there a way to NOT sync the wireless password settings?
Welcome any thoughts, direction, assistance, etc... :) Thanks much and have a good day!Hi,
I searched around but haven't find one way to achieve this, thus I'm afraid that we're unable to prevent the specific network password setting. the syncing settings for all passwords are combined together.
To suppress UAC, we can turn off the UAC under control panel\User Account or via GP Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> Security Options ,but we don't recommend this.
Yolanda Zhu
TechNet Community Support -
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?
--TonyAwesome! 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 -
Hi,
following is the error while joining a 2008 R2 sp1 server to the domain
NetpLdapBind: ldap_bind failed on <DC>: 86: Auth Unknown
NetpJoinDomainOnDs: Function exits with status of: 0x52b
Any clue?If the Patch from Lany Zhang(MSFT) does not correct the issue we will need to start looking at the domain and forest health, and communication between the clients and domain
Whats the Forest Functional Level?
Domain Functional Level?
Domain Controllers OS level?
Ipconfig /all From both the client (2008 R2) and the domain controller.
Would also like to know if replication between domain controllers is healthy.
So based on http://msdn.microsoft.com/en-us/library/gg465310.aspx
LDAP_Auth_Unknown(0x56) basically translates to the windows world as ERROR_WRONG_PASSWORD
Brad Held http://windorks.wordpress.com -
Domain Join Policy According to Host Name list
hi all,
It is possible? we create a group policy to join domain only those computer join the domain that host name or specific pattern predefine in GP for example,
Host name:
ABC-123
ABC-456
ABC-789
only join domain for this pattern furthermore any others host name are unable to join a domain .Hello,
GPOs can be applied from domain computers or domain users, so they have to be already member from the domain BEFORE GPOs are applied.
But you should think about using WDS, MDT or other installation mechanism so you can predefine the used machines names.
There will be also scripted options available but therefore please ask in
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
Best regards
Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://blogs.msmvps.com/MWeber
Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
Twitter: -
Domain Joined SQL Azure DB Servers
Hi,
Is it possible to have domain joined SQL Azure servers or Database so that we can use logins based on domain joint ?
ThanksHi
SQL Azure currently does not support windows auth and it only supports sql auth where user should provide username and password all the time:
https://msdn.microsoft.com/en-us/library/azure/hh969247.aspx
Regards
Aram -
Using Microsoft account on domain-joined Windows 10 Technical Preview
(First asked at
http://answers.microsoft.com/en-us/windows/forum/windows_tp-security/using-microsoft-account-on-domain-joined-windows/63093b15-af76-4461-a23e-8f8b739f4960, was told to come here...)
I have in-place upgraded a domain-joined Windows 7 machine to Windows 10 Technical Preview build 9860.
I can log on as before using my domain account, but I'd also like to be able to log on using my (personal) Microsoft account.
I tried typing [email protected] in the "user" box but this didn't work.
Any clue? Maybe the only way is to first create a local account and then associate it with the MSA but IMVHO this shouldn't be necessary...Hi sba,
If we updated to Windows 10 Technical Preview from Windows 7, Windows will keep your Windows settings, personal files, and most apps. And based on what I know, if we haven’t create a Microsoft Account on Windows 10 (or there is no Microsoft account available
before we update to Windows 10), it will not allow us to sign in with a Microsoft Account.
To make it able to sign in with a Microsoft account, we need either connect a local account to a Microsoft account (Under PC settings->Users and Accounts-> Your profile)
or
create a new user account(under PC settings->Users and Accounts->Other users->Mange other users-> Add a user);
Best regards
Michael Shao
TechNet Community Support -
OIM - Email notification to a specific user based on a dynamic rule
Hello, After creation of account in a particular target resource I need to send an email to a specific user based on the location of the user (e.g area admin).
In the notification tab of process tasks, I see only "Assignee", "Requestor", "User", "User Manager"? How can I achive the above specified requirement?
Before posting this question, I tried to search the forum for any previous posts related to this. But I couldn't find any. May be I was not searching with right key words.
Any help is appreciated. Thanks in advance.You'll need to custom code an adapter to send the email, then you can send to any user you want. Create a new task and trigger it off the completion response code. You can use the following apis:
tcEmailNotificationUtil sendMail = new tcEmailNotificationUtil(ioDatabase);
sendMail.setBody("Type your body here or use a string variable");
sendMail.setSubject("Type your subject here or use a string variable");
sendMail.setFromAddress("[email protected]");
sendMail.sendEmail("[email protected]");
Just populate the above pieces with the information needed.
-Kevin -
Hi,
Windows 7 or Windows Server 2008 R2 domain join displays error "Changing the Primary Domain DNS name of this computer to "" failed...."
DC:windows Server 2008 R2
Domain functional level:Windows Server 2003
When Winxp join domain, have no this error message.
I checked http://support.microsoft.com/kb/2018583?wa=wsignin1.0 does't work.
There have 3 suggestion in this article:
1.The "Disable NetBIOS over TCP/IP" checkbox has been disabled in the IPv4 properties of the computer being joined.
Doesnt's work.
2.Connectivity over UDP port 137 is blocked between client and the helper DC servicing the join operation in the target domain.
On my DC, I run netstat -an, reslut as below:
UDP 192.168.20.3:137 *:*
3.The TCP/IPv4 protocol has been disabled so that the client being joined or the DC in the destination domain targeted by the LDAP BIND is running TCP/IPv6 only.
We are not using IPV6.
This server recently updated from Windows Server 2003 to Windows Server 2008 R2. Before upgrade, when Win7 and Win2008 join this domain, also have the same error message.
Please help to check this issue.
Thank you very much.
BR
Guo YingHuiHi Guo Ying,
I have faced this critical error which makes over-writes the host names in the domain when you join.
For example: Already you had a host name called as PC.domain.com in the domain.com Domain.
When you try to add the another host name called as PC in the domain.com Domain, it doesn't give you the duplicate name error on the network it does over-write the existing host name called as PC.domain.com & it will add the new host name into the domain.
Host name which got over-written will get removed from the domain. I faced this issue in my project. My DPM host name got removed from the Domain & new host name got joined into the domain which halted my backups for one day.
Final Resolution is as follows:
You need to start the dns console on the DC & drop down the domain name.
Select the _msdcs when you click on _msdcs it will show the Name Server's list on the right hand side.
You need to add the Domain Naming Master under the _msdcs or add all the domain controllers which you had.
After you add the Name server's try joining the PC OR Laptop to the domain which is successfully joins it.
Regards
Anand S
Thanks & Regards Anand Sunka MCSA+CCNA+MCTS
Maybe you are looking for
-
Weird Thumbnail Dimensions for EPS Files in Bridge CS4
Using Preferences> Thumbnails, I have set Bridge CS4 to show "Dimensions" as one of the metadata items. It works correctly for PSD, NEF, and TIF files, but not EPS files. For example, a PSD file may show dimensions of 1006 x 583 pixels. But he same i
-
Nokia E72 - Problem with Lotus Traveler 8.5.1.3
I have 2 Nokia E72 correctly configured with Lotus Traveler that don't send outgoing the email... This is my test and configuration: a) Scenario with emails/calendar without contacts to sync The devices work perfectly without contacts... ( I receive
-
Firefox won't open .eml files
whenever I receive an .eml email, firefox just shows a bunch of letters and numbers which make no sense whatever
-
HT201210 Apple activation server's are down??
I am not able to activate my phone since yesterday. I tried so many times but its not working. Anyone else facing problems???
-
Oracle Servlet Engine/Apache
Hi, I am trying to jsp published in oracle throught Apache. In my tnsnames.ora configuration is like inst1_http = (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp) (HOST=alex)(PORT=7988)) (CONNECT_DATA= (SERVICE_NAME=myserver) (SERVER=shared) (PRESENTATION=http: