up vote 1 down vote favorite
share [g+] share [fb]

I've been keeping my desktop totally free from shortcuts. I'd rather not have to take action to do so.

link|improve this question

feedback

3 Answers

up vote 1 down vote accepted

I don't think you can disable all programs from creating shortcuts, but I use Fences.

It lets you group icons on the desktop, but most importantly, when you double click on the desktop it hides all the item that are not in the fences.

alt text

link|improve this answer
feedback

There is no overwriting setting I am aware of that stops it, however you have three options - one dangerous, one that sort of bypasses and one safe!

Dangerous way

Edit security settings on the following folders: (Go one folder up, right click on it, and do properties)

c:\users\<name>\Desktop

or

%userprofile%\Desktop

and

c:\users\default\Desktop

Next, go to the security tab and click edit. You want to put the Deny property on both Modify and Write. You should do this for just your user if the installer runs under your user.

This has the downside that you cannot create icons, but it should work.

Safe way

Simply delete any icon that is generated by an install!

Bypass way

Right click anywhere on the desktop where there are no items. Expand the view option and untick "Show Desktop Icons"... This of course has the downside that you will not have any icons - but if this is what you are trying to achieve, it doesn't matter!

link|improve this answer
feedback

I don't know if there's a way to do it within Windows but I do know that this BASIC code will work:

Kill("C:\Users\<name>\Desktop\*.lnk")

This automatically deletes all shortcuts on the desktop.

Otherwise, I don't know of any way except manually deleting them
(which only takes a few seconds anyways)
If I really didn't want to do that, I would use the "Dangerous way" that @William suggests

link|improve this answer
Unfortunately, there are applications that recreate the desktop icon if it has been deleted. – Dour High Arch Sep 13 '11 at 4:12
feedback

Your Answer

 
or
required, but never shown

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