Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9150373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:36:11+00:00 2026-06-17T11:36:11+00:00

I would like to locate 3d studio max using the windows registry using python.

  • 0

I would like to locate 3d studio max using the windows registry using python. I am also not tied to a specific version.

I have seen several examples using _winreg but while I can see the desired key in regedit I am unable to access it via python.

The key I want is HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\3dsMax\14.0\MAX-1:409 with value Installdir.

The python script I am attempting to use is below.

from _winreg import *
t = OpenKey(HKEY_LOCAL_MACHINE, r"SOFTWARE\Autodesk\3dsMax\14.0\Max-1:409", 0, KEY_READ)

#try:
i = 0
while True:
    subkey = EnumKey(t, i)
    print subkey
    i += 1

The error I get back is as follows.

Traceback (most recent call last):
File "C:\testreg.py", line 2, in <module>
t = OpenKey(HKEY_LOCAL_MACHINE, r"SOFTWARE\Autodesk\3dsMax\14.0\Max-1:409", 0, KEY_READ)
WindowsError: [Error 2] The system cannot find the file specified

System Info:

Windows 7 Professional 64 bit

Tested with Python 2.5, 2.6 and 2.7 (32 bit versions of each)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:36:12+00:00Added an answer on June 17, 2026 at 11:36 am

    If you are detecting a 64bit version of 3dsmax, you will have difficulty looking for it with a 32bit processes. 32bit processes on 64bit “convienently” have their registry hives substituted.

    if you wanted:

    hklm\SOFTWARE\autodesk\
    

    you are actually looking at:

    hklm\SOFTWARE\Wow6432Node\autodesk\
    

    Since 32bit applications existed before 64bit (on windows) there are lots of these shims that redirect in the registry and filesystem so 32bit programs get their keys and dlls while not requiring 64bit programs to name everthing differently (eg. c:\windows\system64, HKML\SOFTWARE64\ ).

    I think it’s always easier to use 64bit processes to access 32bit not the other way around. But if that’s not possible, this question might help you access the 64bit hive.
    Change 64bit Registry from 32bit Python

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the code I can get a content presenter. I would like to locate
Using OmniXML and Delphi, I would like to locate an element and change another
I have product item webpages located in /product/items/*.html?id=12345&ref=54321 and I would like the webpages
Would like to make anapplication in Java that will not automatically parse parameters used
I have some NSManagedObjects and I would like to write methods for sorting and
This is not the most important question in the world but I would like
I would like to locate the folder where Qt Creator saves all its settings
I would like to parse an xml file. I am trying to locate the
I have a fairly normal Scala project currently being built using Maven. I would
I would like to locate all strings in a table containing the 0x02 character.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.