+ Post New Thread
Results 1 to 6 of 6
Windows 7 Thread, Windows 7 Folder Redirection, Homeshare Renamed to My Documents in Technical; Hi, As loads of you have probaly seen... when you use folder redirection on the homeshare as documents it renames ...
  1. #1

    Join Date
    Nov 2011
    Location
    Gloucester
    Posts
    218
    Thank Post
    10
    Thanked 20 Times in 19 Posts
    Rep Power
    12

    Windows 7 Folder Redirection, Homeshare Renamed to My Documents

    Hi,

    As loads of you have probaly seen...
    when you use folder redirection on the homeshare as documents it renames the users homeshare to my documents server side, you can still access it by going \\staff\data\%username% but when you look at them it comes up as a continuous list of my document folders, i know you can remove the desktop.ini ... but we dont want it as a logon or logoff script we want it to be a scheduled task.. the batch file i have created at the moment is:

    ECHO Y | del "\\Staff\Data\desktop.ini" /S /A:H

    but this deletes all desktop.ini including the ones in the home share for pictures music ect..

    i have hurd that you can just changed the permisions on the desktop.ini file to some thing like:

    FOR /F "tokens=1 delims= " %a in ('dir /b "\\staff\data\"') DO XCACLS "\\staff\data\%a\desktop.ini /D Administrator:R /Y"

    would this work?

  2. IDG Tech News
  3. #2
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,423
    Thank Post
    19
    Thanked 159 Times in 152 Posts
    Rep Power
    48
    HI

    The desktop.ini I had to delete as in the home folder of each user.

    Richard

  4. #3

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    282
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    18
    Either add the filename view Column when viewing users folders on the server (this will display the owner of the folder) or structure your Home directories correctly - Home directory/My documents

    I'm Not keen on changing attributes for the desktop.ini as it may cause issues.

  5. #4

    Join Date
    Feb 2011
    Posts
    68
    Thank Post
    6
    Thanked 17 Times in 12 Posts
    Rep Power
    7
    Hi,

    This page might be of use to you .... delete desktop ini. Shows how to delete it using batch command. You can then attach it to a scheduled task to run occasionally.

    I tend to add the filename in the view column myself although have used the script in the link above.

  6. #5
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,058
    Blog Entries
    78
    Thank Post
    431
    Thanked 119 Times in 107 Posts
    Rep Power
    66
    Please see the sticky thread n this forum - the Hints and Tips one. It has all this covered already :-)

  7. #6

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    7,948
    Thank Post
    216
    Thanked 1,296 Times in 1,028 Posts
    Rep Power
    283
    Have a look here for Folder Redirection tips how I do things.

    Here's how to get round the My Documents issue without deleting anything!

    Managing User Documents

    Since Windows Vista and Windows 7, user home directories will all be renamed 'My Documents', but there's a simple way around this without using scripts!

    Navigate to the folder where your home directories are located. Right click in the column 'Size' > 'More...'

    Select 'Filename' in the list, then click OK. The username will now be displayed.

  8. 4 Thanks to Michael:

    caffrey (29th November 2011), JJonas (20th November 2012), marsdenprimary (6th March 2012), penfold (23rd November 2012)

SHARE:
+ Post New Thread

Similar Threads

  1. Home folders renames to My Documents
    By bewlay51 in forum Windows Server 2008
    Replies: 37
    Last Post: 18th October 2012, 11:36 AM
  2. Replies: 38
    Last Post: 9th August 2012, 10:37 PM
  3. Replies: 1
    Last Post: 27th April 2010, 10:50 AM
  4. Access to My Documents
    By Paul_Fielder in forum Windows
    Replies: 8
    Last Post: 4th February 2010, 07:48 PM
  5. Replies: 5
    Last Post: 5th February 2009, 01:14 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •