Vista/Server 2008 AppData Junction point issues

Migrating TS profiles from Server 2008 to Server 2008 R2 when i noticed the Robocopy output looping on the Application Data store. After some investigation, it seems as though this is by design (a very bad design). Here’s why;

A Junction is used to force Vista to be “compatible” with older applications which are dependent on C:\documents and settings\User\Local\ApplicationData; Vista uses C:\Users\User\Local\AppData. The junction is what mimics AppData as Application Data. As a result, RoboCopy runs around in an endless loop trying to catch it’s own tail.

The fix is to add the /XJ switch within robocopy; /XJ will exclude Junctions.

Tagged , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: