Solved Unable to delete Blackberry registry keys & values

MikeyChris

New member
Local time
10:34 AM
Messages
19
Hello,
I'm running Win7Pro SP1 with all updates. I recently tried to delete all Blackberry software (desktop Manager, etc.) from my computer and found the software was not listed in the PROGRAMS section of Control Panel so I could not UNINSTALL it. So I deleted the folders with program data and all the various associated folders and files I could find. Then I tried purging the registry of keys and values containing the strings blackberry, researchinmotion, etc. There are MANY keys and values that I cannot delete, even though I was logged in as Admin. I then enabled the hidden administrator account (allowing access to "System" data) and still could not remove these keys/values. The usual error message has ERROR DELETING KEY in the title bar of the message box, and a message starting with a red circle with an "X" in it:

"Cannot delete key_name-***************
Error while deleting key"


FWIW, most of the keys have to do with the USB port used for the old Blackberry device.

I read something in the MS KB about this, and tried using their fix (downloading and running regdelnull), but it was no help. I also read a similar thread here about taking possesion of teh key,etc., but none of that works either. I am told i do not have access to the key (even when logged in with the hidden built-in Admin account).

Any ideas?

Thanx.
 

My Computer My Computer

At a glance

Win 7 Pro 64 bitCore 2 Duo E8400 3Ghz4 GBNvidea GE FORCE 310 512MB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo M70e
OS
Win 7 Pro 64 bit
CPU
Core 2 Duo E8400 3Ghz
Motherboard
Unknown
Memory
4 GB
Graphics Card(s)
Nvidea GE FORCE 310 512MB
Sound Card
mother board
Monitor(s) Displays
HP vs17
Hard Drives
500GB maker unknown
PSU
unknown
Case
Lenovo
Cooling
several fans (PSU, CPU, Graphics, Case)
Keyboard
Lenovo KU-0225
Mouse
Lenovo
Internet Speed
20MB/sec
Antivirus
MSSE
Browser
Chrome
Clean Uninstall of the BlackBerry Desktop Software
Clean Uninstall of the BlackBerry Desktop Manager

It is recommended that you back up the existing registry entries prior to implementing changes:



Delete the Research In Motion folders from the registry
  1. Click Start > Run.
  2. Enter Regedit, and then click OK.
  3. In Registry Editor, delete the Research In Motion folder located in HKEY_CURRENT_USER\Software\.
  4. Delete the Research In Motion folder located in HKEY_LOCAL_MACHNINE\Software\.
    NOTE: This key will not be present if removing Desktop Manager version 4.0.
  5. Leave the Registry Editor open to complete the next task.
Delete the Pumatech Shared folders from the registry (if present)


NOTE: Pumatech Shared folders only exist in the registry prior to BlackBerry Desktop Software 4.0 Service Pack 1.
  1. In Registry Editor, delete the Puma Technology folder located in HKEY_CURRENT_USER\Software\.
  2. Delete the Puma Technology folder located in HKEY_LOCAL_MACHINE\Software\.
  3. Close the Registry Editor.
Delete the Research In Motion folders from the hard drive
  • Microsoft Windows 2000 or later:
    1. Access the Windows Operating System Search Tool to run a query for the Research In Motion folders.
    2. Enter "Research In Motion" and click Search.
    3. When the search results are complete, delete the following:
      • Delete the Research In Motion folder found in C:\Program Files\
        NOTE: This folder may not be present if removing Desktop Manager version 4.0.
      • Delete the Research In Motion folder found in C:\Program Files\Common Files (if present).
      • Delete the Research In Motion folder found in C:\Documents and Settings\<user name>\Application Data\
        NOTE: If unable to see Application Data folder, select Tools>View hidden folders.
      • If you are using Desktop Manager 4.0 Service Pack 1, delete the BlackBerry Desktop folder found in C:\Documents and Settings\<user names>\Application Data\
Delete the Pumatech Shared folders from the hard drive (if present)
  • If uninstalling BlackBerry Desktop Manager earlier than 4.0 Service Pack 1
    1. Access the Windows Operating System Search Tool to run a query for the Pumatech Shared folder.
    2. Enter "Pumatech" and click Search.
    3. When the search results are complete, delete the following:
      • Delete the Pumatech Shared folder found in C:\Program Files\Common Files\
  • If uninstalling BlackBerry Desktop Manager 4.0 Service Pack 1 or later
    1. Access the Windows operating System Search Tool to run a query for the Pumatech Shared folder.
    2. Enter "Pumatech" and click Search.
    3. When the search results are complete, delete the following:
      • Delete the Pumatech Desktop Setup folder found in C:\Program Files\Research In Motion\BlackBerry\
    • NOTE: Any synchronization software for other personal digital assistants (PDAs) that use the Pumatech Shared folder must be reinstalled after the BlackBerry Desktop Software is uninstalled.
  • If uninstalling to delete the Pumatech Shared folder, rename it.
    1. Right-click the Pumatech Shared folder and select Rename.
    2. Rename the folder (for example, Pumatech Shared_old).
    3. Press Enter.
Once the prior tasks have been completed
  • Restart the computer.
  • The BlackBerry Desktop Software should now be cleanly uninstalled.
Hope this helps,
John
 

My Computers My Computers

  • At a glance

    Win7, Win10, Win11
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    HP Pavilion 6751c
    OS
    Win7, Win10, Win11
    Internet Speed
    100 Mbps
    Antivirus
    Norton 360
    Browser
    IE 11
  • At a glance

    Win7, Win10, Win11
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    HP ENVY 750-514 & Dell XPS 8960
    OS
    Win7, Win10, Win11
    Antivirus
    Norton 360
Thank you Wolfeymole & John. I appreciate you taking the time to respond. However, neither of these approaches will work since the only traces of RIM's BB Desktop software is inside the registry. All file folders and files are already removed from my system. The software never installed correctly, which is what probably messed up the registry to begin with. As I mentioned in my original post, most (if not all) of the very many keys that will not go away pertain to the USB port that the phone was connected to. Windows 7 Pro seems to think there is some "higher authority" than the hidden built-in Admin account because even when I am logged in as such, I am informed by Windows that I do not have the authority to view properties, or delete, take possession of a key or do anything at all with these keys. I suppose they are benign and will not cause any issues, but it just bugs me that I cannot do what I want to on MY computer.
 

My Computer My Computer

At a glance

Win 7 Pro 64 bitCore 2 Duo E8400 3Ghz4 GBNvidea GE FORCE 310 512MB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo M70e
OS
Win 7 Pro 64 bit
CPU
Core 2 Duo E8400 3Ghz
Motherboard
Unknown
Memory
4 GB
Graphics Card(s)
Nvidea GE FORCE 310 512MB
Sound Card
mother board
Monitor(s) Displays
HP vs17
Hard Drives
500GB maker unknown
PSU
unknown
Case
Lenovo
Cooling
several fans (PSU, CPU, Graphics, Case)
Keyboard
Lenovo KU-0225
Mouse
Lenovo
Internet Speed
20MB/sec
Antivirus
MSSE
Browser
Chrome

My Computers My Computers

  • At a glance

    Win7, Win10, Win11
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    HP Pavilion 6751c
    OS
    Win7, Win10, Win11
    Internet Speed
    100 Mbps
    Antivirus
    Norton 360
    Browser
    IE 11
  • At a glance

    Win7, Win10, Win11
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    HP ENVY 750-514 & Dell XPS 8960
    OS
    Win7, Win10, Win11
    Antivirus
    Norton 360

My Computer My Computer

At a glance

