Solved

Group policy in server 2008 uses different path for My Documents than on server 2003

Posted on 2010-09-07
7
912 Views
Last Modified: 2012-05-10
I have recently added a Windows Server 2008 DC to a domain, the previous 2003 Server will be removed in the near future.

We previously used Windows XP desktops on this domain, but we are in the process of changing this to Windows 7 64 bit for all computers on the domain.

Due to a problem with one of the group policies, I have recreated the policy defining the folder redirection and have encountered a problem with the My Documents path.
On both 2003 and 2008 server the path required for users documents in the policy is: \\servername\share
In the policy created on server 2003 this is automatically appended to become:
\\servername\share\%username%\My Documents

However in the policy created on server 2008 R2 this path is appended to become:
\\servername\share\%username%\Documents

This means that the users My Documents shortcut now points to a new empty folder and their previous documents are unavailable.

Can anyone suggest a good way to move all of the users files from the old to the new location whilst maintaining appropriate permissions without moving it all manually?
2003-Policy.JPG
2008-Policy.JPG
0
Comment
Question by:QEMS
7 Comments
 
LVL 39

Assisted Solution

by:Krzysztof Pytko
Krzysztof Pytko earned 250 total points
ID: 33615811
I'm afraid you cannot do this from GPO. You need to use additional software. In this case the best solution would be Robocopy (Microsoft tool) to automate process without loosing permissions. You can download it from

http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
0
 
LVL 5

Author Comment

by:QEMS
ID: 33615843
Unfortunately that resource kit wont work on the server in question. The page states:

Note: The Windows Server 2003 Resource Kit Tools are not supported on 64-bit platforms.

Is there a 64bit version available?

Do you have any reccomendation for scripting robocopy?
Or is it worth scripting a rename of the My Documents folders to Documents?
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33615896
Yes, you're right. This package is only for x32. I haven't found it for x64 :/
That second option you mentioned is the best method. You're right, the most simple solutions are the most effective :) Just rename their "My Documents" folders to "Documents" and that's all.

If you need further assistance, just let me know. If not, wish you luck :)
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 11

Assisted Solution

by:sumeshbnr
sumeshbnr earned 250 total points
ID: 33615972

since the 2003 server is in the network why dont you instruct the users to browse the old share and copy to thier documents folder?or do a logon script.

or try this


Go to the root of this share's security tab and take ownership for administrator for the entire folders and add administrator and give full permission .Use xcopy with /O switch to copy the share contents to the new server .then use any third party tool to change the folder name from my documents to Documents.

Please test before doing it.

I have not done this before.
0
 
LVL 5

Author Comment

by:QEMS
ID: 33616152
The user's documents are all on the new server already, everything was moved and the my documents were working properly - until I had to recreate the policy.

I am now considering mapping to the old path with a logon script and telling users to copy from the mapped drive to the new drive - I don't like relying on users to take responsibility for anything if I can help it though!

I am still considering the renaming option, but I want to test that out properly first as Windows 7/Server 2008 uses junction points for this type of location (see http://pherricoxide.wordpress.com/2009/11/07/windows-vistawindows-7-junctions-access-denied-problem/). Even though the path on the server is \\servername\share\%username%\Documents it is still listed in windows explorer as "My Documents", so in Windows explorer I actualy see 2 "My Documents" folders when viewing this on the server. I'm just trying to make sure I understand the consequences and implications of renaming the folders before continuing too far with it.
0
 
LVL 11

Expert Comment

by:sighar
ID: 33617714
Use Xcopy (http://support.microsoft.com/kb/289483) as sumeshbnr suggested to copy the data to a new folder called Documents.
0
 
LVL 5

Accepted Solution

by:
QEMS earned 0 total points
ID: 33644706
Apologies for the slow response, it is very busy here at this time of year.

I have gone for the approach of mapping a drive to the old user area and asking users to copy across the data they need. It is a good way to get users to remove a lot of their old files which are no longer needed.

I will still award points for an example of a way to implement this type of file moving in an automated way in xcopy as I am sure I would have a use for this in future.

Thanks
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question