Windows – How does folder redirection remember the previous location of a folder

active-directoryfolder-redirectionwindows

For example, I have a GPO that redirects the documents folder to \\oldserver\username\My Documents and the “Move the contents of Documents to the new location.” item is selected.

The user logs in and creates several files.

Then I change the GPO to point to \\newserver\username\My Documents

The next time the user logs in, the contents of his documents folder are moved from \\oldserver\username\My Documents to \\newserver\username\My Documents.

I’ve looked at the GPO object in SYSVOL, and it only contains the currently set location.

How did the computer remember the old location to move the files from?

Best Answer

It's stored in the client computer's registry.

http://support.microsoft.com/kb/242557