Solved

Stop Desktop.ini file from being regenerated

Posted on 2007-11-14
5
1,788 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
I found the best thing to do was to use a log on script that deleted the file.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

7 Experts available now in Live!

Get 1:1 Help Now