[Samba] Help! desktop.ini hell!

Jay Ts jay at metran.cx
Sat May 4 13:45:02 GMT 2002


Gary wrote:
> 
> I am using Windows XP Pro clients with 2.2.4 on a RH 7.2 box. Roaming 
> profiles work correctly. However, I have noticed that Samba seems to handle 
> the "desktop.ini" file incorrectly. On startup using my roaming profile, 
> notepad pops up with the contents of one desktop.ini file.

That would be caused by desktop.ini appearing in the Startup menu.

> Various other ones are scattered throughout my start menu.

Yep, I've noticed this too!  And IIRC, sometimes a desktop.ini will
appear from nowhere in a folder.  And I do remember this one: a
desktop.ini can appear on the taskbar.  Very annoying.

I don't know if this applies to your network there, but I've found it
helpful to keep the roaming profiles of the different Windows versions
separated in different directories, so a Win XP client won't ever get
a profile from a Win2000 client, for example.  I don't know if this
helps with the desktop.ini problem, but it helped with other things here.

A possible workaround might be to add a cron job that looks for
the desktop.ini files in the profiles directory, and deletes them.
If you run the job every minute, that may be sufficient to keep
the files deleted so that if you log out and then back in again
(as quickly as you can), the file will get deleted in between.

And hey, I haven't tried it, but what about:

[profiles]
	veto files = desktop.ini

?

Jay Ts
jayts at iname.com




More information about the samba mailing list