Jump to content

Remove IE Desktop Shortcut


Recommended Posts

I could have sworn I had seen this discussed somewhere, but the Search turned up no results.

Anyway - how do I remove the desktop Internet Explorer desktop shortcut using a batch file? (I only want it removed in some cases, not by default - therefore I need the batch file)

Link to comment
Share on other sites


MCT, think again. ;) There's no such file existing!

The IE icon on desktop showing/not-showing is controlled by a CLSID in the registry. If you want to do it thru a batch-file, you can use the reg.exe command. Look in the registry tweaks thread for the relevant key.

Link to comment
Share on other sites

probably mct don't remove it :P

;icons on desktop
;1:mycomp;2:mydocs;3:network;4:iexplorer
;01=hide,00=show
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000001
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000001
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000001
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000001
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000001

Link to comment
Share on other sites

Simon just did... you need to use reg tweaks to do it.. check out the comments of the code he posted.. copy and paste to a reg file and make the necessary changes (show or hide). The 4th line for each of the reg keys is for IE and his code has it hidden.

Link to comment
Share on other sites

probably mct don't remove it :P

;icons on desktop
;1:mycomp;2:mydocs;3:network;4:iexplorer
;01=hide,00=show
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000001
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000001
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000001
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000001
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000001

thats correct, i dont :P

Link to comment
Share on other sites

Okay, everyone please remember this...

Quote only the part of the post which you are replying to. For example, in the above post, MCT could have just left the first-line and edited out all the CODE because that code is not required to convey what he's saying.

This is going to make its way into the etiquette, and anyone found not following it will be.... *secret*

Link to comment
Share on other sites

@ a06lp

Use both the following in a batch /cmd file or just the one you want.

REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v "{871C5380-42A0-1069-A2EA-08002B30309D}" /t REG_DWORD /d 1
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\HideDesktopIcons\NewStartPanel /v "{871C5380-42A0-1069-A2EA-08002B30309D}" /t REG_DWORD /d 1

Note there are 2 lines only, just copy & paste them

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...