The Data Deduplication Service detected an internal folder that is not secure. To secure the folder, reinstall deduplication on the volume.
While trying to begin an unoptimization job for a data deduplication–enabled volume, I was getting the following error.
Start–DedupJob : MSFT_DedupVolume.Volume='F:' – HRESULT 0x80565317, The Data Deduplication service detected an internal folder that is not secure. To secure the folder, reinstall deduplication on the volume.
At line:1 char:1
+ Start–DedupJob F: –Type Unoptimization
+ CategoryInfo : NotSpecified: (MSFT_DedupJob:ROOT/Microsoft/...n/MSFT_DedupJob) [Start–DedupJob], CimException
+ FullyQualifiedErrorId : HRESULT 0x80565317,Start–DedupJob
- Open the volume in question
- Enable the options to show hidden files, as well as operating system files and folders.
- Open up the properties dialog box for
:\System Volume Information\Dedup\
- Go into the Security Tab, and select the Advanced button.
- Change the owner to SYSTEM.
- If you are domain–joined, you may need to change the ‘From this location:’ selection to the actual computer itself.
- Also choose to change the owner of all files and folders below this folder.
- Your properties should look like this
- Try re–running the command again.
- In my case, I didn’t have enough space to begin an unoptimization job and received this error.
- In my case, I added some disk space.
- I retried my command, and the job has been queued!
- Using Get–DedupJob, you are now able to query the process to ensure the job is moving along.