Create a non-deleteable desktop icon

  • Thread starter Jonathan Scoles
  • Start date
J

Jonathan Scoles

In the lab I administer, we give all clients full administrative access to
our systems. DeepFreeze takes care of the rest.

Anyway, this makes it hard prevent clients from accidentally deleting some
things, like the desktop logoff icon, which runs a local script. Is there
any way to make such a shortcut or icon into something a user can't
delete, even with administrative privleges? I'm not worried about making
it super secure, just so that if someone accidentally deletes it, it will
say they can't.

-Jonathan
 
D

Dave Patrick

A couple of options.

1.) Use the Group policy editor
%windir%\system32\gpedit.msc
User Config\Windows Settings\Scripts\Logon/Logoff
Computer Config\Windows Settings\Scripts\Startup/Shutdown

2.) Use the CreateShortcut method of VBScrpt to check for the existence and
recreate the shortcut if necessary at logon.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| In the lab I administer, we give all clients full administrative access to
| our systems. DeepFreeze takes care of the rest.
|
| Anyway, this makes it hard prevent clients from accidentally deleting some
| things, like the desktop logoff icon, which runs a local script. Is there
| any way to make such a shortcut or icon into something a user can't
| delete, even with administrative privleges? I'm not worried about making
| it super secure, just so that if someone accidentally deletes it, it will
| say they can't.
|
| -Jonathan
|
| --
| Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
 
J

Jonathan Scoles

Because of deepfreeze, the script will always be there when a user logs
on. However, I'm trying to prevent them from deleting in during a
session. We remove access to the shutdown commands through the start
menu, so the only way to log off the machine is through the script we
provide.

-Jonathan
 
J

Jonathan Scoles

It worked! Thanks a lot. You don't really create a folder, following
those instructions let you make the icon run any command you like.
 
H

Homer J. Simpson

Jonathan Scoles said:
It worked! Thanks a lot. You don't really create a folder, following
those instructions let you make the icon run any command you like.

I remembered the link, but didn't really re-read the instructions in
details--you're right, it looks like you should actually be able to plug in
any command at all in step 4.

Glad it helped. :blush:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top