+ 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
    315
    Thank Post
    12
    Thanked 26 Times in 25 Posts
    Rep Power
    15

    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. #2
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    HI

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

    Richard

  3. #3

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    283
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    20
    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.

  4. #4

    Join Date
    Feb 2011
    Posts
    91
    Thank Post
    6
    Thanked 24 Times in 15 Posts
    Rep Power
    11
    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.

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

  6. #6

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,228
    Thank Post
    239
    Thanked 1,562 Times in 1,246 Posts
    Rep Power
    339
    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.

  7. 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: 41
    Last Post: 19th September 2013, 08:46 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
  •