General information
Category:
Coding, syntax & commands
Title:
Windows 7/8 Registry issue
Environment versions
Network:
Windows 2008 Server
Perhaps someone can help me with this.
Since Windows XP, my app writes the data folder paths to the Windows Registry - in particular to:
Hkey_Local_Machine/Software/MyCompanyName/MyAppName/Paths (and then the paths are within the Paths folder section).
However, I have just noticed that Windows 7 and Windows 8 do not do this, and automatically drop it within following if 64bit Windows:
Hkey_Current_User/Software/Classes/VirtualStore/Machine/Software/Wow6432Node/MyCompanyName/MyAppName/Paths
or if 32 bit Windows 7/8
Hkey_Current_User/Software/Classes/VirtualStore/Machine/Software/MyCompanyName/MyAppName/Paths
Does anyone know why Windows 7/8 would over-ride my setting to use the Hkey_Local_Machine location?
Although this has not been an issue, it has just come up as an issue within the last couple days. After a recent Windows 8 update on their computer, two user's have reported that after the Windows 8 update, the file paths to one of the folders no longer exist. I can correct this by deleting this Registry setting and can change my code to catch this in the future.
Any idea's on what is going on here? Also, shouldn't the file paths be in the Hkey_Local_Machine setting? Why would Windows 7/8 force this change?
Any thoughts are appreciated before I make any code changes.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only