Jump to content

show My Computer on desktop registry entry?


 Share

Recommended Posts

Im plodding along adding things to my unattended installation bit-by-bit and now im exploring registry settings. Above all else I want the 'My Computer' icon on the desktop by default on all user profiles and I've searched everywhere for this on these forums and the net...unless im being blind I cannot see it mentioned anywhere but I wouldve thought this was a common request.

Also, I've tried this once (my registry file 'Regedit /s tweaks.reg' called from cmdlines.txt;

Windows Registry Editor Version 5.00

;Disable Welcome Screen and uses Classic Logon

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"LogonType"=dword:00000000

;Classic control panel view

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

"ForceClassicControlPanel"=dword:00000001

The classic logon works, but the classic control panel doesnt?!? Any ideas.

Cheers.

Link to comment
Share on other sites


I assume from the fact that it isn't already on displayand that although trying the Classic Logon and Classic Control Panel, that you are not using the Classic Desktop, therefore try this:

At cmdlines.txt under [Commands] put:

"rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 .\mycomp.inf"

Then create the following mycomp.inf file and put it in the same location:

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg=Reg.Settings

[Reg.Settings]
HKLM,%PATH%,{20D04FE0-3AEA-1069-A2D8-08002B30309D},0x10001,0

[Strings]
PATH="SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"

Link to comment
Share on other sites

Show My Computer icon on the desktop:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000

You should add this to the registry at the cmdlines.txt stage (then it will be applied to the default user profile).

If you also want My Documents on the desktop, add:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000

Or use Yzöwl's method... It's a matter of taste.

Link to comment
Share on other sites

Thanks for the replies guys! Mahi's suggestion is more concise, however, I may have to try Yzowl's because as I mentioned in the opening post, the classic control panel doesn't show up...after further experimenting it seems that all HKEY_CURRENT_USER entries processed from the cmdlines.txt don't work when im doing my unattended install, however HKEY_LOCAL_MACHINE entries do!!!!! Is this normal? What could be the reason for this?

Link to comment
Share on other sites

Try these... It works for me.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
;My computer
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
; My network places
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000
;My documents
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000
;Internet Explorer
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000000

Link to comment
Share on other sites

Thanks for the reply rx7tt, I shall try those shortly. However, now im slightly confused. I was under the impression (from reading various registry tweak related threads) that if you add a HKEY_CURRENT_USER value to the registry using the cmdlines.txt the changes would be mapped to the default user profile. However, the above post are HKEY_LOCAL_MACHINE and a quick check on this computer using regedit shows them to exist here, so have I been misreading these threads? Just trying to get things straight in my mind :/

Link to comment
Share on other sites

  • 2 weeks later...
Try these... It works for me.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
;My computer
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
; My network places
"{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000000
;My documents
"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000
;Internet Explorer
"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000000

First, sorry for pulling up an old thread...

I've tried paste your code into a *.reg file but when I run it a message tells me that only binary values are supported.... :(

How can I solve this problem?

(Sorry for bad English)

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...