Share via


Cannot Access DFS Replication performance counter

Question

Tuesday, December 2, 2014 12:14 PM

Hi 

I am setting up DFS Replication on Windows Server 2012 . I have given Accounts access to Performance log users group as well but still Im getting this error on the health report .



When I check the performance counter on the server locally by running this powershell . I can see performance data is avaialable . 

wmic path Win32_PerfFormattedData_Dfsr_DFSReplicatedFolders

Can anyone guide on this please.

Thanks

Mumtaz 

All replies (4)

Thursday, December 18, 2014 10:15 AM ✅Answered

Hi Mumtaz,

Sorry for the delay in reply.

As you mentioned that you have already tried to rebuild counters library, please see if they steps you performed is the same as this article provided:

https://support.microsoft.com/kb/300956/en-us

It is for Windows 2008 R2 but the steps are still the same as Windows 2012.

Then please try the following steps:

Stop DFSR service:
net stop dfsr

then run the following command to refresh the performance counter classes:
wmiadap /f 

Start DFSR service:
net start dfsr

Run the above command again to confirm that the class is registered:
wmic path Win32_PerfFormattedData_Dfsr_DFSReplicatedFolders

Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected].


Wednesday, December 3, 2014 9:59 AM

Hi Mumtaz,

Though you mentioned that the command line could be performed, I still would like to confirm with the following information with you.

1. Please check if DFSR service is started as the error mentioned. 

2. On target server, please open Performance Monitor and check if both counters "Size of Files Received" and "File Installs Succeeded" are visible locally. 

If you have any feedback on our support, please send to [email protected].


Wednesday, December 3, 2014 11:51 AM

Hi Shaon

Thanks . Yes I confirm DFSR service is running . folder are also getting replicated fine .  I can see both the counters locally in performance monitor . However counters are zero when I'm checking the counters connecting remotely.  they are showing as zero . 

My setup is I have two HA file server roles on both the sites . replicated folder paths are using UNC of role for example folder on primary site is \filerol1\001folder and secondary site is \drfilerol1\001folder . 

so when checking the performance monitor remotely I am using my UNC name of my HA file role.  Firewall is also turned off . local system user is part of local administrators and cluster administrators too. 

Thanks

Mumtaz 


Wednesday, December 3, 2014 5:24 PM

Hi 

I have also rebuilt the performance counters library and also given full access to everyone on the registries 

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Perflib
and
HKLM\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg

I can see the performance data via PerfMon by connecting remotely as welll. 

Restarted the DFSR service as well . but health report cannot access the performance counter . I can also confirm Im using domain admin acccount to run the health report.

Any help would be much appreciated. 

Thanks

Mumtaz