Jump to content

Recommended Posts

Posted

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

Posted
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
Posted

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

  • Thanks 1
Posted

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.

Posted

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 "n:DOMAIN\USERNAMEHERE;p:full" -ace "n:DOMAIN\domain admins;p:full;m:deny" -actn setprot -op "dacl:p_c;sacl:p_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:

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"

Posted
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?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...