Solved

Stop Desktop.ini file from being regenerated

Posted on 2007-11-14
5
1,794 Views
Last Modified: 2008-02-01
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
Comment
Question by:PURIM-E
  • 3
  • 2
5 Comments
 
LVL 59

Expert Comment

by:LeeTutor
ID: 20279583
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
 

Author Comment

by:PURIM-E
ID: 20287774
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
 
LVL 59

Accepted Solution

by:
LeeTutor earned 500 total points
ID: 20289075
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
 

Author Comment

by:PURIM-E
ID: 20289486
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
 

Author Comment

by:PURIM-E
ID: 20732221
I found the best thing to do was to use a log on script that deleted the file.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Service applet starts in Extended Mode by Default, with a taskpad on the left of the services pane. This view mode was introduced in XP. As I find it not very usefull, I like to use the Standard view as default, and without the Console tree. …
There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now