Bug Reports

An error occurs when trying to rename certain programs in Software Updater.

Bug report typeNon-fatal bug
Program affectedSoftware Updater (v1.0 Build 02)

When you try to rename certain programs from Software Updater that were not added by you, you get the following error:

An unhandled error has occured.
Error details:
System.UnauthorizedAccessException: Access to the registry key 'HKEY_LOCAL_MACHINE\Software\MarkKB\Software Updater\Project Nelson' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)

The error occurs because Software Updater is trying to rename a program registered in the All Users registry (HKEY_LOCAL_MACHINE), to which an unprivilaged user does not have access to.

Updated 29 Apr 2011: Minor errors corrected.

Steps to reproduce
  1. Open the Software Updater main window.
  2. Select one of the programs not added by you (e.g. Software Updater or Project Nelson).
  3. Click Rename.
  4. Type an alternate name.
  5. Click Rename.

Start Registry Editor and navigate to HKEY_LOCAL_MACHINE\Software\MarkKB\Software Updater. Right-click the key that represents the program you want to rename, and click Rename. Type in a new name and hit the Enter key.

StatusFIXED in v1.0 Build 03.

Copyright © 2004-2011 Mark Kéy-Balchin.