Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing 'New -> Shortcut' 1

Status
Not open for further replies.

zxarr

Technical User
Feb 27, 2003
23
CA
Hi there. I am using XP Pro in a school environment, and am looking for a way to stop the students from using the right click context menu to create new shortcuts. I've got quite a bit locked down between the GPO and NTFS permissions, but users can still create a shortcut to things like 'net use' or 'net send' and even 'format'.

I can remove the '.lnk' from the registry, but that just stops the new shortcut wizard from starting. I'd like to remove the 'Shortcut' option right from the context menu itself!

Can anyone help? :)
 
You can use Group Policy to restrict certain .exe files from being run.

In addition, you have explicit Group Policy object dealing with the registry and its tools.

Look at the tools you are concerned about, and select the best approach:

. format, for instance you could delete from the drives or barred from running in Group Policy
. the NET command is a tough case, but disabling the Windows Messenger Service can stop a NET Send
. Normal Windows network protection of file and printer mapping should handle the bulk of concerns about the use of the NET command
. You can through Group Policy bar the changing of the Desktop and any of its controls
 
New registry setting:
HKEY_CLASSES_ROOT\.lnk\ShellNew\Command=""
or delete it
{not having a spare machine to try it on, I can't tell you which would work}



Old - save as a .reg file to get it back to how it was

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.lnk\ShellNew]
"Command"="rundll32.exe appwiz.cpl,NewLinkHere %1"

 
madonnac,

I like that one a lot.

Best.
A star for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top