• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Registry issue...

Messages
588
Country
germany
While trying to query the Windows registry for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator X SDK" I got a "missing file" error. So I fired up regedit to see for myself and I couldn't find any "Microsoft Games" folder in HKLM\SOFTWARE\Microsoft. Where has it gone? This is on Win7 64-bit. I guess some of you are running the FSX Gamepack with their gmax so there must be an issue with my installation, but I can't seem to find out what happened. I'm grateful for any suggestions.

Thanks,
 
While trying to query the Windows registry for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator X SDK" I got a "missing file" error. So I fired up regedit to see for myself and I couldn't find any "Microsoft Games" folder in HKLM\SOFTWARE\Microsoft. Where has it gone? This is on Win7 64-bit. I guess some of you are running the FSX Gamepack with their gmax so there must be an issue with my installation, but I can't seem to find out what happened. I'm grateful for any suggestions.

Thanks,

It was never there.

In Win7, its located under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft Games or in the user hive. It is not listed under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games as there is no lm entry for microsoft games.

Dont quote me on this but I think its located in local machine if the sim is installed for 'all users' and not when its for 'this user only'.
 
Last edited:
Thanks for the clarification. I found what I was looking for under "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Flight Simulator X SDK".
 
Use caution! This is a 32bit/64bit issue. If you run a 64bit windows, you have two versions of RegEdit.exe available. One for the 32bit registry and one for the 64bit registry. The manipulation within Wow6432Node has a lot of trap doors. Since FSX is 32 bit application, you should use the 32 bit Regedit.exe to search for Microsoft Games. Wow6432Node was introduced for cross compatibility between 64bit applications and 32bit applications. Its usage is not all the time straight forward.
Regards
Mike
 
Use caution! This is a 32bit/64bit issue. If you run a 64bit windows, you have two versions of RegEdit.exe available. One for the 32bit registry and one for the 64bit registry. The manipulation within Wow6432Node has a lot of trap doors. Since FSX is 32 bit application, you should use the 32 bit Regedit.exe to search for Microsoft Games. Wow6432Node was introduced for cross compatibility between 64bit applications and 32bit applications. Its usage is not all the time straight forward.
Regards
Mike
+1 here

Using search for Regedit on 64bit OS, it defaults to the 64bit located in c:\windows.

64-bit:
C:\Windows\regedit.exe

32-bit:
C:\Windows\SysWOW64\regedit.exe

The display for 64bit regedit, all 32bit keys/values will be under HKEY_LOCAL_MACHINE\Software\WOW6432Node
Other directories will be 64bit.
WOW64 if I correctly recall stands for Windows32 On Windows64 but dont quote me on this.

Go here for a little more info on it. It applies to Win XP SP3 but is relevant to all 64bit Windows versions.
http://support.microsoft.com/kb/305097

On a minor note, there are actually 3-5 instances of regedit on your machine. You may have more with some program installations, however these would usually be malicious.


Thanks for the clarification. I found what I was looking for under "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Flight Simulator X SDK".

What were you trying to resolve? You indicated the 'missing file' error but never stated what the file was, and why you needed to get into the registry to find it. The gamepack is basically a drag-n-drop set of files into the GMAX directory. If the gmax files counldnt be found, then a file may have been overwritten that shouldnt have been or a file may have changed or become corrupted. At this point reinstalling would have been my recommendation, then reapplying the gamepack. Editing the registry is usually a rarely needed thing by end users. Doing some of the things we developers do, it is needed more often that average users would need. Always use caution in the registry. Make sure to backup the registry before changing or exporting, never load a hive of an actively logged in user, and always properly unload to close them. Using editor to view shouldnt be an issue. Making changes can have adverse consequences and cause additional computer issues if you do not know or understand what you are doing. I have a good knowledge of it and quite a few years experience under my belt but some area's I still take caution.

Example: Moving a program manually sounds as easy as drag and drop. It usually will work with a few changes in the registry regarding this application. It can be complex when other applications point to the modified application or it is using other areas and uses additional entries/keys for cross checking and validations that you may not have been aware of. That's why registry cleaners can cause issues. They dont always know if an application still uses an entry, even when logical.
Im pretty tired and if anything Ive said is wrong, correct it if you know, otherwise I will review this when Ive had some sleep.
 
Last edited:
Thanks again. But I was just querying the 'SdkRootDir' value from within a script and it couldn't fint it. I was using regedit only for searching an viewing... I know you can mess up things very badly if you start changing entries in the registry.
 
Thanks again. But I was just querying the 'SdkRootDir' value from within a script and it couldn't fint it. I was using regedit only for searching an viewing... I know you can mess up things very badly if you start changing entries in the registry.

Only if you do not know what you are doing.
 
Back
Top