Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

User home directories showing as "my documents"

Posted on 2010-11-22
2
Medium Priority
?
843 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 85

Accepted Solution

by:
oBdA earned 1000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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 …

688 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