[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1816
  • Last Modified:

Stop Desktop.ini file from being regenerated

Hi everyone.
I am having a problem where Network home folders are being renamed to 'Documents'.  I have found out that this is a problem with the Desktop.ini file which is generated in their home folder.  When I delete the desktop.ini file the folder name reverts back their username which is correct.  Problem is... when the user logs off and back on again, the Desktop.ini file is regenerated... how do I stop this ?
Please see this link for details of my problem:
http://www.edugeek.net/index.php?name=forums&file=viewtopic&t=9452&view=next
Thanks
0
PURIM-E
Asked:
PURIM-E
  • 3
  • 2
1 Solution
 
LeeTutorretiredCommented:
Perhaps it is only a matter of editing the contents of the Desktop.ini file and resaving it.  It is an ASCII text file readable by Notepad.  Copy and paste the contents of the file to your next comment.
0
 
PURIM-EAuthor Commented:
Hiya... this is the contents of the file:


[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769
IconResource=%SystemRoot%\system32\imageres.dll,-183


Editing the file for each user will be a bit of a a pain.
0
 
LeeTutorretiredCommented:
Found an interesting Previously Answered Question at E-E of a somewhat similar nature:

http://www.experts-exchange.com/Networking/Novell_Netware/Q_22687315.html
shell32.dll,-12693   shows up as HOME folder name in My Computer

From one of the comments by expert ShineOn:

Windows won't bother reading the desktop.ini of any folder that doesn't have the read-only attribute set, for some reason....




If this is true, it suggests you might get your problem resolved by turning off the read-only attribute on your Home folder.


0
 
PURIM-EAuthor Commented:
Hi there.. was not able to do this... when I untick Read only and apply... it applies it but...
when I then check the folder attributes again... the 'Read Only' attribute is ticked again - help :-)
0
 
PURIM-EAuthor Commented:
I found the best thing to do was to use a log on script that deleted the file.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now