Solved

User home directories showing as "my documents"

Posted on 2010-11-22
2
841 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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 …

710 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