/build/static/layout/Breadcrumb_cap_w.png

Clarification required for registry?

Hi,

I received a registry to merge in msi. I can do that but - is mentioned before a key what does - mean?

Here is the registry information,

 

[HKEY_USERS\.DEFAULT\Control Panel\Desktop]

 

"DragFullWindows"="1"

"SCRNSAVE.EXE"="C:\\WINDOWS\\SYSTEM32\\LOGON.SCR"

"ScreenSaveActive"="1"

"ScreenSaveIsSecure"="0"

"ScreenSaveTimeOut"="15"

 

 

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]

 

"NoAutoUpdate"=dword:00000000

"NoAutoRebootWithLoggedOnUsers"=dword:00000001

"UseWUServer"=dword:00000000

 

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display]

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Personalize]

 

I'm referring to the last 2 line which has - before. What does that mean?

Thanks in advance.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: dunnpy 10 years ago
Red Belt
2

I've just tested this, by creating my own key set, exporting it, and then adding the '-' to the registry path and doubling clicking it to import it.

It removes the key in question.

So in your case you just need to ensure that you remove the keys with a '-' in front of them as part of your package, and add the keys without the '-'.

Hope that helps,

Dunnpy


Comments:
  • But, those keys are not available in my msi and they are part of base machine. - vinodreddy10 10 years ago
  • >those keys are not available in my msi
    Soooooo...add them? Or, better yet, since they're keys associated with Group Policy, you'd be better off having the changes made via, er, Group Policy.

    BTW, as far as *most* packaging is concerned, you can ignore registry entries below '[HKEY_USERS\.DEFAULT]'. That belongs to the local System account and packages have no right futzing with it. - anonymous_9363 10 years ago
Posted by: jagadeish 10 years ago
Red Belt
2

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display]

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Personalize]

Means, this will remove the HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display and HKEY_CLASSES_ROOT\DesktopBackground\Shell\Personalize keys (Including it's subkeys, values and data),

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