+ 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
    64
    Thank Post
    0
    Thanked 4 Times in 3 Posts
    Rep Power
    2

    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,206
    Thank Post
    19
    Thanked 129 Times in 125 Posts
    Rep Power
    41
    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
    281
    Thank Post
    36
    Thanked 10 Times in 9 Posts
    Rep Power
    16
    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
    52
    Thank Post
    3
    Thanked 10 Times in 7 Posts
    Rep Power
    4
    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
    610
    Blog Entries
    65
    Thank Post
    196
    Thanked 65 Times in 58 Posts
    Rep Power
    52
    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
    6,763
    Thank Post
    171
    Thanked 1,055 Times in 828 Posts
    Rep Power
    217
    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. 2 Thanks to Michael:

    caffrey (29th November 2011), marsdenprimary (6th March 2012)

SHARE:
+ Post New Thread

Similar Threads

  1. Home folders renames to My Documents
    By bewlay51 in forum Windows Server 2008
    Replies: 36
    Last Post: 27th February 2012, 03:54 PM
  2. Replies: 26
    Last Post: 10th December 2010, 11:48 AM
  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, 08:48 PM
  5. Replies: 5
    Last Post: 5th February 2009, 02: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
  •