Win 7 Pro 64 bitCore 2 Duo E8400 3Ghz4 GBNvidea GE FORCE 310 512MB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo M70e
OS
Win 7 Pro 64 bit
CPU
Core 2 Duo E8400 3Ghz
Motherboard
Unknown
Memory
4 GB
Graphics Card(s)
Nvidea GE FORCE 310 512MB
Sound Card
mother board
Monitor(s) Displays
HP vs17
Hard Drives
500GB maker unknown
PSU
unknown
Case
Lenovo
Cooling
several fans (PSU, CPU, Graphics, Case)
Keyboard
Lenovo KU-0225
Mouse
Lenovo
Internet Speed
20MB/sec
Antivirus
MSSE
Browser
Chrome
Hi Mike,

John has asked me if I can try to explain PsExec.

In the hierarchy of user accounts there are four levels:

  • Guest

  • Standard

  • Administrator

  • Built-in Administrator
When the Built-in Administrator is invoked through an elevated CMD prompt it's privileges are NT AUTHORITY\Administrator. What is less known is there is a higher level within NT AUTHORITY\Administrator called SYSTEM, and when psexec is used it invokes the NT AUTHORITY\SYSTEM privilege level.

If you are wondering why psexec works locally when there is much discussion of it being a good tool for IT administrators to use remotely:
The Windows NT and Windows 2000 Resource Kits come with a number of command-line tools that help you administer your Windows NT/2K systems. Over time, I've grown a collection of similar tools, including some not included in the Resource Kits.

What sets these tools apart is that they all allow you to manage remote systems
as well as the local one.

Source: PsTools
Psexec needs to have complete control of the local system in order to control the remote system, ergo, you had unlimited privilege using regedit to delete those Keys that wouldn't delete using the Built-in Administrator.

When you used the CMD in Broni's tutorial from:
Vista\Seven "The Registry Editor could not set security in the key currently selected, or some of its subkeys" error fix - General Security - Smartest Computing

"%userprofile%\desktop\psexec" -i -d -s c:\windows\regedit.exe

  • Using the profile that was running when you entered the CMD, the %userprofile%\desktop\psexec part of the cmd starts the CMD; looking for psexec that should be on your Desktop.

  • The -i switch tells psexec to run the program so that it interacts with the desktop of the specified session on the remote system. If no session is specified the process runs in the console or local session.

  • The-d switch tells psexec; Don't wait for process to terminate (non-interactive).

  • The-s switch tells psexec to run the remote or in your case Local process in the System account.

  • And the process to run would be c:\windows\regedit.exe

As you would think with all this power of privilege, psexec can also be used for the wrong reasons
PsExec and the Nasty Things It Can Do :: Misc Network Security :: Articles & Tutorials :: WindowSecurity.com, If I can help clarify any of this, please ask.
 

My Computer My Computer

At a glance

Originally Win 7 Hm Prem x64 Ver 6.1.7600 Bui...Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logic...6GB of 1,333MHz DDR3 SDRAM32MB Intel Graphics Media Accelerator HD IGChip
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Gateway DX4831-01e (Mid-Tower Desktop)
OS
Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
CPU
Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors
Motherboard
Gateway H57M01 133 megahertz
Memory
6GB of 1,333MHz DDR3 SDRAM
Graphics Card(s)
32MB Intel Graphics Media Accelerator HD IGChip
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Gateway HX2000 20inch TFT active matrix TN
Screen Resolution
1600 x 900 x 59 hertz
Hard Drives
WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
Four card readers, and Four USB 2.0
PSU
300watts.
Case
Mid-Tower Desktop
Cooling
Stock from Gateway
Keyboard
Natural Ergonomic Keyboard 4000, see Other Info
Mouse
Orig. Gateway wore out now using Insignia USB wired optical
Internet Speed
Vz FIOS 10ms png 57.64Mbps down 65.53Mbps up Speedtest.org
Antivirus
Zamana Anti-logger with Anti-malware, MSE, Windows Firewall,
Browser
IE11.0.9600.19399-Upd ver11.0.135, Firefox 68.0.1 x64
Other Info
System Specs by Belarc.

