Page 1 of 1 1
Topic Options
#10347 - 2001-07-11 09:51 AM Hiding icons
Anonymous
Unregistered


Hi,

I'm new to Kix, just started exploring a week ago. How do I hide the application icons in the Start->Program? I am changing the desktop policy to restrict user's access to some aaplication, for example, Notepad.

Thanks and regards,
MT

Top
#10348 - 2001-07-11 05:07 PM Re: Hiding icons
bleonard Offline
Seasoned Scripter
*****

Registered: 2001-01-19
Posts: 581
Loc: Chicago, IL
MT -
To restrict running of applications you have a few choices:

+ delete the shortcut
+ hide the executable
+ delete/rename the executable
+ create policy list of applications user is allowed to run.

The first two really will not stop a determined user from finding or running the application. The third of course does a good job, but deleting useful utilities may cause problems further down the line.

The last is the most powerful but also may be trickey to implement without solid testing first. You can not create a list under Win9x/NT of files that can not be run, only files that can. This obviously presents some danger - set the wrong exe's and users and administrator could be locked out of the system (for example, no access to regedit, and list is not correct, you might have trouble getting back into the O/S).

You can use kix to perform any of these, but if pursuing the last suggest examining running Windows Policies versus a scripting process.

Lastly, as far as hiding specific icons, suggest examining the Policy template files on the WinNT server (*.adm), and checking into the resource at www.winternals.com. Both will provide wealth of information on keys you can change, and proper settings to implement.

Bill

Top
#10349 - 2001-07-11 05:35 PM Re: Hiding icons
Stephen Wintle Offline
Seasoned Scripter

Registered: 2001-04-10
Posts: 444
Loc: England
Working in a school environment as you can imagine causes all sorts of probs. So ive come up with a few ways to resolve probs with icons and users getting in to run things that they shouldnt.

You could try installing the poledit program that gives you basically a GUI for your registry and provides you with a sorts of customisations for your users. I would recommend setting only a handful of policies.
Once you have this on all your workstations then copy your config.pol file to your netlogon share. As our friend says you can use .adm templates that you can customise. I use a program called SMS from MS to restrict certain .exe and kixtart comes in very handy to customise or to write registry keys to your workstations.. Jacklothian has some very good solutions to this sort of thing and you will get some good pointers from him...

hope this helps.

Steve

_________________________
Dont worry because a rival imitates you. As long as they follow in your tracks they cant pass you!

Top
#10350 - 2001-07-11 08:00 PM Re: Hiding icons
Anonymous
Unregistered


A quick (but insecure) method is to set the hidden atribute
for the item in question. (eg from Windows 95)
code:

$path = "C:|Windows\Start Menu\Programs\Accessories\"
$file = "Notepad.lnk"
$aa = GetFileAttr($path+$file)
$rc = SetFileAttr($path+$file,$aa | 2)


This will remove the item from the Start menu in Windows 9x,
however it is still available from Windows Explorer with
'Show ALL Files' set.
To clear the hidden atribute use
code:
SetFileAttr($path+$file,$aa & &FFFD)


Top
#10351 - 2001-07-11 09:30 PM Re: Hiding icons
gf Offline
Fresh Scripter

Registered: 2001-07-08
Posts: 29
Hi All

I know this is a kixtart bulletinboard, but the best way to hide shortcuts, programs and more is editing the regestry, or useing the poledit.exe program which come with win9x

For further information on poledit see.
www.elkantler.net/security/security.htm

Glenn

Top
#10352 - 2001-07-13 12:05 AM Re: Hiding icons
Anonymous
Unregistered


Hi all, thanks for the info. Will try out.

Thanks and regards,
MT

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1283 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.117 seconds in which 0.092 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org