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 ...
-
24th November 2011, 10:15 AM #1 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?
-
-
IDG Tech News
-
24th November 2011, 12:59 PM #2 HI
The desktop.ini I had to delete as in the home folder of each user.
Richard
-
-
24th November 2011, 01:09 PM #3 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.
-
-
24th November 2011, 03:49 PM #4
- 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.
-
-
24th November 2011, 04:34 PM #5 Please see the sticky thread n this forum - the Hints and Tips one. It has all this covered already :-)
-
-
24th November 2011, 06:15 PM #6 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.
-
4 Thanks to Michael:
caffrey (29th November 2011), JJonas (20th November 2012), marsdenprimary (6th March 2012), penfold (23rd November 2012)
SHARE: 
Similar Threads
-
By bewlay51 in forum Windows Server 2008
Replies: 37
Last Post: 18th October 2012, 11:36 AM
-
By dombera in forum Windows 7
Replies: 38
Last Post: 9th August 2012, 10:37 PM
-
By stu1892 in forum Windows
Replies: 1
Last Post: 27th April 2010, 10:50 AM
-
By Paul_Fielder in forum Windows
Replies: 8
Last Post: 4th February 2010, 07:48 PM
-
By skenmy in forum Windows
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
-
Forum Rules