+ Post New Thread
Results 1 to 11 of 11
Windows 7 Thread, my documents renamed in windows 7 in Technical; Right i Thought i had cracked this problem, but unfortunately not, when users login the system edits there desktop.ini file ...
  1. #1
    Frut02's Avatar
    Join Date
    Oct 2011
    Location
    Cambridge
    Posts
    133
    Thank Post
    4
    Thanked 11 Times in 11 Posts
    Rep Power
    8

    my documents renamed in windows 7

    Right i Thought i had cracked this problem, but unfortunately not, when users login the system edits there desktop.ini file which then displays their username as My Documents, Any quick fixes i know what i need to do i need to restrict write access to desktop.ini, but not sure if there is s script that can help with this?

    Nick

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,647
    Thank Post
    229
    Thanked 865 Times in 743 Posts
    Rep Power
    297
    you can use file server resource manager (its built in but not turned on from server 03r2 (possibly r1 but cant remember) and just block the creation of any file in say d:\users (or wherever you keep you users files) so you can stop people making a file called desktop.ini it just wont allow it even as admin

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,054
    Thank Post
    888
    Thanked 1,729 Times in 1,492 Posts
    Blog Entries
    12
    Rep Power
    454
    There are lots of fixes on here if you do a search.

  4. #4
    maark's Avatar
    Join Date
    Feb 2006
    Location
    leicester
    Posts
    474
    Thank Post
    90
    Thanked 74 Times in 66 Posts
    Rep Power
    38
    I think XP needs the desktop.ini file so depands whether you are running a mixed environment with win 7 and XP

  5. #5

    rush_tech's Avatar
    Join Date
    Jul 2006
    Location
    Nottingham
    Posts
    1,410
    Thank Post
    111
    Thanked 265 Times in 201 Posts
    Rep Power
    194
    quick fix:
    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

  6. Thanks to rush_tech from:

    dhoward_westexetc (5th October 2011)

  7. #6
    dhoward_westexetc's Avatar
    Join Date
    May 2008
    Location
    Exeter, Devon
    Posts
    223
    Thank Post
    46
    Thanked 21 Times in 17 Posts
    Rep Power
    16
    What a lifesaver this is! Thanks for that rush_tech.

  8. #7

    rush_tech's Avatar
    Join Date
    Jul 2006
    Location
    Nottingham
    Posts
    1,410
    Thank Post
    111
    Thanked 265 Times in 201 Posts
    Rep Power
    194
    this will change the default folder view for all your folders

    1. Open a folder and make changes as you like.
    2. Press Alt to display the menu bar. Click Tools -> Folder options.
    3. Click View tab.
    4. Press the "Apply to folders" button.
    5. Click Apply and click OK.

  9. #8
    dhoward_westexetc's Avatar
    Join Date
    May 2008
    Location
    Exeter, Devon
    Posts
    223
    Thank Post
    46
    Thanked 21 Times in 17 Posts
    Rep Power
    16
    The above also works on Windows Vista\Server 2008 first release.

  10. #9
    mrbios's Avatar
    Join Date
    Jun 2007
    Location
    Stroud, Gloucestershire
    Posts
    2,541
    Thank Post
    362
    Thanked 263 Times in 215 Posts
    Rep Power
    100
    If you want to make the actual name correct rather than displaying the seperate column as per the above fix use this:

    Download set acl and use the following...
    C:\setACL.exe -on H:\HOMEPATHHERE\desktop.ini -ot file -actn ace -ace "nOMAIN\USERNAMEHERE;p:full" -ace "nOMAIN\domain admins;p:full;m:deny" -actn setprot -op "dacl_c;sacl_c"

    to generate a list of the home paths use this method:
    open command prompt on your file server, change directory to the one you want to list and use the command "dir /b > filename.txt" (Thank you k.c.leblanc for that part)

    Use concatenate to generate the home path and the domain\username section as per your requirement, copy your concatenated result list to a batch file and run it on your file server

    Sounds like winded but only takes a few minutes

    EDIT: haha the smilies have taken over! here it is in code brackets:
    Code:
    C:\setACL.exe -on H:\HOMEPATHHERE\desktop.ini -ot file -actn ace -ace "n:DOMAIN\USERNAME;p:full" -ace "n:DOMAIN\domain admins;p:full;m:deny" -actn setprot -op "dacl:p_c;sacl:p_c"

  11. #10
    swordfish215's Avatar
    Join Date
    Oct 2009
    Location
    West Midlands
    Posts
    14
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by rush_tech View Post
    this will change the default folder view for all your folders

    1. Open a folder and make changes as you like.
    2. Press Alt to display the menu bar. Click Tools -> Folder options.
    3. Click View tab.
    4. Press the "Apply to folders" button.
    5. Click Apply and click OK.
    Does anyone know if this can be set through group policy as the default view?

  12. #11
    dhoward_westexetc's Avatar
    Join Date
    May 2008
    Location
    Exeter, Devon
    Posts
    223
    Thank Post
    46
    Thanked 21 Times in 17 Posts
    Rep Power
    16
    Quote Originally Posted by swordfish215 View Post
    Does anyone know if this can be set through group policy as the default view?
    Not that I am aware of no, i can't see any group policy preference options for this.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 38
    Last Post: 9th August 2012, 10:37 PM
  2. synchronising My Documents in Windows 7
    By ClaireJoanne in forum Windows 7
    Replies: 1
    Last Post: 12th September 2011, 08:21 PM
  3. "My Computer" freezing in Windows XP
    By Zourous in forum Windows
    Replies: 3
    Last Post: 18th February 2011, 02:49 PM
  4. BHO.DLL - anyone know why this is in "My Documents"
    By StewartBondi in forum Windows
    Replies: 7
    Last Post: 13th January 2010, 10:13 AM
  5. Replies: 10
    Last Post: 14th August 2007, 07:03 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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