Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any macro solution to eliminate the "Create Shortcut" and "Send to Desktop" options from right click? If not, is there any way other than messing with user permissions?

Thank you so much!

share|improve this question

migrated from stackoverflow.com Nov 26 '12 at 22:02

This question came from our site for professional and enthusiast programmers.

    
From right-clicking what? –  LittleBobbyTables Nov 26 '12 at 19:59
    
@LittleBobbyTables From right clicking the Excel workbook, unfortunately... –  okapishomapi Nov 26 '12 at 20:20
    
clicking it where? in its folder? –  scott Nov 26 '12 at 21:43

1 Answer 1

Can't see why you would want to do that, but it's possible.
note that this will remove them for ALL operations, not just for your file.

To remove the right click create shortcut menu, save the code block as a .REG file, and run it

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.lnk\ShellNew]

To remove the SendTo -> Desktop, search for all .DeskLink files, and delete them

to fix after:
recreate the shortcut menu:

Windows Registry Editor Version 5.00

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

To recreate the Sendto -> desktop, create an empty file with the name Desktop (create shortcut).DeskLink in the users SendTo folder

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.