How to restore User's profile's junctions?

E

Eric B.

Hi,

I have a user's profile that has crashed. Luckily, I have full daily
backups of his profile, so can easily restore the files.

However, my problem is all the special junctions that Vista and Win7 have
added to the profile directories for backwards-compatibility. No backup
software I have seen (short of complete imaging software) seems to backup
and/or restore junction points.

So I find myself with the profile missing all the default junction points,
and quite frankly, not sure how to manually recreate them to match exactly
what was there before the restore. I am able to create the junction points
by hand (mklink /j) or utilities like HardLinkShellExtension, but no matter
what I do, I cannot seem to replicate the Vista/Win7's original junctions
that are hidden when "Hide Protected Operating System Files" is enabled.
The junction points that I am referring to are things like ("My Documents",
"My Music", "Application Data", "Local Settings", etc). No matter what
options I choose, they are never recognized as Operating System Files as
they originally were.

Is there a tool out there that can accomplish this for me? Or is there
somethign I can do by hand to recreate these junction points?

I have searched and searched the web for hours, but cannot seem to find
anyone who has asked this question before, which I find quite amazing.
Every page I found seems to discuss these junction points, and backing up
the profiles without them (ex: using robocopy), but no one seems to discuss
how to restore the junction points, or how to recreate them.

Ideally, I am looking for one of two things:
1) Understanding / knowledge of how to make manually create junctions hidden
when "Hide Protected Operating System Files" is enabled

OR

2) A script / app / etc that would automatically rebuild/restore all the
junction
points within a profile automatically for me (including having them hidden
when "Hide Protected Operatings System Files" is enable.

Any help, suggestions, pointers, etc would be greately appreciated.

Thanks!

Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top