[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Issue on Windows 64 and querying the registry



It isnt too hard to work around it and gain access to the real (64bit)
registry from a 32bit process. I use 32bit perl processes to often read
the real 64 bit registry.

Google for "KEY_WOW64_32KEY"

Pass in this flag whenever you try and open a registry key to get access
to the real 64bit reg.

Check out the MSDN article "Registry Key Security and Access Rights"
http://msdn2.microsoft.com/en-us/library/ms724878.aspx

KEY_WOW64_32KEY (0x0200) 	Indicates that an application on 64-bit
Windows should operate on the 32-bit registry view. For more
information, see Accessing an Alternate Registry View. This flag must be
combined using the OR operator with the other flags in this table that
either query or access registry values. Windows 2000:  This flag is not
supported.

KEY_WOW64_64KEY (0x0100) 	Indicates that an application on 64-bit
Windows should operate on the 64-bit registry view. For more
information, see Accessing an Alternate Registry View. This flag must be
combined using the OR operator with the other flags in this table that
either query or access registry values. Windows 2000:  This flag is not
supported.


Mike

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Andrew Cunningham
Sent: 07 September 2007 15:56
To: Condor-Users Mail List
Subject: Re: [Condor-users] Issue on Windows 64 and querying the
registry

More information on this is at http://support.microsoft.com/kb/896456

  'cmd.exe' launched from a 32-bit app ( such as the Condor daemons)
only sees a 32-bit view of the world.

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: 
https://lists.cs.wisc.edu/archive/condor-users/

----
Gloucester Research Limited believes the information provided herein is reliable. While every care has been taken to ensure accuracy, the information is furnished to the recipients with no warranty as to the completeness and accuracy of its contents and on condition that any errors or omissions shall not be made the basis for any claim, demand or cause for action.
The information in this email is intended only for the named recipient.  If you are not the intended recipient please notify us immediately and do not copy, distribute or take action based on this e-mail.
All messages sent to and from this email address will be logged by Gloucester Research Ltd and are subject to archival storage, monitoring, review and disclosure.
Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred Place, London WC1E 7EA.
Gloucester Research Limited is a company registered in England and Wales with company number 04267560.
----