Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] the desktop.ini incident again

0 views
Skip to first unread message

Holger Wesser

unread,
Apr 20, 2005, 6:40:05 AM4/20/05
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I also have the problem that the notepad pops up (with desktop.ini
opened), everytime I logon.

I know the workaround that was mentioned a thousand times before:

hide files = /desktop.ini/ntuser.ini/NTUSER.*/

I put the file to the [profile]-share, to the [global]-share, but it
won't work!

An extract of my smb.conf:

[profiles]
comment = Profile Share
path = /data/profiles
valid users = %U, "@Domain Admins"
force user = %U
read only = No
create mask = 0600
directory mask = 0700
guest ok = Yes
profile acls = Yes
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
csc policy = disable

Any hints how I can solve this problem?

Thanks,
Holger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCZjECO0QDuZMdP0sRAnZaAJ45qMPbtgb447FgT5kogu5MFyOllQCfToCX
5P/KKZ1rTUeFmoz1qUmJ6hY=
=wzHI
-----END PGP SIGNATURE-----
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Tony Earnshaw

unread,
Apr 20, 2005, 9:10:17 AM4/20/05
to
Holger Wesser wrote:

> I also have the problem that the notepad pops up (with desktop.ini
> opened), everytime I logon.
>
> I know the workaround that was mentioned a thousand times before:
>
> hide files = /desktop.ini/ntuser.ini/NTUSER.*/

Hmmm ... if it's been written 1.000 times, why are you getting it wrong?
hide files = /desktop.ini/

--Tonni

--

mail: to...@billy.demon.nl
http://www.billy.demon.nl

They love us, don't they, They feed us, won't they ...

Holger Wesser

unread,
Apr 20, 2005, 9:40:15 AM4/20/05
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tony,

sorry, but I cannot see any differences?!
In the Book "Using Samba" it is written:

<snip>

hide files = slash-separated list
Allowable values: patterns, separated by / characters
Default: NULL
Specifies a list of file or directory names on which to set the MS-DOS
hidden attribute. Names can contain ? or * pattern characters and %
variables.

</snip>

When I delete the entries after "/desktop.ini/", it still won't work.

Greets
Holger

Tony Earnshaw wrote:

|> I know the workaround that was mentioned a thousand times before:
|>
|> hide files = /desktop.ini/ntuser.ini/NTUSER.*/
|
| Hmmm ... if it's been written 1.000 times, why are you getting it wrong?
| hide files = /desktop.ini/
|
| --Tonni
|

-----BEGIN PGP SIGNATURE-----


Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCZlqmO0QDuZMdP0sRAt5fAJ9K5/7BYKV9sIfyUIKfP7mdAsRW7wCeOS7D
GIqW54Cj7LcwVvafCwTwhy4=
=F0tZ
-----END PGP SIGNATURE-----

Paul Gienger

unread,
Apr 20, 2005, 9:50:09 AM4/20/05
to

> I also have the problem that the notepad pops up (with desktop.ini
> opened), everytime I logon.
>
> I know the workaround that was mentioned a thousand times before:
>
> hide files = /desktop.ini/ntuser.ini/NTUSER.*/

Wasn't the workaround actually to do a
veto files = /desktop.ini/

The few mentions I found were to that effect, although my syntax could
be wrong.


--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc.
Systems Architect Fax: 701-281-1322
URL: www.ae-solutions.com mailto: pgie...@ae-solutions.com

Holger Wesser

unread,
Apr 20, 2005, 10:00:21 AM4/20/05
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, you're right. But I remember following email sent on 09/24/2004:

Samuel Partida wrote:

|Hi there, we had some problems with that issue, i know it is covered
|and i solved it with veto file = /*ktop.ini/ etc...
|
|But now i'm thinking about it again, it's because Windows XP saves
|some metainformation in some hidden files, one of them is desktop.ini,
|which is very annoying because notepad is opened on every user session,
|but, there is another file, thumbs.db, it becomes visible on remote
|shares and roaming profiles.

The following line is from one of the emails from the thread the other
day regarding this. I don't recall anyone saying to use 'veto file'.

hide files = /desktop.ini/ntuser.ini/NTUSER.*/

So I ask myself, what's the difference between "veto files" and "hide
files"? In my eyes, veto files are totally ignored by the client. Hide
files only gets the "hidden"-attribute and can be read by the client.

Greets
Holger

Paul Gienger wrote:
| Wasn't the workaround actually to do a
| veto files = /desktop.ini/
|
| The few mentions I found were to that effect, although my syntax could
| be wrong.
|
|

-----BEGIN PGP SIGNATURE-----


Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCZl93O0QDuZMdP0sRAmqfAKCkFXnlom3Fs9h7yCj9BkMZb3wJGQCgne4z
1Zbya5MnTAQ+TG4ndz1AQ0U=
=NXxD
-----END PGP SIGNATURE-----

Collen

