[Last Call] Learn how to a build a cloud-first strategyRegister Now


Renaming / Redirecting My Documents Folder

Posted on 2007-08-04
Medium Priority
Last Modified: 2013-12-04
I have set all users My Documents to Redirect to \\Server\Home\ username folder however, when users log in they still see MyDocuments on the desktop even though the contents in mydoc are located on the Server. How can i rename their My documents on desktop to reflect their Username rather than having to manually rightclick-rename every single users desktop.

is there a GPO? or a Script that could do this?
Question by:rdvarghese
LVL 70

Accepted Solution

KCTS earned 375 total points
ID: 19631740
Even of you do this on the desktop - My Documents is going to appear in the file dialogs. The fact that the description of My Documents is not changed is by design so that users still save work to My documents and the fact that the data ia seing stored remotley is transparent. While you could in theory devise a script to change it seems a bit of a  pointless excercise there is a sample script at http://www.gpanswers.com/community/viewtopic.php?p=2094

Assisted Solution

geewilly earned 375 total points
ID: 19631919
You could then add to KCTS's script to change Microsoft Office Documents default save path by playing around with this code.

'for Microsoft Word
Dim WordApp
set WordApp = createobject("Word.Application")
WordApp.options.DefaultFilePath(0)="C:\Documents and Settings\" & strUserName & "\My Documents"

Depending on how many users you have I do not know If I would want to mess around with so much customizing.  I personally hate the redirecting of My Documents at times when you try and install apps under that users profile using the Run As.....

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

834 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