About

MS MVP Logo

View Marc Lognoul [MVP]'s profile on LinkedIn

Disclaimer

The information and materials in this site are provided "AS IS" with no warranties, and confering no rights. This site does not represent the thoughts, intentions, plans or strategies of our employers, customers, friends or family, solely our own personal opinions.

Tech Notes - Windows Log Files: Domain Join Log (netsetup.log)

Applies to
Windows 2000, XP, 2003, 2003-R2, Vista, 2008, Seven and 2008-R2
Log Type
Debug/Trace
Description
Name resolution, authentication and other local and remote operations involved when joining a workgroup or a domain
File Name and Location
%windir%\debug\NetSetup.log
Default Configuration
Enabled
How To Configure
Not Configurable
Recommended Configuration
N/A
Parsing and Analysis
Additional Information
Example
10/17 15:22:22 NetpValidateName: checking to see if 'avatar.local' is valid as type 3 name
10/17 15:22:22 NetpCheckDomainNameIsValid [ Exists ] for 'avatar.local' returned 0x0
10/17 15:22:22 NetpValidateName: name 'avatar.local' is valid for type 3
10/17 15:22:23 -----------------------------------------------------------------
10/17 15:22:23 NetpDoDomainJoin
10/17 15:22:23 NetpMachineValidToJoin: 'MYWORKSTATION'
10/17 15:22:23 NetpGetLsaPrimaryDomain: status: 0x0
10/17 15:22:23 NetpMachineValidToJoin: status: 0x0
10/17 15:22:23 NetpJoinDomain
10/17 15:22:23 Machine: MYWORKSTATION
10/17 15:22:23 Domain: avatar.local
10/17 15:22:23 MachineAccountOU: OU=Workstations,DC=avatar,DC=local
10/17 15:22:23 Account: avatar\zuko
10/17 15:22:23 Options: 0x40003
10/17 15:22:23 OS Version: 5.1
10/17 15:22:23 Build number: 2600
10/17 15:22:23 ServicePack: Service Pack 2
10/17 15:22:23 NetpValidateName: checking to see if 'avatar.local' is valid as type 3 name
10/17 15:22:23 NetpCheckDomainNameIsValid [ Exists ] for 'avatar.local' returned 0x0
10/17 15:22:23 NetpValidateName: name 'avatar.local' is valid for type 3
10/17 15:22:23 NetpDsGetDcName: trying to find DC in domain 'avatar.local', flags: 0x1020
10/17 15:22:29 NetpDsGetDcName: failed to find a DC having account 'MYWORKSTATION$': 0x525
10/17 15:22:29 NetpDsGetDcName: found DC '\\DC01.avatar.local' in the specified domain
10/17 15:22:29 NetpJoinDomain: status of connecting to dc '\\DC01.avatar.local': 0x0
10/17 15:22:29 NetpGetLsaPrimaryDomain: status: 0x0
10/17 15:22:29 NetpGetDnsHostName: Read NV Hostname: MYWORKSTATION
10/17 15:22:29 NetpGetDnsHostName: PrimaryDnsSuffix defaulted to DNS domain name: avatar.local
10/17 15:22:29 NetpLsaOpenSecret: status: 0xc0000034
10/17 15:22:29 NetpGetComputerObjectDn: Cracking DNS domain name avatar.local/ into Netbios on \\DC01.avatar.local
10/17 15:22:29 NetpGetComputerObjectDn: Crack results: name = AVATAR\
10/17 15:22:29 NetpGetComputerObjectDn: Cracking account name AVATAR\MYWORKSTATION$ on \\DC01.avatar.local
10/17 15:22:29 NetpGetComputerObjectDn: Crack results: Account does not exist
10/17 15:22:29 NetpGetComputerObjectDn: Got DN CN=MYWORKSTATION,OU=Workstations,DC=avatar,DC=local from the passed OU
10/17 15:22:29 NetpModifyComputerObjectInDs: Initial attribute values:
10/17 15:22:29 objectClass = Computer
10/17 15:22:29 SamAccountName = MYWORKSTATION$
10/17 15:22:29 userAccountControl = 4096
10/17 15:22:29 DnsHostName = MYWORKSTATION.avatar.local
10/17 15:22:29 ServicePrincipalName = HOST/MYWORKSTATION.avatar.local HOST/MYWORKSTATION
10/17 15:22:29 NetpModifyComputerObjectInDs: Computer Object does not exist in OU
10/17 15:22:29 NetpModifyComputerObjectInDs: Attribute values to set:
10/17 15:22:29 objectClass = Computer
10/17 15:22:29 SamAccountName = MYWORKSTATION$
10/17 15:22:29 userAccountControl = 4096
10/17 15:22:29 DnsHostName = MYWORKSTATION.avatar.local
10/17 15:22:29 ServicePrincipalName = HOST/MYWORKSTATION.avatar.local HOST/MYWORKSTATION
10/17 15:22:29 NetpModifyComputerObjectInDs: Toggled UserAccountControl successfully
10/17 15:22:30 ldap_unbind status: 0x0
10/17 15:22:30 NetpJoinDomain: status of creating account in OU: 0x0
10/17 15:22:30 NetpGetLsaPrimaryDomain: status: 0x0
10/17 15:22:30 NetpSetLsaPrimaryDomain: for 'AVATAR' status: 0x0
10/17 15:22:30 NetpJoinDomain: status of setting LSA pri. domain: 0x0
10/17 15:22:30 NetpJoinDomain: status of managing local groups: 0x0
10/17 15:22:30 NetpJoinDomain: status of setting netlogon cache: 0x0
10/17 15:22:31 NetpJoinDomain: status of setting ComputerNamePhysicalDnsDomain to 'avatar.local': 0x0
10/17 15:22:31 NetpUpdateW32timeConfig: 0x0
10/17 15:22:31 NetpJoinDomain: status of disconnecting from '\\DC01.avatar.local': 0x0
10/17 15:22:31 NetpDoDomainJoin: status: 0x0