Thread: Tech Support
View Single Post
Old 02-03-2011, 04:28 PM   #36
Ghoulish Delight
I Floop the Pig
 
Ghoulish Delight's Avatar
 
Join Date: Jan 2005
Location: Alternative Swankstyle
Posts: 19,348
Ghoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of cool
Send a message via AIM to Ghoulish Delight Send a message via Yahoo to Ghoulish Delight
Wow, I thought I'd written a response to your post.

If it has been identified as, the info in the link you gave should have done the trick. Did it work?



Now my question. I don't really expect anyone to know the answer to this, it's rather esoteric, but I'm hoping for one of those moments of, 'Oh fvck, while writing it out I realized the key thing I've been missing.' Because this is driving me nuts.

I'm using a python library (_winreg) to read values from the windows registry on Windows 2008 R2. It's a very straight forward thing to do. Basically, open a connection to the registry [e.g. reg=Connect(HKEY_LOCAL_MACHINE)], then open a connection to a specific key [e.g. key=(reg,'SOFTWARE\\Emulex)]

So, here's what's driving me bonkers.

I am trying to reference a key that's under the HKLM\SOFTWARE key. as in my example above. It won't let me. It says it doesn't exist. But when I look at regedit, it's there. Here's the crazy part. If I look at regedit, I see the following:

HKLM
-SOFTWARE
--ATI Technologies
--Classes
--Clients
--Emulex
--Microsoft
--ODBC
--Policies
--RegisteredApplications
--Tarma Installer
--Wow6432Node

But, if, using the python library I connect to HKLM\\SOFTWARE, list all of the keys that are under it, all I get is:

'Microsoft'
'ODBC'
'Python'
'Classes'
'Clients'
'Policies'

WTF? Why can I only see those 6?! Where the fvck are the other 10??

Also pissing me off is the fact that this works just fine on 6 other systems, including another Windows 2008 R2 system.

And, of course, the one person here that I know could help me is out for Tet until Monday. Grrrrr.
__________________
'He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me.'
-TJ

Ghoulish Delight is offline   Submit to Quotes Reply With Quote