How to show/hide the My Computer icon on the desktop via the command line?

3

1

How I can show or hide the Computer (My Computer) icon on the desktop from CMD?

sma6871

Posted 2013-01-23T08:23:16.167

Reputation: 133

Do you specifically need .lnk shortcut or any other .bat or something that can launch My Computer will do? – Ankit – 2013-01-23T08:40:52.173

No, I want to enable Computer icon in desktop icons in windows 8 – sma6871 – 2013-01-23T08:50:13.377

@bummi this post create shortcut but I want to show read Computer icon with Manage option on right click. – sma6871 – 2013-01-23T09:56:18.267

Answers

2

Try the following:

  1. To hide the icon:

    reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 1 /f
    
    reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 1 /f
    
  2. To show the icon:

    reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f
    
    reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f
    

Karan

Posted 2013-01-23T08:23:16.167

Reputation: 51 857