Koozali.org: home of the SME Server

Desktop.ini showing in menus under windows.

Kristian

Desktop.ini showing in menus under windows.
« on: January 13, 2004, 12:59:46 PM »
Hey everyone!

When i have a user logging in he will see this file and the files will also showup in windows menus, how do i solve this?

[.ShellClassInfo]
LocalizedResourceName=@shell32.dll,-21782
[LocalizedFileNames]
Windows Media Player.lnk=@C:\WINDOWS\inf\unregmp2.exe,-4
Fjernsupport.lnk=@%systemroot%\system32\rcbdyctl.dll,-152
Internet Explorer.lnk=@xpsp1res.dll,-11001
Outlook Express.lnk=@xpsp1res.dll,-11004

Sorry my rusty english im danish.

Regards
 - Kristian

Nathan Fowler

Re: Desktop.ini showing in menus under windows.
« Reply #1 on: January 14, 2004, 02:06:08 AM »
Start, Run, Explorer.exe [ENTER]
Tools, Folder Options, View
Hide Protected Operating System Files [CHECK]

Kristian

Re: Desktop.ini showing in menus under windows.
« Reply #2 on: January 15, 2004, 10:49:50 AM »
How do you this on all users? Setting this options as checked as default? Is it possible to add a reg tweak and will it run on otherusers than admin?

Heres my logonscript.bat:
@echo off
REM -----> To set the time when clients logon to the domain
net time \****servername**** /set /yes

REM -----> Deletes all mounted network drives
net use * /delete /yes

REM -----> Map User Network Home Drive
net use h: \****servername****\%username%

if %os%==Windows_NT goto windows2000
if %os%==Windows goto windowsXP

:windows2000
regedit /s \2000\windows2000.reg

:windowsXP
regedit /s \xp\windowsxp.reg

 - Kristian

Steve Bush

Re: Desktop.ini showing in menus under windows.
« Reply #3 on: January 16, 2004, 05:01:19 AM »
This is caused by a bug in Windows XP along with Roaming profiles.
fyi - roaming profiles is turned on no matter what in SME5.x...fixed in 6.0.

What I have done to solve the problem (YMMV) was to do a search
on the C: drive for all desktop.ini files and delete them.
Windows wouldn't let me delete several of the files as they were in use

I then did the same thing on the users profile directory.

Kristian

Re: Desktop.ini showing in menus under windows.
« Reply #4 on: January 16, 2004, 10:20:31 AM »
And there will be no desktop.ini in newly created roaming profiles (they will remain hidden)?
Thanks for the help by the way its really a pleasure to use this forum!

 - Kristian