Thanks for the suggestions guys...

The whole process here is that I'm doing a registry utility which scans & fixes corrupt paths etc...

Quote Originally Posted by schoolbusdriver View Post
Do you have the relevant permissions to access this subkey? Sometimes Admin privileges aren't good enough. In regedit, right-click on the subkey and click "Permissions".

In any case you should use KEY_SET_VALUE.
Manually right-clicking in regedit is not an option really, because I can't expect the end user to manually go and do this.

Garrcomm

How would you check if they're combined or not?

I'm thinking, shall I scan
HKEY_CURRENT_USER\Software\Classes instead or
HKEY_LOCAL_MACHINE\Software\Classes instead or
HKCR