Dear all,
I'm just trying to find out the reason why dfsrdiag proptest is returing error "Err: -2147467259 (0x80004005)" this is the command launched:
dfsrdiag propreport /rgname:RG-NAME /rfname:DATA /testfile:dfstest.txt /domain:domain.local /v
My DFS infrastracture is as below:
a DFS Root with 2003 R2
a DFS additional server with 2008 R2
The output of the previous command is as below here:
[INFO] Found replication group <RG-NAME> under system naming context
[INFO] Found <2> msDFSR-Member objects under the replication group
[INFO] Found <2> msDFSR-ContentSet objects under the replication group
[INFO] LDAP Bind : LDAP.DOMAIN.LOCAL
[INFO] SitesDn : cn=sites,cn=configuration,dc=domain,dc=local
[INFO] ServicesDn : cn=services,cn=configuration,dc=domain,dc=local
[INFO] SystemDn : cn=system,DC=DOMAIN,DC=LOCAL
[INFO] DefaultNcDn : DC=DOMAIN,DC=LOCAL
[INFO] ComputersDn : cn=computers,DC=DOMAIN,DC=LOCAL
[INFO] DomainCtlDn : ou=domain controllers,DC=DOMAIN,DC=LOCAL
[INFO] SchemaDn : CN=Schema,CN=Configuration,DC=DOMAIN,DC=LOCAL
PROCESSING MEMBER 2008R2 [1 OUT OF 2]
[INFO] Found <1> subscriber objects under computer: 2008R2
[INFO] 2008R2.DnsHostName = 2008R2.DOMAIN.LOCAL
[INFO] Computer Name: 2008R2
[INFO] Computer DNS: 2008R2.DOMAIN.LOCAL
[INFO] Domain Name: DOMAIN
[INFO] Domain DNS: DOMAIN.LOCAL
[INFO] Site Name: HQ
[INFO] 2008R2.RootPath = X:\DATA
[INFO] Check for test file at \??\UNC\2008R2.DOMAIN.LOCAL\X$\DATA\__DFSR_DIAGNOST
ICS_TEST_FOLDER__\dfstest.txt
[ERROR] Failed to read file at <\??\UNC\2008R2.DOMAIN.LOCAL\x$\DATA\__DFSR_DIAGNO
STICS_TEST_FOLDER__\dfstest.txt> Err: -2147467259 (0x80004005)
PROCESSING MEMBER 2003R2 [2 OUT OF 2]
[INFO] Found <1> subscriber objects under computer: 2003R2
[INFO] 2003R2.DnsHostName = 2003R2.DOMAIN.LOCAL
[INFO] Computer Name: 2003R2
[INFO] Computer DNS: 2003R2.DOMAIN.LOCAL
[INFO] Domain Name: DOMAIN
[INFO] Domain DNS: DOMAIN.LOCAL
[INFO] Site Name: HQ
[INFO] 2003R2.RootPath = W:\DFSR\ROOT\DATA
[INFO] Check for test file at \??\UNC\2003R2.DOMAIN.LOCAL\J$\DFSR\ROOT\DATA
\__DFSR_DIAGNOSTICS_TEST_FOLDER__\dfstest.txt
[INFO] Connected to WMI services on computer: 2003R2.DOMAIN.LOCAL
[INFO] Issuing query: SELECT * FROM DfsrIdRecordInfo WHERE ReplicatedFolderGuid=
"565E6E42-D434-4D27-A719-1AB2C17F4777" AND FileName="dfstest.txt"
[INFO] Issuing query: SELECT * FROM DfsrIdRecordInfo WHERE ReplicatedFolderGuid=
"565E6E42-D434-4D27-A719-1AB2C17F4777" AND Uid="{C12F90AB-AA91-4853-AE84-193FF24
F076E}-v365531"
Total number of members: 2
Number of disabled members: 0
Number of unsubscribed members: 0
Number of invalid AD member objects: 0
Test file access failures: 1
WMI access failures: 0
ID record search failures: 0
Test file mismatches: 0
Members with valid test file: 1
[INFO] Execution Time: 6 seconds
Operation Succeeded
The file dfstest.txt is there and I tried both, running the script with my user having access to the file as FULL CONTROL same with UAC disable with ADMINISTRATOR account and double checked FULL CONTROL
M.