Domain Join Debug Log

  • Open the file C:\WINDOWS\Debug\NetSetup.log.
  • Go to the very bottom of the file and find the last “NetpDoDomainJoin: status:”
  • If it is not 0x0, then the domain join failed and the code listed instead of 0x0 is the reason it failed.
  • Now, look at each previous line in the file until you come across the last line in the file that returned the same failure code as your Domain Join.
  • You have found the step of the domain join that failed and the reason it failed.



Managing Storage with Windows PowerShell on Windows Server 2012

Use PowerShell to Find Locked-Out User Accounts

How can I tell if 2008 R2 AD recycle bin is turned on?

PS C:\Users\Administrator> Get-ADOptionalFeature -Filter ‘name -like “Recycle Bin Feature”‘
 DistinguishedName  : CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Conf
EnabledScopes      : {}
FeatureGUID        : 766ddcd8-acd0-445e-f3b9-a7f9b6744f2a
FeatureScope       : {ForestOrConfigurationSet}
IsDisableable      : False
Name               : Recycle Bin Feature
ObjectClass        : msDS-OptionalFeature
ObjectGUID         : e298994a-88e9-47a5-807a-7009c18098f5
RequiredDomainMode :
RequiredForestMode : Windows2008R2Forest
if ENABLEDSCOPES contains values, then it is enabled! As you can see above, in my AD forest it is disabled. Remember: after enabling, you cannot disable it anymore!

Active Directory Replication Types

The modern version of ping: Test-Connection

%d bloggers like this: