This usually happens because the Downloads folder was redirected to the root of D:\ instead of a real folder such as D:\Downloads, so Windows tries to scan protected folders like D:\Config.Msi and fails.
Try this in order:
- Open File Explorer.
- Open the D: drive.
- Create a new folder named Downloads.
- Move only personal downloaded files from the root of
D:\intoD:\Downloads. Do not try to move or change permissions on protected folders such asConfig.Msi,System Volume Information, or$RECYCLE.BIN.
Then reset the Downloads location:
- In File Explorer, right-click Downloads and select Properties.
- Open the Location tab.
- Select Restore Default to set it back to the default Downloads path.
- Select Apply.
- If prompted to move files, choose No.
If that still does not work, fix the folder path in the registry.
Important: Editing the registry incorrectly can cause serious problems. Back up the registry first.
- Press Win + R, type
regedit.exe, and press Enter. - Go to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
- Find the Downloads entry:
{374DE290-123F-4565-9164-39C4925E467B}
- Set its value to:
%USERPROFILE%\Downloads
- Close Registry Editor.
- Restart Explorer.exe, sign out and back in, or restart the PC.
If the goal is to keep Downloads on the D: drive instead of C:, set the location to D:\Downloads, not to the root of D:\.
References:
- Operation to change a personal folder location fails in Windows
- Failed to move files from the D drive to Local Disk C due to the error: "Failed to build the list of regular subdirectories under 'd:\system volume information'. access is denied." - Microsoft Q&A
- Changed defaut downloads to d drive - Microsoft Q&A
- Data drive being the downloads folder (Needs fixing a bit urgent) - Microsoft Q&A