BIOS: American Megatrends Inc. P01-A0 11/17/2009

Replaced the MS 'Natural' Standard PS/2 Enhanced 101-102 Keyboard with a new Natural Ergonomic Keyboard 4000 on August 1st 2014.

Canon Pixma MG3222 Printer.

Updated to IE11 on 12102015 | Fios Quantum Router g1100

Additional AV: SpywareBlaster, manual Mbam, SAS
Thanx Anak!

Thanx for the explanation of the Windows Admin hierarchy. That explains a LOT! Is there any way to have SYSTEM priviliges/permissions without using psexec.exe? I have had previous issues in which either reg keys or files refused to go away even when using tools like Unlocker.exe, etc. I guess I don't get WHY an O/S would not allow an Administrator access to everything.

SO if I I understand correctly, there are actually 5 levels of admin, right? I.e.:

Guest
Standard
Administrator
Built-in Administrator
... higher level within NT AUTHORITY\Administrator called SYSTEM, and when psexec is used it invokes the NT AUTHORITY\SYSTEM privilege level.

Thanx again for taking the time to explain this. I am NOT an I.T. professional, but have extensive experience with computers, and found this issue very frustrating. You have calmed my "system"!:)
 

My Computer My Computer

At a glance

Win 7 Pro 64 bitCore 2 Duo E8400 3Ghz4 GBNvidea GE FORCE 310 512MB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo M70e
OS
Win 7 Pro 64 bit
CPU
Core 2 Duo E8400 3Ghz
Motherboard
Unknown
Memory
4 GB
Graphics Card(s)
Nvidea GE FORCE 310 512MB
Sound Card
mother board
Monitor(s) Displays
HP vs17
Hard Drives
500GB maker unknown
PSU
unknown
Case
Lenovo
Cooling
several fans (PSU, CPU, Graphics, Case)
Keyboard
Lenovo KU-0225
Mouse
Lenovo
Internet Speed
20MB/sec
Antivirus
MSSE
Browser
Chrome
Thanx for the explanation of the Windows Admin hierarchy. That explains a LOT! Is there any way to have SYSTEM priviliges/permissions without using psexec.exe? I have had previous issues in which either reg keys or files refused to go away even when using tools like Unlocker.exe, etc.
Have you tried changing the permissions for Registry Keys? See Here's How: Step #3: http://www.sevenforums.com/tutorials/122666-permissions-allow-deny-users-groups.html

It may also be possible to create a user account and apply permissions to it or a group policy through the Group Policy Editor (GPE): http://www.sevenforums.com/tutorials/151415-group-policy-apply-specific-user-group.html Your 7Pro edition should allow you to use GPE.

I guess I don't get WHY an O/S would not allow an Administrator access to everything.
It is because of the security risk, if you reach the kernel level with privileges it wouldn't be difficult to create a malevolent script to hose not only yours, but other operating systems. Think Rootkit.

   Warning
If you enable the built-in Administrator account, then it is recommended to create a password for better security.
For additional security purposes, it is also not recommended to leave the built-in Administrator account always enabled, or to use it for everyday purposes.

Source: http://www.sevenforums.com/tutorials/507-built-administrator-account-enable-disable.html

Also: Security Watch: Why You Should Disable the Administrator Account

With the effort involved in setting up an extra account (even if it is possible with the added privileges) and with the security risks I would not believe it to be prudent to have an NT AUTHORITY\SYSTEM account waiting on your beck and call. None of the IT guys I know set their systems up that way for those very reasons, and with the availability of psexec they don't need to.

  • Your in.

  • You do what you have to.

  • Your out.
Were you sure you invoked the Built-in Admin correctly? See the first link in the warning box on how to.

SO if I I understand correctly, there are actually 5 levels of admin, right? I.e.:
Guest
Standard
Administrator
Built-in Administrator
... higher level within NT AUTHORITY\Administrator called SYSTEM, and when psexec is used it invokes the NT AUTHORITY\SYSTEM privilege level.
You are confusing levels of individual accounts with levels within those accounts. There is at least one more Admin level called TrustedInstaller with SYSTEM admin rights that owns your system files.

