I use a little VB script to just move the icons to each user's desktop instead of to the Public one. I'm sure there's a better way to get each user's name, but I just hardcoded it. It will still put icons on each user's profile, but at least each person can choose whether or not they have it.
Copy the following into Notepad and save to your desktop as a ".vbs" file. Change the Users to match the Users of the computer. And change the "dim User(4)" line to be the number of users you have. If you put yourself as User(1) it will open your Desktop Folder after it copies the icons so you can delete any you don't want. When you have new icons just double click on it and they'll be moved out of the "Public" folder.
Dim ObjFso
Dim StrSourceLocation
Dim StrDestinationLocation
Dim StrSourceFileName
Dim StrDestinationFileName
dim objFileCopy
dim file
dim Users(4)
dim i
Dim SH, txtFolderToOpen
StrSourceLocation = "C:\Users\Public\Desktop"
Users(1) = "Brian"
Users(2) = "Danny"
Users(3) = "Cory"
Users(4) = "Jess"
on error Resume Next
for i = 1 to 4
StrDestinationLocation = "C:\Users\" & Users(i) & "\Desktop"
'All text files will be copied to destination
StrSourceFileName = "*.*"
'Creating the file system object
Set ObjFso = CreateObject("Scripting.FileSystemObject")
'Copying the file
ObjFso.CopyFile StrSourceLocation & "\" & StrSourceFileName, StrDestinationLocation & "\" , True
if err.Number <> 0 then
Msgbox "No files to move"
WScript.Quit
end if
Next
Set ObjFso = CreateObject("Scripting.FileSystemObject")
For Each file In ObjFso.GetFolder(StrSourceLocation).Files
file.delete
Next
Set SH = WScript.CreateObject("Shell.Application")
txtFolderToOpen = "C:\Users\" & users(1) & "\Desktop"
SH.Explore txtFolderToOpen
Set SH = Nothing
are you able to make the public desktop folder read-only? and if so does that prevent the installers from creating shortcuts in it? – Xantec – 2010-11-23T15:11:33.913
@Xantec, that's a reasonable suggestion, thanks. However, I install as admin, so I think read-only-ness is moot. (Additionally, I'd prefer not to tweak default system config/layout if I can avoid it.) – pilcrow – 2010-11-23T16:49:43.283
1I don't think you can stop it without the suggestion to make the folder read-only. That said, it's not a Windows 7 thing - it's happened since time immemorial with Acrobat Reader and Firefox in my experience, and I hate it too. I just never considered making the folder read-only :-). – None – 2010-11-25T05:30:57.147
@Randolph_Potter - I don think it is possible in Windows 7. Just tried to it. At first it looks like it work but when checking properties afterward it was set back to the default -- not checked or unchecked but filled it (???). Could have been a neat solution. – SgtOJ – 2010-11-30T16:25:08.033
@Brian Ojeda, wow. I find that unexpected. – pilcrow – 2010-11-30T20:28:26.887
@gregmac, agreed and thanks. Please flag this one as a dup. – pilcrow – 2013-02-01T15:16:46.373