Promote a 2012 DC using PowerShell 3.0 workflow hangs on Install-ADDSForest

Unanswered Promote a 2012 DC using PowerShell 3.0 workflow hangs on Install-ADDSForest

  • Wednesday, November 14, 2012 7:25 PM
     
      Has Code

    Hi,

    seeing the value in PowerShell 3.0 workflow for machine / classroom installation I am trying to automate the entire installation of a SharePoint 2013 machine. First steps include making the server a domain controller.

    To promote the domain controller  I make use of the ADDSDeployment module / Install-ADDSForest command. When used in a normal, non-workflow, PowerShell session the command works just fine. However, when running this command in a workflow that continues after a reboot the command seems to hang. I also found that debugging a workflow, well, is rather difficult :)

    First, my sample script configures the computer name. Next it reboots. The workflow will be continueing with the installion of the AD-Domain-Services feature. Right after that I call Install-ADDSForest. You can find the full script below.

    For getting the workflow to auto-continue after the reboot I have used two approaches. I have tried to use the RunOnce registry key to fire up PowerShell. This would be my preferred approach as you can see the PowerShell window running before the Explorer shell loads. The second approach involves the scheduled task trigger as described on Technet in the PowerShell workflow section. Either way, the promotion command is stuck. I have left it running overnight, after which the workflow still wasn't done.

    Here's my awesomeness:

    workflow Install-Wingtip {
        
        InlineScript { 
            $Computer = Get-WmiObject Win32_ComputerSystem
            $Computer.Rename("WingtipDC") | Out-Null
        }
       
    
        #Get ready for reboot
    
        #Either use the RunOnce key combined with auto-login
        #Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\RunOnce" `-Name "ConfigureServer" -Value "powershell -executionPolicy Unrestricted -Command Import-Module PSWorkflow; Get-Job | Resume-Job -Wait; Get-Job | Wait-Job"
        #Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "DefaultUserName" -Value "Administrator"
        #Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "DefaultPassword" -Value "pass@word1" 
        #Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "AutoAdminLogon" -Value "1" 
        #Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "AutoLogonCount" -Value "1" 
        
        # Or use a -AtStartup trigger
        $Trigger = New-ScheduledTaskTrigger -AtStartup
        Register-ScheduledJob -Name ResumeWorkflow -Trigger $Trigger -ScriptBlock { Import-Module PSWorkflow; Get-Job -State Suspended | Resume-Job }
        
        Restart-Computer -Wait
    
        InlineScript {
            Import-Module ServerManager
            Install-WindowsFeature AD-Domain-Services
        }
        InlineScript {
            Import-Module ADDSDeployment
            Install-ADDSForest `
                -DomainName "Wingtip.com" `
                -DomainNetbiosName "Wingtip" `
                -SafeModeAdministratorPassword (ConvertTo-SecureString -String "pass@word1" -AsPlainText -Force) `
                -NoDnsOnNetwork `
                -InstallDns `
                -DomainMode Win2008R2 `
                -ForestMode Win2008R2 `
                -NoRebootOnCompletion `
                -Confirm:$false
        }
        Write-Output -InputObject "Done creating domain controller"
    }

    Perhaps anyone has tried something similar? I cannot be the only one looking at promoting a DC through workflow I guess!

    Thanks,

    Wouter

All Replies

  • Thursday, November 15, 2012 5:05 AM
     
     
  • Thursday, November 15, 2012 7:14 AM
     
     

    Nope. These blog articles seem to be a lesser version than the information already present on Technet, and as I said I am already using the AD cmdlets, but I have issues with using them in a PowerShell 3.0 workflow which is a subject not touched at all in the links you provide. I fail to see the usefulness of your reply.

  • Thursday, November 15, 2012 7:35 AM
     
     

    Hi,

    Check these links for more information about CMDLets od AD in PS3.0. The script that you are using looks OK for me. Are you facing any issue while executing it?

    http://technet.microsoft.com/en-us/library/hh852274.aspx

    http://technet.microsoft.com/en-us/library/hh472162#BKMK_PS

    http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2012/09/03/new-features-in-active-directory-domain-services-in-windows-server-2012-part-2-new-promotion-process.aspx

  • Thursday, November 15, 2012 8:34 AM
     
     

    Have you read the question itself or only the title?

    When used in a normal, non-workflow, PowerShell session the command works just fine. However, when running this command in a workflow that continues after a reboot the command seems to hang.

  • Thursday, November 15, 2012 9:21 AM
     
     

    Off course I read entire query, I'm trying to simplify the query for you. However I suggest you to post this query in Powershell forum for better answer, to do so use this link.

    PowerShell

  • Thursday, November 15, 2012 10:23 AM
     
     

    Sorry, was a bit uncalled for. You did ask 'Are you facing any issue while executing it?' though, so I thought you just skipped past the content and replied on the title only.

    On a side note, I started out in the PowerShell forum and was redirect here as well. It is just that generic pages on TechNet do not help to find solutions to this issue given the fact that it only occurs when running inside a PowerShell workflow. The command itself works fine, but not in this scenario. And there is no page on Technet that discusses this in any detail.

    Thanks,

    Wouter

  • Monday, November 19, 2012 9:13 AM
     
     

    You described "hangs on Install-ADDSForest", how do you determine the command hangs on Install-ADDSForest?

    Attempt to take different action based on your finding:

    a. When the command hangs, you can check if the Active Directory Domain Service has been installed successfully, if not, analyze Server Manager debug log under C:\Windows\Logs\ServerManager.log.

    b. If the service has already installed, the command should go into the promotion phase, you can check dcpromo.log under C:\Windows\Debug for some clue.

    Or you can post related output file for check.

    Regards,

    Diana


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Wednesday, November 21, 2012 1:22 PM
     
     

    Hi,

    Any update?

    Regards,

    Diana


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Thursday, November 22, 2012 9:33 PM
     
     

    Hi Diana,

    sorry, was out prepping for a SharePoint conference, than the conference happened. Forgot to post info here. I am reinstalling the VM as we speak.

    Wouter

  • Thursday, November 22, 2012 10:00 PM
     
     

    Hi Diana,

    based on the logs I can definitely say that it is stuck in the configuration phase somewhere. The last lines are as follows

    cpromoui 44C.338 02D3 22:49:59.979         Enter State::AutoConfigureDNS true
    dcpromoui 44C.338 02D4 22:49:59.979         Enter State::GetCreateDnsDelegation false
    dcpromoui 44C.338 02D5 22:49:59.979         Enter State::IsReadOnlyReplica false
    dcpromoui 44C.338 02D6 22:49:59.979         Enter State::GetSYSVOLPath C:\Windows\SYSVOL
    dcpromoui 44C.338 02D7 22:49:59.979         Enter State::GetLogPath C:\Windows\NTDS
    dcpromoui 44C.338 02D8 22:49:59.979         Enter State::GetDatabasePath C:\Windows\NTDS
    dcpromoui 44C.338 02D9 22:49:59.979         Enter State::AutoConfigureDNS true
    dcpromoui 44C.338 02DA 22:49:59.979         Enter State::IsDnsServerAlreadyInstalled
    dcpromoui 44C.338 02DB 22:49:59.979           bDnsServerAlreadyInstalled = false
    dcpromoui 44C.338 02DC 22:49:59.979         Enter State::GetSkipAutoconfigureDns false
    dcpromoui 44C.338 02DD 22:49:59.979         Enter State::ShouldConfigDnsClient
    dcpromoui 44C.338 02DE 22:49:59.979           shouldConfigDnsClient = true
    dcpromoui 44C.338 02DF 22:49:59.979         Enter State::GetNeedToTransferIMRole
    dcpromoui 44C.338 02E0 22:49:59.979           bNeedToTransferIMRole = false 

    So, it seems stuck at GetNeedToTransferIMRole. Not sure what that is supposed to do though. I bet, not being stuck :)

    The head of the logs is pasted below for completeness sake. Didn't find to much special things there but I thought I'd post it anyway. I do already have a workaround by starting the promotion in a new process. Works fine that way but I'd rather not have to.

    Regards, Wouter 

     

    dcpromoui 44C.338 0000 22:49:50.209 opening log file C:\Windows\debug\dcpromoui.log
    dcpromoui 44C.338 0001 22:49:50.209 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    dcpromoui 44C.338 0002 22:49:50.209 file timestamp 07/26/2012 04:08:33.575
    dcpromoui 44C.338 0003 22:49:50.209 C:\Windows\SYSTEM32\dcpromocmd.dll
    dcpromoui 44C.338 0004 22:49:50.209 file timestamp 07/26/2012 04:05:25.050
    dcpromoui 44C.338 0005 22:49:50.209 local time 11/22/2012 22:49:50.209
    dcpromoui 44C.338 0006 22:49:50.209 running Windows NT 6.2 build 9200  (BuildLab:9200.win8_rtm.120725-1247) amd64
    dcpromoui 44C.338 0007 22:49:50.209 logging flags 0021007C

  • Friday, November 23, 2012 8:56 AM
     
     

    Hi Wouter,

    dcpromoui log includes all information we operated in UI, dcpromo.log is more professional, and useful for your problem. Can you reproduce the issue and then post dcpromo.log under C:\Windows\Debug?

    Regards,

    Diana


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Friday, November 23, 2012 10:56 PM
     
     

    Hi Diana,

    during the setup there is no dcpromo.log present in the folder you mention. I have a dcpromoui.log and a dfsr000001.log as well as a netsetup.log. Fun stuff, if I read the dcpromoui.log correctly it should have created a domain controller and a new forest. However, my machine is still member of a workgroup after reboot, so it isn't in the state you'd expect.

    DCPROMOUI LOG


    dcpromoui 3A0.9F0 0196 23:41:22.366         Enter CheckDomainDnsNormalization Wingtip.com
    dcpromoui 3A0.9F0 0197 23:41:22.366           Enter ValidateDnsNameNormalization Wingtip.com
    dcpromoui 3A0.9F0 0198 23:41:22.366             The canonical form is wingtip.com.
    dcpromoui 3A0.9F0 0199 23:41:22.366             result = true
    dcpromoui 3A0.9F0 019A 23:41:22.366         Enter State::SetNewDomainDNSName Wingtip.com
    dcpromoui 3A0.9F0 019B 23:41:22.366       performed state 9, next state 18
    dcpromoui 3A0.9F0 019C 23:41:22.366       Enter NetbiosNameFunct
    dcpromoui 3A0.9F0 019D 23:41:22.366         Enter GetAnswerFileOption DomainNetbiosName
    dcpromoui 3A0.9F0 019E 23:41:22.366           Enter AnswerFile::GetOption DomainNetbiosName
    dcpromoui 3A0.9F0 019F 23:41:22.366             using value from cmdline
    dcpromoui 3A0.9F0 01A0 23:41:22.366             Wingtip
    dcpromoui 3A0.9F0 01A1 23:41:22.366         Enter NetbiosNameFunctInternal
    dcpromoui 3A0.9F0 01A2 23:41:22.366           Enter ValidateDomainNetbiosName Wingtip
    dcpromoui 3A0.9F0 01A3 23:41:22.366             Enter Dns::HostnameToNetbiosName Wingtip
    dcpromoui 3A0.9F0 01A4 23:41:22.366               WINGTIP
    dcpromoui 3A0.9F0 01A5 23:41:22.366             Enter ValidateNetbiosDomainName WINGTIP
    dcpromoui 3A0.9F0 01A6 23:41:22.366               Enter NetbiosValidationHelper
    dcpromoui 3A0.9F0 01A7 23:41:22.366                 Calling NetpwNameValidate
    dcpromoui 3A0.9F0 01A8 23:41:22.366                 valid name
    dcpromoui 3A0.9F0 01A9 23:41:22.366             Enter MyNetValidateName
    dcpromoui 3A0.9F0 01AA 23:41:22.366               Calling NetValidateName
    dcpromoui 3A0.9F0 01AB 23:41:22.366               lpServer   : (null)
    dcpromoui 3A0.9F0 01AC 23:41:22.366               lpName     : Wingtip
    dcpromoui 3A0.9F0 01AD 23:41:22.366               lpAccount  : (null)
    dcpromoui 3A0.9F0 01AE 23:41:22.366               lpPassword : (null)
    dcpromoui 3A0.9F0 01AF 23:41:22.366               NameType   : NetSetupNonExistentDomain
    dcpromoui 3A0.9F0 01B0 23:41:22.366               Using the same thread : true
    dcpromoui 3A0.9F0 01B1 23:41:27.788               HRESULT = 0x00000000
    dcpromoui 3A0.9F0 01B2 23:41:27.788           ValidateDomainNetbiosName returned 0
    dcpromoui 3A0.9F0 01B3 23:41:27.788           Enter State::SetNewDomainNetbiosName Wingtip
    dcpromoui 3A0.9F0 01B4 23:41:27.788           Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 01B5 23:41:27.788       performed state 18, next state 19
    dcpromoui 3A0.9F0 01B6 23:41:27.788       Enter ForestFunctionalLevelFunct
    dcpromoui 3A0.9F0 01B7 23:41:27.788         Enter GetAnswerFileOption ForestLevel
    dcpromoui 3A0.9F0 01B8 23:41:27.788           Enter AnswerFile::GetOption ForestLevel
    dcpromoui 3A0.9F0 01B9 23:41:27.788             using value from cmdline
    dcpromoui 3A0.9F0 01BA 23:41:27.788             4
    dcpromoui 3A0.9F0 01BB 23:41:27.788         Enter State::SetForestFunctionalLevel
    dcpromoui 3A0.9F0 01BC 23:41:27.788           forest functional level: 4
    dcpromoui 3A0.9F0 01BD 23:41:27.788       performed state 19, next state 20
    dcpromoui 3A0.9F0 01BE 23:41:27.788       Enter DomainFunctionalLevelFunct
    dcpromoui 3A0.9F0 01BF 23:41:27.788         Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 01C0 23:41:27.788         Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 01C1 23:41:27.788         Enter State::GetForestFunctionalLevel
    dcpromoui 3A0.9F0 01C2 23:41:27.788           forest functional level: 4
    dcpromoui 3A0.9F0 01C3 23:41:27.788         Enter GetAnswerFileOption DomainLevel
    dcpromoui 3A0.9F0 01C4 23:41:27.788           Enter AnswerFile::GetOption DomainLevel
    dcpromoui 3A0.9F0 01C5 23:41:27.788             using value from cmdline
    dcpromoui 3A0.9F0 01C6 23:41:27.788             4
    dcpromoui 3A0.9F0 01C7 23:41:27.788         Enter State::SetDomainFunctionalLevel
    dcpromoui 3A0.9F0 01C8 23:41:27.788           domain functional level: 4
    dcpromoui 3A0.9F0 01C9 23:41:27.788       performed state 20, next state 14
    dcpromoui 3A0.9F0 01CA 23:41:27.788       Enter SiteSelectionFunct
    dcpromoui 3A0.9F0 01CB 23:41:27.788         Enter GetAnswerFileOption SiteName
    dcpromoui 3A0.9F0 01CC 23:41:27.788           Enter AnswerFile::GetOption SiteName
    dcpromoui 3A0.9F0 01CD 23:41:27.788            
    dcpromoui 3A0.9F0 01CE 23:41:27.788         Enter SiteSelectionFunctInternal
    dcpromoui 3A0.9F0 01CF 23:41:27.788           Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 01D0 23:41:27.788           Enter ValidateSiteName
    dcpromoui 3A0.9F0 01D1 23:41:27.788             Enter DoLabelValidation
    dcpromoui 3A0.9F0 01D2 23:41:27.788               Enter Dns::ValidateDnsLabelSyntax Default-First-Site-Name
    dcpromoui 3A0.9F0 01D3 23:41:27.788                 Enter DoDnsValidation s: Default-First-Site-Name, max len unicode: 63, max len utf8: 63
    dcpromoui 3A0.9F0 01D4 23:41:27.788                   name is 23 utf-8 bytes
    dcpromoui 3A0.9F0 01D5 23:41:27.788                   Enter MyDnsValidateName Default-First-Site-Name
    dcpromoui 3A0.9F0 01D6 23:41:27.788                     Calling DnsValidateName
    dcpromoui 3A0.9F0 01D7 23:41:27.788                     pszName : Default-First-Site-Name
    dcpromoui 3A0.9F0 01D8 23:41:27.788                     Format  : 3
    dcpromoui 3A0.9F0 01D9 23:41:27.788                     status 0x0
    dcpromoui 3A0.9F0 01DA 23:41:27.788                     ERROR_SUCCESS
    dcpromoui 3A0.9F0 01DB 23:41:27.788             Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 01DC 23:41:27.788           Enter State::SetSiteName Default-First-Site-Name
    dcpromoui 3A0.9F0 01DD 23:41:27.788       performed state 14, next state 15
    dcpromoui 3A0.9F0 01DE 23:41:27.788       Enter AdditionalDcRolesFunct
    dcpromoui 3A0.9F0 01DF 23:41:27.788         Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 01E0 23:41:27.788         Enter State::GetMode NORMAL
    dcpromoui 3A0.9F0 01E1 23:41:27.788         Enter State::GetInstallDnsUserOption
    dcpromoui 3A0.9F0 01E2 23:41:27.788           Enter GetAnswerFileOption InstallDNS
    dcpromoui 3A0.9F0 01E3 23:41:27.788             Enter AnswerFile::GetOption InstallDNS
    dcpromoui 3A0.9F0 01E4 23:41:27.788              
    dcpromoui 3A0.9F0 01E5 23:41:27.788           Enter GetAnswerFileOption AutoConfigDNS
    dcpromoui 3A0.9F0 01E6 23:41:27.788             Enter AnswerFile::GetOption AutoConfigDNS
    dcpromoui 3A0.9F0 01E7 23:41:27.788              
    dcpromoui 3A0.9F0 01E8 23:41:27.788         Enter AdditionalDcRolesFunctCheckDnsConfig
    dcpromoui 3A0.9F0 01E9 23:41:27.788           Enter State::GetMode NORMAL
    dcpromoui 3A0.9F0 01EA 23:41:27.788           Enter State::IsDNSOnNetwork false
    dcpromoui 3A0.9F0 01EB 23:41:27.788           Enter GetDefaultChoiceForDnsInstallation
    dcpromoui 3A0.9F0 01EC 23:41:27.788             Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 01ED 23:41:27.788             Enter State::GetMode NORMAL
    dcpromoui 3A0.9F0 01EE 23:41:27.788             Enter Dns::IsServiceInstalled
    dcpromoui 3A0.9F0 01EF 23:41:27.788               Enter NTService::IsInstalled dns
    dcpromoui 3A0.9F0 01F0 23:41:27.788                 Enter MyOpenService
    dcpromoui 3A0.9F0 01F1 23:41:27.788                   Enter Win::OpenSCManager
    dcpromoui 3A0.9F0 01F2 23:41:27.788                   Enter Win::OpenService dns
    dcpromoui 3A0.9F0 01F3 23:41:27.788                   HRESULT = 0x80070424
    dcpromoui 3A0.9F0 01F4 23:41:27.788               service is not installed.
    dcpromoui 3A0.9F0 01F5 23:41:27.788             Enter State::SetDnsServerAlreadyInstalled
    dcpromoui 3A0.9F0 01F6 23:41:27.788               b = false
    dcpromoui 3A0.9F0 01F7 23:41:27.788             Enter State::IsDnsServerAlreadyInstalled
    dcpromoui 3A0.9F0 01F8 23:41:27.788               bDnsServerAlreadyInstalled = false
    dcpromoui 3A0.9F0 01F9 23:41:27.788           Enter State::SetAutoConfigureDNS true
    dcpromoui 3A0.9F0 01FA 23:41:27.788           Enter TxtCheckCreateDnsDelegationOptions
    dcpromoui 3A0.9F0 01FB 23:41:27.788             Enter State::GetDnsDelegationUserOption
    dcpromoui 3A0.9F0 01FC 23:41:27.788               Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 01FD 23:41:27.788               Enter GetAnswerFileOption CreateDNSDelegation
    dcpromoui 3A0.9F0 01FE 23:41:27.788                 Enter AnswerFile::GetOption CreateDNSDelegation
    dcpromoui 3A0.9F0 01FF 23:41:27.788                  
    dcpromoui 3A0.9F0 0200 23:41:27.788             Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 0201 23:41:27.788             bResult = true
    dcpromoui 3A0.9F0 0202 23:41:27.788           Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 0203 23:41:27.788           Do install DNS server
    dcpromoui 3A0.9F0 0204 23:41:27.788         Enter GetAnswerFileOption ConfirmGc
    dcpromoui 3A0.9F0 0205 23:41:27.788           Enter AnswerFile::GetOption ConfirmGc
    dcpromoui 3A0.9F0 0206 23:41:27.788            
    dcpromoui 3A0.9F0 0207 23:41:27.788         Enter State::SetGlobalCatalogOption true
    dcpromoui 3A0.9F0 0208 23:41:27.788         Enter State::GetGlobalCatalogOption true
    dcpromoui 3A0.9F0 0209 23:41:27.788         This DC will be a GC
    dcpromoui 3A0.9F0 020A 23:41:27.788         Enter GetAnswerFileOption ReplicaOrNewDomain
    dcpromoui 3A0.9F0 020B 23:41:27.788           Enter AnswerFile::GetOption ReplicaOrNewDomain
    dcpromoui 3A0.9F0 020C 23:41:27.788             using value from cmdline
    dcpromoui 3A0.9F0 020D 23:41:27.788             Domain
    dcpromoui 3A0.9F0 020E 23:41:27.788         Enter State::IsReadOnlyReplica false
    dcpromoui 3A0.9F0 020F 23:41:27.788         Enter TxtCheckConflictingDcAccount
    dcpromoui 3A0.9F0 0210 23:41:27.788           Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 0211 23:41:27.788           Enter State::GetMode NORMAL
    dcpromoui 3A0.9F0 0212 23:41:27.788           bResult = true
    dcpromoui 3A0.9F0 0213 23:41:27.788         Enter TxtCheckRidMasterOnlineRequirement
    dcpromoui 3A0.9F0 0214 23:41:27.788           Enter ValidateRidMasterOnlineRequirement
    dcpromoui 3A0.9F0 0215 23:41:27.788             Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 0216 23:41:27.788             Enter State::GetMode NORMAL
    dcpromoui 3A0.9F0 0217 23:41:27.788             bResult = true
    dcpromoui 3A0.9F0 0218 23:41:27.788           bResult = true
    dcpromoui 3A0.9F0 0219 23:41:27.788         Enter State::IsReadOnlyReplica false
    dcpromoui 3A0.9F0 021A 23:41:27.788         Enter State::IsReadOnlyReplica false
    dcpromoui 3A0.9F0 021B 23:41:27.788         Enter TxtCheckTransferIMRoleOptions
    dcpromoui 3A0.9F0 021C 23:41:27.788           Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 021D 23:41:27.788           bResult = true
    dcpromoui 3A0.9F0 021E 23:41:27.788         Enter TxtCheckIMGCCompatibility
    dcpromoui 3A0.9F0 021F 23:41:27.788           Enter State::SetNeedToTransferIMRole
    dcpromoui 3A0.9F0 0220 23:41:27.788             b = false
    dcpromoui 3A0.9F0 0221 23:41:27.788           Enter State::GetMode NORMAL
    dcpromoui 3A0.9F0 0222 23:41:27.788           Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 0223 23:41:27.788         Enter State::IsDnsServerAlreadyInstalled
    dcpromoui 3A0.9F0 0224 23:41:27.788           bDnsServerAlreadyInstalled = false
    dcpromoui 3A0.9F0 0225 23:41:27.788         Enter AdditionalDcRolesFunctDnsRegistrationTest
    dcpromoui 3A0.9F0 0226 23:41:27.788           Enter State::GetMode NORMAL
    dcpromoui 3A0.9F0 0227 23:41:27.788           Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 0228 23:41:27.788           Enter TxtIsReadyForDnsInstallation
    dcpromoui 3A0.9F0 0229 23:41:27.788             Enter VerifyStaticIpPresent
    dcpromoui 3A0.9F0 022A 23:41:27.788               Adapter name: {11492924-E5D4-4AE7-B958-9E9E8CC9DAB0}
    dcpromoui 3A0.9F0 022B 23:41:27.788               Examining the IP address 0
    dcpromoui 3A0.9F0 022C 23:41:27.788               Not a global IPv6 address. No need to check it.
    dcpromoui 3A0.9F0 022D 23:41:27.788               Examining the IP address 1
    dcpromoui 3A0.9F0 022E 23:41:27.788               Found a static IPv4 address
    dcpromoui 3A0.9F0 022F 23:41:27.788               Adapter name: {6F0E278D-D6F9-11E1-93E4-806E6F6E6963}
    dcpromoui 3A0.9F0 0230 23:41:27.788               The adapter does not have a physical connector.
    dcpromoui 3A0.9F0 0231 23:41:27.788               Adapter name: {EBA06FBF-9547-4E40-A37A-0FE83A6AF676}
    dcpromoui 3A0.9F0 0232 23:41:27.788               The adapter does not have a physical connector.
    dcpromoui 3A0.9F0 0233 23:41:27.788               HRESULT = 0x00000000
    dcpromoui 3A0.9F0 0234 23:41:27.788           Enter TxtRunDnsRegistrationTest
    dcpromoui 3A0.9F0 0235 23:41:27.788             Enter NeedToDiagnoseDnsRegistration
    dcpromoui 3A0.9F0 0236 23:41:27.788               Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 0237 23:41:27.788               bRunDnsRegistrationTest = true
    dcpromoui 3A0.9F0 0238 23:41:27.788             Enter DnsRegistrationTest
    dcpromoui 3A0.9F0 0239 23:41:27.788               Enter GetServerAndDomainForDnsDiagnosis
    dcpromoui 3A0.9F0 023A 23:41:27.788                 Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 023B 23:41:27.788                 Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 023C 23:41:27.788                 Enter State::GetNewDomainDNSName Wingtip.com
    dcpromoui 3A0.9F0 023D 23:41:27.788               Enter DiagnoseDnsRegistration
    dcpromoui 3A0.9F0 023E 23:41:27.788                 Enter FindAuthoritativeServer _ldap._tcp.dc._msdcs.Wingtip.com
    dcpromoui 3A0.9F0 023F 23:41:27.788                   Enter FullyQualifyDnsName _ldap._tcp.dc._msdcs.Wingtip.com
    dcpromoui 3A0.9F0 0240 23:41:27.788                   Enter MyDnsQuery _ldap._tcp.dc._msdcs.Wingtip.com.
    dcpromoui 3A0.9F0 0241 23:41:27.788                     Calling DnsQuery_W
    dcpromoui 3A0.9F0 0242 23:41:27.788                     lpstrName : _ldap._tcp.dc._msdcs.Wingtip.com.
    dcpromoui 3A0.9F0 0243 23:41:27.788                     wType     : 6
    dcpromoui 3A0.9F0 0244 23:41:27.788                     fOptions  : 8
    dcpromoui 3A0.9F0 0245 23:41:27.788                     status = 000005B4
    dcpromoui 3A0.9F0 0246 23:41:27.788                     ERROR_TIMEOUT
    dcpromoui 3A0.9F0 0247 23:41:27.788                   failed to find autoritative server.
    dcpromoui 3A0.9F0 0248 23:41:27.788                   result = 000005B4
    dcpromoui 3A0.9F0 0249 23:41:27.788                   authZone            =
    dcpromoui 3A0.9F0 024A 23:41:27.788                   authServer          =
    dcpromoui 3A0.9F0 024B 23:41:27.788                   authServerIpAddress =
    dcpromoui 3A0.9F0 024C 23:41:27.788                 timeout
    dcpromoui 3A0.9F0 024D 23:41:27.788                 DiagnosticCode = b
    dcpromoui 3A0.9F0 024E 23:41:27.788               Enter State::SetParentZoneName
    dcpromoui 3A0.9F0 024F 23:41:27.788               server name:            _ldap._tcp.dc._msdcs.Wingtip.com
    dcpromoui 3A0.9F0 0250 23:41:27.788               error code:             1460
    dcpromoui 3A0.9F0 0251 23:41:27.788               Auth zone:             
    dcpromoui 3A0.9F0 0252 23:41:27.788               Auth server:           
    dcpromoui 3A0.9F0 0253 23:41:27.788               Auth server IP address:
    dcpromoui 3A0.9F0 0254 23:41:27.788               diagnosticResultCode:   11
    dcpromoui 3A0.9F0 0255 23:41:27.804               Enter GetErrorMessage 800705B4
    dcpromoui 3A0.9F0 0256 23:41:27.804             Enter State::SetDnsRegistrationTestSucceeded
    dcpromoui 3A0.9F0 0257 23:41:27.804               b = false
    dcpromoui 3A0.9F0 0258 23:41:27.804             Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 0259 23:41:27.804             Enter NeedToCreateDelegationOrShowDnsRegistrationDiagnosis
    dcpromoui 3A0.9F0 025A 23:41:27.804               Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 025B 23:41:27.804               Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 025C 23:41:27.804               Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 025D 23:41:27.804             Enter State::SetCreateDnsDelegation false
    dcpromoui 3A0.9F0 025E 23:41:27.804             Enter State::SetDnsDelegationOptionChangeable false
    dcpromoui 3A0.9F0 025F 23:41:27.804             Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 0260 23:41:27.804             Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 0261 23:41:27.804             Enter State::GetNewDomainDNSName Wingtip.com
    dcpromoui 3A0.9F0 0262 23:41:27.804             Warning: A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the parent zone to ensure reliable name resolution from outside the domain "Wingtip.com". Otherwise, no action is required.
    dcpromoui 3A0.9F0 0263 23:41:27.804             Enter State::AddFinishMessage A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the parent zone to ensure reliable name resolution from outside the domain "Wingtip.com". Otherwise, no action is required.
    dcpromoui 3A0.9F0 0264 23:41:27.804             DNS delegation will not be created due to DNS diagnostics failure.
    dcpromoui 3A0.9F0 0265 23:41:27.804         Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 0266 23:41:27.804       performed state 15, next state 16
    dcpromoui 3A0.9F0 0267 23:41:27.804       Enter DnsDelegationFunct
    dcpromoui 3A0.9F0 0268 23:41:27.804         Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 0269 23:41:27.804         Enter State::GetDnsDelegationUserOption
    dcpromoui 3A0.9F0 026A 23:41:27.804           Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 026B 23:41:27.804           Enter GetAnswerFileOption CreateDNSDelegation
    dcpromoui 3A0.9F0 026C 23:41:27.804             Enter AnswerFile::GetOption CreateDNSDelegation
    dcpromoui 3A0.9F0 026D 23:41:27.804              
    dcpromoui 3A0.9F0 026E 23:41:27.804         Enter State::GetDnsDelegationOptionChangeable false
    dcpromoui 3A0.9F0 026F 23:41:27.804         Enter State::GetCreateDnsDelegation false
    dcpromoui 3A0.9F0 0270 23:41:27.804         Enter State::GetCreateDnsDelegation false
    dcpromoui 3A0.9F0 0271 23:41:27.804         Enter State::GetCreateDnsDelegation false
    dcpromoui 3A0.9F0 0272 23:41:27.804         Enter State::GetDnsRegistrationTestSucceeded
    dcpromoui 3A0.9F0 0273 23:41:27.804           m_bDnsRegistrationTestSucceeded = false
    dcpromoui 3A0.9F0 0274 23:41:27.804         Enter State::SetHadNonCriticalFailures
    dcpromoui 3A0.9F0 0275 23:41:27.804           b = true
    dcpromoui 3A0.9F0 0276 23:41:27.804       performed state 16, next state 25
    dcpromoui 3A0.9F0 0277 23:41:27.804       Enter PathsFunct
    dcpromoui 3A0.9F0 0278 23:41:27.804         Enter GetAnswerFileOption DatabasePath
    dcpromoui 3A0.9F0 0279 23:41:27.804           Enter AnswerFile::GetOption DatabasePath
    dcpromoui 3A0.9F0 027A 23:41:27.804            
    dcpromoui 3A0.9F0 027B 23:41:27.804         Enter GetAnswerFileOption LogPath
    dcpromoui 3A0.9F0 027C 23:41:27.804           Enter AnswerFile::GetOption LogPath
    dcpromoui 3A0.9F0 027D 23:41:27.804            
    dcpromoui 3A0.9F0 027E 23:41:27.804         Enter GetAnswerFileOption SYSVOLPath
    dcpromoui 3A0.9F0 027F 23:41:27.804           Enter AnswerFile::GetOption SYSVOLPath
    dcpromoui 3A0.9F0 0280 23:41:27.804            
    dcpromoui 3A0.9F0 0281 23:41:27.804         Enter DetermineDefaultSysvolPath
    dcpromoui 3A0.9F0 0282 23:41:27.804           Enter FS::GetFileSystemType
    dcpromoui 3A0.9F0 0283 23:41:27.804             Enter FS::GetRootFolder C:\Windows
    dcpromoui 3A0.9F0 0284 23:41:27.804               Enter FS::GetPathSyntax C:\Windows
    dcpromoui 3A0.9F0 0285 23:41:27.804             HRESULT = 0x00000000
    dcpromoui 3A0.9F0 0286 23:41:27.804           C:\Windows\
    dcpromoui 3A0.9F0 0287 23:41:27.804         dbPath=C:\Windows\NTDS, logPath=C:\Windows\NTDS
    dcpromoui 3A0.9F0 0288 23:41:27.804         sysvol path C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 0289 23:41:27.804         Enter FS::NormalizePath C:\Windows\NTDS
    dcpromoui 3A0.9F0 028A 23:41:27.804         Enter FS::NormalizePath C:\Windows\NTDS
    dcpromoui 3A0.9F0 028B 23:41:27.804         Enter FS::NormalizePath C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 028C 23:41:27.804         Enter TxtValidateDcInstallPath
    dcpromoui 3A0.9F0 028D 23:41:27.804           Enter ValidateDcInstallPath
    dcpromoui 3A0.9F0 028E 23:41:27.804             Enter FS::GetPathSyntax C:\Windows\NTDS
    dcpromoui 3A0.9F0 028F 23:41:27.804             Enter PathHasNonAsciiCharacters C:\Windows\NTDS
    dcpromoui 3A0.9F0 0290 23:41:27.804               result = false
    dcpromoui 3A0.9F0 0291 23:41:27.804             Enter CheckDriveType
    dcpromoui 3A0.9F0 0292 23:41:27.804               Enter IsSupportedDriveType
    dcpromoui 3A0.9F0 0293 23:41:27.804         Enter FS::GetRootFolder C:\Windows\NTDS
    dcpromoui 3A0.9F0 0294 23:41:27.804           Enter FS::GetPathSyntax C:\Windows\NTDS
    dcpromoui 3A0.9F0 0295 23:41:27.804         Enter FS::GetRootFolder C:\Windows\NTDS
    dcpromoui 3A0.9F0 0296 23:41:27.804           Enter FS::GetPathSyntax C:\Windows\NTDS
    dcpromoui 3A0.9F0 0297 23:41:27.804         Enter checkDiskSpace
    dcpromoui 3A0.9F0 0298 23:41:27.804           Enter FS::GetRootFolder C:\
    dcpromoui 3A0.9F0 0299 23:41:27.804             Enter FS::GetPathSyntax C:\
    dcpromoui 3A0.9F0 029A 23:41:27.804           Enter FS::GetAvailableSpace C:\
    dcpromoui 3A0.9F0 029B 23:41:27.804         Enter State::SetDatabasePath C:\Windows\NTDS
    dcpromoui 3A0.9F0 029C 23:41:27.804         Enter State::SetLogPath C:\Windows\NTDS
    dcpromoui 3A0.9F0 029D 23:41:27.804         Enter TxtValidateDcInstallPath
    dcpromoui 3A0.9F0 029E 23:41:27.804           Enter ValidateDcInstallPath
    dcpromoui 3A0.9F0 029F 23:41:27.804             Enter FS::GetPathSyntax C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 02A0 23:41:27.804             Enter CheckDriveType
    dcpromoui 3A0.9F0 02A1 23:41:27.804               Enter IsSupportedDriveType
    dcpromoui 3A0.9F0 02A2 23:41:27.804             Enter FS::GetFileSystemType
    dcpromoui 3A0.9F0 02A3 23:41:27.804               Enter FS::GetRootFolder C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 02A4 23:41:27.804                 Enter FS::GetPathSyntax C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 02A5 23:41:27.804               HRESULT = 0x00000000
    dcpromoui 3A0.9F0 02A6 23:41:27.804         Enter TxtValidateSYSVOLPath
    dcpromoui 3A0.9F0 02A7 23:41:27.804           Enter validateSysvolPath
    dcpromoui 3A0.9F0 02A8 23:41:27.804             Enter State::GetDatabasePath C:\Windows\NTDS
    dcpromoui 3A0.9F0 02A9 23:41:27.804             Enter State::GetLogPath C:\Windows\NTDS
    dcpromoui 3A0.9F0 02AA 23:41:27.804             Enter FS::IsParentFolder
    dcpromoui 3A0.9F0 02AB 23:41:27.804             Enter FS::IsParentFolder
    dcpromoui 3A0.9F0 02AC 23:41:27.804             Enter State::ReplicateFromMedia false
    dcpromoui 3A0.9F0 02AD 23:41:27.804             Enter checkDiskSpace
    dcpromoui 3A0.9F0 02AE 23:41:27.804               Enter FS::GetRootFolder C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 02AF 23:41:27.804                 Enter FS::GetPathSyntax C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 02B0 23:41:27.804               Enter FS::GetAvailableSpace C:\
    dcpromoui 3A0.9F0 02B1 23:41:27.804           validStatus = 0x0
    dcpromoui 3A0.9F0 02B2 23:41:27.804           Enter State::GetDatabasePath C:\Windows\NTDS
    dcpromoui 3A0.9F0 02B3 23:41:27.804           Enter State::GetLogPath C:\Windows\NTDS
    dcpromoui 3A0.9F0 02B4 23:41:27.804           true
    dcpromoui 3A0.9F0 02B5 23:41:27.804         Enter State::SetSYSVOLPath C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 02B6 23:41:27.804       performed state 25, next state 26
    dcpromoui 3A0.9F0 02B7 23:41:27.804       Enter SafeModePasswordFunct
    dcpromoui 3A0.9F0 02B8 23:41:27.804         Enter GetEncryptedAnswerFileOption SafeModeAdminPassword
    dcpromoui 3A0.9F0 02B9 23:41:27.804           Enter AnswerFile::GetEncryptedOption SafeModeAdminPassword
    dcpromoui 3A0.9F0 02BA 23:41:27.804         Enter SafeModePasswordFunctInternal
    dcpromoui 3A0.9F0 02BB 23:41:27.804           Enter TxtIsValidPassword
    dcpromoui 3A0.9F0 02BC 23:41:27.804             Enter IsValidPassword
    dcpromoui 3A0.9F0 02BD 23:41:27.804               Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 02BE 23:41:27.804               Enter ValidatePasswordAgainstPolicy
    dcpromoui 3A0.9F0 02BF 23:41:27.804                 Using current user context ...
    dcpromoui 3A0.9F0 02C0 23:41:27.851                 HRESULT = 0x00000000
    dcpromoui 3A0.9F0 02C1 23:41:27.851           Enter State::SetSafeModeAdminPassword
    dcpromoui 3A0.9F0 02C2 23:41:27.851       performed state 26, next state 28
    dcpromoui 3A0.9F0 02C3 23:41:27.851       Enter ConfirmFunct
    dcpromoui 3A0.9F0 02C4 23:41:27.851         Enter GetMessage
    dcpromoui 3A0.9F0 02C5 23:41:27.851           Enter State::GetNewDomainNetbiosName Wingtip
    dcpromoui 3A0.9F0 02C6 23:41:27.851           Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 02C7 23:41:27.851           Enter State::GetNewDomainDNSName Wingtip.com
    dcpromoui 3A0.9F0 02C8 23:41:27.851         Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 02C9 23:41:27.851         Enter State::GetMode NORMAL
    dcpromoui 3A0.9F0 02CA 23:41:27.866         Enter State::GetForestFunctionalLevel
    dcpromoui 3A0.9F0 02CB 23:41:27.866           forest functional level: 4
    dcpromoui 3A0.9F0 02CC 23:41:27.866         Enter State::GetDomainFunctionalLevel
    dcpromoui 3A0.9F0 02CD 23:41:27.866           domain functional level: 4
    dcpromoui 3A0.9F0 02CE 23:41:27.866         Enter State::IsRepair false
    dcpromoui 3A0.9F0 02CF 23:41:27.866         Enter State::GetSiteName Default-First-Site-Name
    dcpromoui 3A0.9F0 02D0 23:41:27.866         Enter State::IsReadOnlyReplica false
    dcpromoui 3A0.9F0 02D1 23:41:27.866         Enter State::GetGlobalCatalogOption true
    dcpromoui 3A0.9F0 02D2 23:41:27.866         Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 02D3 23:41:27.866         Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 02D4 23:41:27.866         Enter State::GetCreateDnsDelegation false
    dcpromoui 3A0.9F0 02D5 23:41:27.866         Enter State::IsReadOnlyReplica false
    dcpromoui 3A0.9F0 02D6 23:41:27.866         Enter State::GetSYSVOLPath C:\Windows\SYSVOL
    dcpromoui 3A0.9F0 02D7 23:41:27.866         Enter State::GetLogPath C:\Windows\NTDS
    dcpromoui 3A0.9F0 02D8 23:41:27.866         Enter State::GetDatabasePath C:\Windows\NTDS
    dcpromoui 3A0.9F0 02D9 23:41:27.866         Enter State::AutoConfigureDNS true
    dcpromoui 3A0.9F0 02DA 23:41:27.866         Enter State::IsDnsServerAlreadyInstalled
    dcpromoui 3A0.9F0 02DB 23:41:27.866           bDnsServerAlreadyInstalled = false
    dcpromoui 3A0.9F0 02DC 23:41:27.866         Enter State::GetSkipAutoconfigureDns false
    dcpromoui 3A0.9F0 02DD 23:41:27.866         Enter State::ShouldConfigDnsClient
    dcpromoui 3A0.9F0 02DE 23:41:27.866           shouldConfigDnsClient = true
    dcpromoui 3A0.9F0 02DF 23:41:27.866         Enter State::GetNeedToTransferIMRole
    dcpromoui 3A0.9F0 02E0 23:41:27.866           bNeedToTransferIMRole = false
    dcpromoui 3A0.9F0 02E1 23:47:28.212         Info:
    dcpromoui 3A0.9F0 02E2 23:47:28.212         Info: ----------------------------------------
    dcpromoui 3A0.9F0 02E3 23:47:28.212         Info: The following actions will be performed:
    dcpromoui 3A0.9F0 02E4 23:47:28.212         Info: Configure this server as the first Active Directory domain controller in a new forest.

    The new domain name is "Wingtip.com". This is also the name of the new forest.

    The NetBIOS name of the domain is "Wingtip".

    Forest Functional Level: Windows Server 2008 R2

    Domain Functional Level: Windows Server 2008 R2

    Site: Default-First-Site-Name

    Additional Options:
      Read-only domain controller: "No"
      Global catalog: Yes
      DNS Server: Yes

    Create DNS Delegation: No

    Database folder: C:\Windows\NTDS
    Log file folder: C:\Windows\NTDS
    SYSVOL folder: C:\Windows\SYSVOL

    The DNS Server service will be installed on this computer.
    The DNS Server service will be configured on this computer.
    This computer will be configured to use this DNS server as its preferred DNS server.

    The password of the new domain Administrator will be the same as the password of the local Administrator of this computer.
    dcpromoui 3A0.9F0 02E5 23:47:28.212         Info: ----------------------------------------
    dcpromoui 3A0.9F0 02E6 23:47:28.212         Enter State::GetOperation FOREST
    dcpromoui 3A0.4C4 02E7 23:47:28.228 Enter PromoteThreadProc
    dcpromoui 3A0.4C4 02E8 23:47:28.228   Set locale for console
    dcpromoui 3A0.4C4 02E9 23:47:28.228   Enter State::GetMode NORMAL
    dcpromoui 3A0.4C4 02EA 23:47:28.228   top of retry loop
    dcpromoui 3A0.4C4 02EB 23:47:28.228   Enter disableConsoleLocking
    dcpromoui 3A0.4C4 02EC 23:47:28.228     Enter RegistryKey::Create SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    dcpromoui 3A0.4C4 02ED 23:47:28.228     Enter RegistryKey::SetValue-DWORD DisableLockWorkstation
    dcpromoui 3A0.4C4 02EE 23:47:28.228   Enter State::SetOperationResultsMessage
    dcpromoui 3A0.4C4 02EF 23:47:28.228   Enter State::SetOperationResultsFlags 0x0
    dcpromoui 3A0.4C4 02F0 23:47:28.228   Enter State::SetOperationResults result SUCCESS
    dcpromoui 3A0.9F0 02F1 23:47:28.228         Enter State::GetOperationResultsCode SUCCESS
    dcpromoui 3A0.9F0 02F2 23:47:28.228         OPERATION SUCCESSFUL
    dcpromoui 3A0.9F0 02F3 23:47:28.228         Enter State::GetOperationResultsCode SUCCESS
    dcpromoui 3A0.9F0 02F4 23:47:28.228         Enter State::IsOperationRetryAllowed
    dcpromoui 3A0.9F0 02F5 23:47:28.228           true
    dcpromoui 3A0.9F0 02F6 23:47:28.228         Info:
    dcpromoui 3A0.9F0 02F7 23:47:28.228       performed state 28, next state 29
    dcpromoui 3A0.9F0 02F8 23:47:28.228       Enter FailedFunct
    dcpromoui 3A0.9F0 02F9 23:47:28.228         Enter State::GetOperationResultsCode SUCCESS
    dcpromoui 3A0.9F0 02FA 23:47:28.228         SUCCESS
    dcpromoui 3A0.9F0 02FB 23:47:28.228       performed state 29, next state 30
    dcpromoui 3A0.9F0 02FC 23:47:28.228       Enter FinishFunct
    dcpromoui 3A0.9F0 02FD 23:47:28.228         Enter getCompletionMessage
    dcpromoui 3A0.9F0 02FE 23:47:28.228           Enter State::GetOperation FOREST
    dcpromoui 3A0.9F0 02FF 23:47:28.290         Info:
    dcpromoui 3A0.9F0 0300 23:47:28.290       performed state 30, next state 31
    dcpromoui 3A0.9F0 0301 23:47:28.290       Enter RebootFunct
    dcpromoui 3A0.9F0 0302 23:47:28.290         Enter State::GetNeedsReboot false
    dcpromoui 3A0.9F0 0303 23:47:28.290         reboot not necessary
    dcpromoui 3A0.9F0 0304 23:47:28.290       performed state 31, next state 38
    dcpromoui 3A0.9F0 0305 23:47:28.290       Enter State::GetHadNonCriticalFailures
    dcpromoui 3A0.9F0 0306 23:47:28.290         bHadNonCriticalFailures = true
    dcpromoui 3A0.9F0 0307 23:47:28.290     Enter State::UnbindFromReplicationPartnetDC
    dcpromoui 3A0.9F0 0308 23:47:28.290     Exit code is 3
    dcpromoui 3A0.9F0 0309 23:47:28.290   Exit code is 3
    dcpromoui 3A0.3AC 030A 23:47:28.384 closing log

     

  • Tuesday, November 27, 2012 2:43 PM
     
     

    You are right, the command has finished DC promotion procedure. Can you run "dcdiag /v >dcdiag.txt" and "netdiag /v >netdiag.txt"(without the quotes) on the 2012 server and then check the outputs? In the two files, you should see if the server is a domain controller. Or you can post them.

    Regards,

    Diana


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Thursday, January 10, 2013 6:34 PM
     
     

    Hello Wouter

    Did you manage to automate sharepoint 2013? If yes, can you share the info?

    Ashok