It is too involved to try and explain the hierarchy here, suffice it to say that the built-in, psexec and trustedinstaller accounts access kernel level privileges that invoke routines, context, interrupts, and system or return form system calls either on the software user/kernel modes or hardware user/supervisor modes.

You would have to have extensive knowledge of how operating systems are designed and interwoven with hand offs in order to understand the multitude of privilege levels between software and hardware that allow the OS to operate; from booting up your system, to running programs, to shutdown, there are thousands of code executions that on a well oiled machine perform these tasks flawlessly and are invisible to the user.

Thanx again for taking the time to explain this. I am NOT an I.T. professional, but have extensive experience with computers, and found this issue very frustrating. You have calmed my "system"!:)
Your welcome.


More if you're determined:
Windows 7 - How to Delete Files Protected by TrustedInstaller

What Is TrustedInstaller & Why Does it Keep Me From Renaming Files?

switch statement - User mode vs supervisor mode - Stack Overflow

How does the kernel know if the CPU is in user mode or kenel mode? - Stack Overflow

computer architecture - How interrupts and privilege levels work? - Super User

Operating Systems Development Series

supervisor mode definition of supervisor mode in the Free Online Encyclopedia.

Privilege escalation - Wikipedia, the free encyclopedia

Principle of least privilege - Wikipedia, the free encyclopedia

Ring (computer security) - Wikipedia, the free encyclopedia

System Center Technical Documentation Library | App Controller | Config Mgr | DPM | Endpoint Protection | Ops Mgr | Orchestrator | Service Manager | VMM

http://www.sevenforums.com/tutorials/3652-local-group-policy-editor-open.html

How to Understand Those Confusing Windows 7 File/Share Permissions

There is more, much more, but I wouldn't want your eyes to glaze over. Take your time and search for words that include the terms or a combination of:

  • TrustedInstaller Privileges
  • Kernel level
  • User accounts
  • Privileges
  • software user
  • kernel modes
  • hardware user
  • supervisor modes
 
Last edited:

My Computer My Computer

At a glance

Originally Win 7 Hm Prem x64 Ver 6.1.7600 Bui...Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logic...6GB of 1,333MHz DDR3 SDRAM32MB Intel Graphics Media Accelerator HD IGChip
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Gateway DX4831-01e (Mid-Tower Desktop)
OS
Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
CPU
Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors
Motherboard
Gateway H57M01 133 megahertz
Memory
6GB of 1,333MHz DDR3 SDRAM
Graphics Card(s)
32MB Intel Graphics Media Accelerator HD IGChip
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Gateway HX2000 20inch TFT active matrix TN
Screen Resolution
1600 x 900 x 59 hertz
Hard Drives
WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
Four card readers, and Four USB 2.0
PSU
300watts.
Case
Mid-Tower Desktop
Cooling
Stock from Gateway
Keyboard
Natural Ergonomic Keyboard 4000, see Other Info
Mouse
Orig. Gateway wore out now using Insignia USB wired optical
Internet Speed
Vz FIOS 10ms png 57.64Mbps down 65.53Mbps up Speedtest.org
Antivirus
Zamana Anti-logger with Anti-malware, MSE, Windows Firewall,
Browser
IE11.0.9600.19399-Upd ver11.0.135, Firefox 68.0.1 x64
Other Info
System Specs by Belarc.

BIOS: American Megatrends Inc. P01-A0 11/17/2009

Replaced the MS 'Natural' Standard PS/2 Enhanced 101-102 Keyboard with a new Natural Ergonomic Keyboard 4000 on August 1st 2014.

Canon Pixma MG3222 Printer.

Updated to IE11 on 12102015 | Fios Quantum Router g1100

Additional AV: SpywareBlaster, manual Mbam, SAS
Back
Top