I have a script to remove and then relink the user folders to another location. No issues there. Note this script runs as the user, no admin access needed or desired.
But before I can relink, the Documents folder needs to have these three hidden system linked files removed.
Edit: I relieved took the screenshot after I ran the Remove-Item
and it remove the junction. These three files are junctions and should have these attributes: d--hsl
Just piping that to Remove-Item
fails. I did it once a couple of weeks ago, and thought I documented it, but I cannot find where I saved the note.
To do it manually, you need to show hidden and system files in the Windows Explorer GUI and then delete them. You get a UAC prompt, but they do delete.