> Thanks for the extended explanation Jimmy. So the bottom line is if one is
> careful some of these paths can be safely deleted. So my new question is
> how
> can they be recreated if necessary? Thanks!
No, the bottom line is that you should not mess with these, because even if
you are careful you can't know what effect it will have.
Also, system utilities may have a hard time deleting the junctions (they may
delete the target folder instead!)
For the sake of completeness, however, I will provide guidance for
recreating the most common junctions:
- Open an elevated command prompt (right-click command prompt, click run as
administrator)
- Type the following commands:
mklink /j "path_to_junction" "path_to_target"
icacls "path_to_junction" /deny everyone

s,rd) /L
Example:
mklink /j "c:\users\default user" "c:\users\default"
icacls "c:\users\default user" /deny everyone

s,rd) /L
NOTE: Each junction has its own unique security settings. These commands do
not restore the junction security settings back to their exact defaults.
This could have consequences.
--
- JB
Microsoft MVP Windows Shell/User