Problem after promoting AD Server, SYSVOL and NETLOGON folder missing.

Anonymous
2024-06-16T03:20:20+00:00

We have a running AD Server Windows 2016 (AD1), now we're going to replace our AD Server to Windows 2022 (AD2)
We have done following steps

  1. We joined AD2 to DOMAIN.local domain
  2. We added AD Service Role and DNS role
  3. AD2 promoted as Primary Domain Controller
  4. Transfer RID Master, PDC Emulator, Infrastructure Master, Domain Naming Master, and Schema Master to AD2
  5. We ran "netdom query fsmo" and everything looks normal.
  6. In AD2, we can list users and computers from AD1

The problem are

  1. AD2 seems doesn't work when AD1 goes offline
  2. AD2 don't have shared SYSVOL and NETLOGON folders
  3. By doing some checking procedure, we thought the DFSR Replication was not running or even started
  4. We have checked DNS configuration, We don't know for sure but its seemed ok.
  5. AD2 is not advertised as PDC

How do we resolve these problems? please enlighten us, thank you very much!

Here are some logs from both server

AD1

>dcdiag /c /q

[AD1] No security related replication errors were found on this DC! To target the connection to a specific

source DC use /ReplSource:<DC>.

There are warning or error events within the last 24 hours after the SYSVOL has been shared. Failing SYSVOL

replication problems may cause Group Policy problems.

......................... AD1 failed test DFSREvent

** Did not run Outbound Secure Channels test because /testdomain: was not entered

An error event occurred. EventID: 0x00002720

Time Generated: 06/16/2024 09:31:38

Event String:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID

An error event occurred. EventID: 0x00002720

Time Generated: 06/16/2024 09:40:28

Event String:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID

An error event occurred. EventID: 0x00002720

Time Generated: 06/16/2024 10:08:05

Event String:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID

......................... AD1 failed test SystemLog

AD2 = dcdiag /c /q

Warning: DsGetDcName returned information for \AD1.DOMAIN.local, when we were trying to reach AD2.

SERVER IS NOT RESPONDING or IS NOT CONSIDERED SUITABLE.

......................... AD2 failed test Advertising

[AD2] No security related replication errors were found on this DC! To target the connection to a specific source DC use

/ReplSource:<DC>.

There are warning or error events within the last 24 hours after the SYSVOL has been shared. Failing SYSVOL replication problems may

cause Group Policy problems.

......................... AD2 failed test DFSREvent

Unable to connect to the NETLOGON share! (\AD2\netlogon)

[AD2] An net use or LsaPolicy operation failed with error 67, The network name cannot be found..

......................... AD2 failed test NetLogons

** Did not run Outbound Secure Channels test because /testdomain: was not entered


Update : 2024/06/18
After trying this below method
somehow, AD2 already advertising to AD1,

"To work around this issue, set the SysvolReady Flag registry value to “0” and then back to “1” in the registry. To do this, follow these steps:Click Start, click Run, type regedit, and then click OK.Locate the following subkey in Registry Editor:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
In the details pane, right-click the SysvolReady flag, and then click Modify.In the Value data box, type 0, and then click OK.Again in the details pane, right-click the SysvolReady flag, and then click Modify.In the Value data box, type 1, and then click OK.Note This will cause Netlogon to share out SYSVOL, and the scripts folder will be present "

the condition right now,
AD2 have SYSVOL & NETLOGON folder with BLANK item, and wouldn't copy the AD1 policies, item, etc even we force replicate it..
How do we solve this new problem? thank you!

Windows for business | Windows Server | Directory services | Active Directory

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2024-06-17T01:42:24+00:00

    Hi Bagas Imr,

    Thank you for posting in the Microsoft Community Forums.

    This is a common failure and may be a problem with DFS replication.

    You can troubleshoot the issue based on this article.

    Troubleshoot missing SYSVOL and Netlogon shares for Distributed File System (DFS) Replication - Windows Server | Microsoft Learn 

    Best regards

    Neuvi Jiang

    0 comments No comments
  2. Anonymous
    2024-06-18T01:50:25+00:00

    Hello NeuviJ, thank you for your response! After trying this below method somehow, AD2 already advertising to AD1 :

    "To work around this issue, set the SysvolReady Flag registry value to “0” and then back to “1” in the registry. To do this, follow these steps:Click Start, click Run, type regedit, and then click OK.Locate the following subkey in Registry Editor:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\ParametersIn the details pane, right-click the SysvolReady flag, and then click Modify.In the Value data box, type 0, and then click OK.Again in the details pane, right-click the SysvolReady flag, and then click Modify.In the Value data box, type 1, and then click OK.Note This will cause Netlogon to share out SYSVOL, and the scripts folder will be present "

    The current condition, AD2 have SYSVOL & NETLOGON folder with BLANK item, and wouldn't copy the AD1 policies, item, etc even we force replicate it..

    questions:

    1)It seems DFSR Replicate is error in AD1. We have following log:

    "The DFS Replication service stopped replication on the folder with the following local path: C:\Windows\SYSVOL\domain. This server has been disconnected from other partners for 1505 days, which is longer than the time allowed by the MaxOfflineTimeInDays parameter (60). DFS Replication considers the data in this folder to be stale, and this server will not replicate the folder until this error is corrected."

    AD1 was new AD server replaced AD0. Seems like AD0 is still needed. How do we fix this?

    1. How to set MaxOfflineTimeInDays ?
    2. Is it save to run "How to force authoritative and non-authoritative synchronization for DFSR-replicated sysvol replication" on AD1? ,

    because client still use AD1 as main data server.

    0 comments No comments
  3. Anonymous
    2024-06-18T02:53:48+00:00

    Hi Bagas Imr,

    Have a nice day!

    For issue 1, the error is caused by the fact that the domain control disconnection time to be replicated exceeds the survival time of the logical deletion.

    Lingering objects in an AD DS forest - Windows Server | Microsoft Learn

    For issue 2, it is not recommended that you set a setting for MaxOfflineTimeInDays. And there is no official documentation about it.

    For issue 3, it is recommended to save.

    Force synchronization for Distributed File System Replication (DFSR) replicated sysvol replication - Windows Server | Microsoft Learn

    Best regards

    Neuvi Jiang

    0 comments No comments
  4. Anonymous
    2024-06-18T14:21:08+00:00

    when you ran the upgrade how did the DNS and Gateway information return.

    To me this would be caused by bad DNS as its not gathering all the correct returns on the DC promo

    Please provide me with a full Dcdiag download and run it on DNS separately please

    Dump everything here

    David

    0 comments No comments
  5. Anonymous
    2024-06-20T12:51:30+00:00
    0 comments No comments