Windows Server 2008 R2 Thread, Disappearing Folder Names in Technical; Hi
I am a bit of a novice managing networks. I work at a school that has an 2008 R2 ...
28th February 2013, 12:15 PM #1
- Rep Power
Disappearing Folder Names
I am a bit of a novice managing networks. I work at a school that has an 2008 R2 Server with XP workstations -with plans to reimage to Windows 7 this year. I have been testing a few things and find the biggest issue is with folder redirection and folder names.
I found that after a user logs onto a windows 7 workstation – and then you go to the shared folder location on the server – in this case …. \\server\students .... from a win 7 box and also on the 08 server - you see 'My documents' folders listed – among the list of names eg for a user 'sam green' ... as in ......
My documents (Sam's folder)
so the user name eg 'sam green' is no longer there - replaced by 'My Documents' - and as more users log in - more names go to be replaced by more 'My Documents' folders
Then on an XP box – browsing to \\server\students you do see the user 'sam green' but with a different icon - folder icon with an envelope in it.
I was hoping to work out how I can structure things so we can still see the actual names of the student on their home folder on a win 7 box. Many staff like to go into their students folders to edit, monitor etc – so would find this tricky.
I understand it may be the way folder redirection is set up – but it needs to work in an existing shared environment with already existing users and home folders.
I hope this is explained clearly enough.
IDG Tech News
28th February 2013, 12:43 PM #2
Variius threads with workarounds etc... But the proper fix is to have username\documents and redirect my documents to the sub folder.
Thanks to plexer from:
TheydonBois (28th February 2013)
28th February 2013, 12:49 PM #3
From the Windows 7 Gotcha Thread, this explains it nicely
When viewing redirected folders share you may see many "My Documents"
When Windows sets up a new redirected My Documents it creates a hidden desktop.ini file which means that when you browse the share/location from Windows you may see a huge amount of folders called "My Documents"/"Documents" rather then the folder name it should be (e.g. \\server\share\username as the path could look like \\server\share\documents)
The folders are correctly named but when Windows sees the existance of the hidden desktop.ini in each directory it displays the folder as "My Documents"/"Documents" rather then the real folder name. This can happen with any special folder I believe such as Favourites.
Remove the desktop.ini file in each my docs redirected folder. This can be done with script or using Group Policy Preferences. You can also redirect to a sub folder which hides the issue (e.g. redirect to \\server\share\username\documents\)
Personally, I still have a mix of Win XP/7 machines and traditionally my my documents redirects tot he root so I run a simple batch file overnight to delete all the desktop.ini files from the user areas. Not really a fix but at least first thing int he morning all the folder names are correct....
attrib -h -s t:\2010\desktop.ini /s
del t:\2010\desktop.ini /s
attrib -h -s t:\2011\desktop.ini /s
del t:\2011\desktop.ini /s
attrib -h -s t:\2012\desktop.ini /s
del t:\2012\desktop.ini /s
2 Thanks to AJWhite1970:
breakfast11 (1st March 2013), TheydonBois (28th February 2013)
28th February 2013, 12:50 PM #4
As @plexer says this one has been discussed to death! Its caused by the desktop.ini file do a search you will find loads of stuff
If you block the desktop.ini file or delete it all the time it will slow down your login speeds. Blocking it makes it particularly bad.
1st March 2013, 01:30 PM #5
- Rep Power
Thanks - sorry to bring back the dead guys - but this is new to me! I think i will run some tests on the folder redirection in GP.
1st March 2013, 01:54 PM #6
- Rep Power
Personally i preferred the method of using robocopy to move the contents of the users home folders (excepting things like desktop and a few other essentials!) to a 'documents' folder within their home folder.
This was in addition to a csvde output for each username, with some excel magic to create the correct input parameters for the robocopy script.
Once this was complete it required changing the group policies to the new location ie. %homearea%\%username%\documents.
The copying does take a while though, but in my opinion is more preferable to having a GP run every logon.
1st March 2013, 02:01 PM #7
- Rep Power
How did you create that extra documents folder in everyones folders?
1st March 2013, 02:08 PM #8
It'll get created when you set the redirection to the new location if your permissions are correct otherwise you could do with a script or at user login.
1st March 2013, 02:29 PM #9
- Rep Power
Yep I can see that from testing a new user in a test ou with a test policy but I am wondering how that will work with existing users who have heaps of folders and files that need to go into the new docs folder.
Originally Posted by plexer
3rd March 2013, 08:16 PM #10
I ran a robocopy script to move them to the new structure, can post the commandine tomorrow.
By Nick_Parker in forum Windows
Last Post: 1st October 2009, 11:42 AM
Last Post: 16th September 2009, 10:14 AM
By karldenton in forum Windows
Last Post: 22nd July 2009, 12:47 PM
By SimpleSi in forum *nix
Last Post: 10th March 2009, 06:15 PM
By secman in forum Windows
Last Post: 2nd March 2006, 04:34 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)