unread,
Apr 20, 2005, 10:00:25 AM4/20/05
to
And if you try "hide files = /*desktop.ini*/" ??
does it hide the other files ?? (ntuser.ini/NTUSER.*/)
might be a capital thing ..!

good-luck
Collen

Collen

unread,
Apr 20, 2005, 10:10:08 AM4/20/05
to
o btw, i forgot..

notepad popup when logon, is the fact that the desktop.ini is in your
startup folder..
so remove it from the userprofile, and the allusers profile
(start menu\programs\starup\ (within windows))

sorry for the extra post..
collen


Paul Gienger wrote:
>
>> I also have the problem that the notepad pops up (with desktop.ini
>> opened), everytime I logon.
>>
>> I know the workaround that was mentioned a thousand times before:
>>
>> hide files = /desktop.ini/ntuser.ini/NTUSER.*/
>
>
> Wasn't the workaround actually to do a
> veto files = /desktop.ini/
>
> The few mentions I found were to that effect, although my syntax could
> be wrong.
>
>
--

Holger Wesser

unread,
Apr 20, 2005, 10:30:13 AM4/20/05
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Collen,

thanks for your reply. Unfortunately, the "desktop.ini" infiltrates a
lot of directories. So I can find it at the "Quick launch" too. And I am
sure, I never created this file in this directory ;-)

Of course, you're right- I solve the problem by deleting the files
manually. But I don't like to repeat this procedure in every user-profile.

Greets,
Holger

Collen wrote:
| o btw, i forgot..
|
| notepad popup when logon, is the fact that the desktop.ini is in your
| startup folder..
| so remove it from the userprofile, and the allusers profile
| (start menu\programs\starup\ (within windows))
|
| sorry for the extra post..
| collen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCZmb4O0QDuZMdP0sRAp83AJ9jdk66sX9iBpEvuVHQqTR0LIi3WACfd6mg
BZ/zbqrMDHp8PsMALNLPr5g=
=K/By
-----END PGP SIGNATURE-----

Guido Lorenzutti

unread,
Apr 20, 2005, 5:20:09 PM4/20/05
to
I was having the same problem some days ago and i found the "map system"
and other "map" options in the man of the smb.conf that may suit your needs.

This options tells samba that "system files" of windows gets hiden
attribute. I don't try it yet because i just can't apply the changes
right know. Im going to have to wait to the weekend. Tell me if it works.

Sean Fichera

unread,
Apr 20, 2005, 8:00:16 PM4/20/05
to
Holger,

The desktop.ini file needs to be removed from the startup folder.
Browse your default user profile to find the startup folder and delete
the desktop.ini or you could try a login script that deletes the file
and then users will only have to see it once. The MS KB should have a
fix for the desktop.ini file problem. They also suggest you check for
and delete a few more desktop.ini files in different places.

Sean

Holger Wesser

unread,
Apr 21, 2005, 4:10:13 AM4/21/05
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks all for your hints. I will try it, as soon as possible and let
you know, whether it worked or not.

Thanks.


Holger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCZ17KO0QDuZMdP0sRAifSAJ0dCSX95bg+L5q2blyyySzomMkiHgCeNdiO
XyojGss41NhAH0T4yxXOwfg=
=wCZR

Wolfgang Ratzka

unread,
Apr 21, 2005, 4:20:09 AM4/21/05
to
Matthias Eichler wrote:
> I think the real "problem" is the following:
>
> - windows saves the settings of the desktop and folder
> view in this file which is normally hidden, so the
> desktop.ini is more or less always there
> - it just comes up (via autostart e.g.) or in the quickstart-
> panel if you configure windows to display all system and
> hidden files...

Or (what seems to be the case here) if storing the roaming
profile in a samba share somehow fails to preserve the "hidden"-flag.

--
Wolfgang Ratzka

Matthias Eichler

unread,
Apr 21, 2005, 4:20:08 AM4/21/05
to
I think the real "problem" is the following:

- windows saves the settings of the desktop and folder
view in this file which is normally hidden, so the
desktop.ini is more or less always there
- it just comes up (via autostart e.g.) or in the quickstart-
panel if you configure windows to display all system and
hidden files...

Matthias

Holger Wesser

unread,
Apr 25, 2005, 7:40:10 AM4/25/05
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

I set the "hidden"-flag of the desktop.ini files manually and saved back
~ the profile. Afterwards the effect didn't appear again. And so it's
like Wolfgang said: "...if storing the roaming profile in a samba share


somehow fails to preserve the "hidden"-flag."

Greets,
Holger

Holger Wesser wrote:
| Thanks all for your hints. I will try it, as soon as possible and let
| you know, whether it worked or not.
|
| Thanks.
| Holger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCbNWUO0QDuZMdP0sRAqnMAJ9bcScERXiXx80dY0hIpwzyDIwUtwCeLeUW
2pEvcNj1/w2KPLIRDmIZrTA=
=ZZ7c

0 new messages