Solved

User home directories showing as "my documents"

Posted on 2010-11-22
2
840 Views
Last Modified: 2012-05-10
We recently updated the server housing user home directories from 2003 server to 2008r2. Now many (not all) of the directories in the home share show the name "my documents" instead of the username when view in Explorer. From a command line the names are correct.

Any suggestions on how to fix this and have the correct directory names display?
0
Comment
Question by:MichaelSparks
2 Comments
 
LVL 84

Accepted Solution

by:
oBdA earned 250 total points
ID: 34189203
Delete the file "desktop.ini" (with the attributes Hidden and System) in the root of these folders.
A batch script to do that quickly (currently in test mode; remove the capitalized ECHOs to run it for real):

@echo off
set HomeRoot=D:\Home
for /d %%a in ("%HomeRoot%\*.*") do (
  echo Processing %%~nxa ...
  if exist "%%a\desktop.ini" (
    ECHO attrib -h -s "%%a\desktop.ini"
    ECHO del "%%a\desktop.ini"
  )
)

Open in new window

0
 
LVL 2

Author Closing Comment

by:MichaelSparks
ID: 34189454
Thanks, that did it. I was thinking it would be some special extended attribute on the directory but it was just that simple desktop.ini file.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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 …

820 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