Registry in Windows7 - appears in powershell, but not regedit

1

1

My software is writing to the registry (HKCU:\software\classes\clsid\). The key that I'm writing isn't appearing when I go to that location in regedit. However, if I navigate to that location in powershell, then I see ONLY the entry I added, and not the other class ids that I see in regedit. It's almost as if there's two versions of the registry.

I'm using Windows7 (moved recently from XP, so there's probably some weird virtualization stuff going on which I've not learnt yet! ;-)).

Thanks for any help with this, Dan.

Dan

Posted 2010-04-28T17:33:47.033

Reputation: 608

Answers

0

Yes, the registry settings for applications in certain situations work differently in Windows 7 than they did in XP. You can read about it here: http://msdn.microsoft.com/en-us/library/bb530198.aspx

Basically, 32 bit software apps all get their own "virtual" registry space for the purposes of backwards compatibility so that apps no longer need to be run "As Administrator" to conform to the new security policy in Vista (and for the most part carried on by Win7).

BBlake

Posted 2010-04-28T17:33:47.033

Reputation: 5 120

Great, thanks for that. The values were turning up in "HKEY_USERS< User SID >_Classes", as described in your link. It was this path that powershell was displaying. – Dan – 2010-04-29T09:45:13.190

Slightly offtopic, but I found a piece of software which seems far superior to the MS regedit program. If I'd searched for my registry entries using this instead of regedit, I wouldn't have needed to post this question in the first place! http://www.resplendence.com/main

– Dan – 2010-04-29T10:05:06.137