{"id":3860,"date":"2019-01-28T21:47:59","date_gmt":"2019-01-28T21:47:59","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=3860"},"modified":"2019-01-28T21:48:06","modified_gmt":"2019-01-28T21:48:06","slug":"dfsr-event-id-4004","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/dfsr-event-id-4004","title":{"rendered":"DFSR Event ID 4004"},"content":{"rendered":"\n<p>Tried several solutions to resolve event ID 4004 before finding one that worked: <a rel=\"noreferrer noopener\" href=\"https:\/\/community.spiceworks.com\/topic\/569594-dfsr-tombstoned-folder-s\" target=\"_blank\"> https:\/\/community.spiceworks.com\/topic\/569594-dfsr-tombstoned-folder-s<\/a>.  The issue can arise when you remove\/delete a server from a <g class=\"gr_ gr_5 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace\" id=\"5\" data-gr-id=\"5\">replication  group<\/g> or delete the replication group itself and re-create it with <g class=\"gr_ gr_6 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace\" id=\"6\" data-gr-id=\"6\">the  same<\/g> name or same target and\/or <g class=\"gr_ gr_7 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace\" id=\"7\" data-gr-id=\"7\">destination  folders<\/g>, which is what I did as a result of the datastore corruption<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"379\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/01\/image-4.png\" alt=\"\" class=\"wp-image-3862 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/01\/image-4.png 535w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/01\/image-4-300x213.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/figure>\n\n\n\n<p>Apart from event logs, you can run this command in PowerShell to check DFSR status. You want to see 4s.<\/p>\n\n\n\n<p>Get-WmiObject -Namespace &#8220;root\\MicrosoftDFS&#8221; \n-Class DfsrReplicatedFolderInfo | Select-Object \nReplicatedFolderName,ReplicationGroupName,state<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"109\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/01\/image-3.png\" alt=\"\" class=\"wp-image-3861 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/01\/image-3.png 964w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/01\/image-3-300x34.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2019\/01\/image-3-768x87.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Tried several solutions to resolve event ID 4004 before finding one that worked: https:\/\/community.spiceworks.com\/topic\/569594-dfsr-tombstoned-folder-s. The issue can arise when you remove\/delete a server from a replication group [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3860","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3860"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3860\/revisions"}],"predecessor-version":[{"id":3863,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3860\/revisions\/3863"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}