Locale Registries
The desired system locales are stored at:
HKEY_USERS\.DEFAULT\Control Panel\International\sCountry
HKEY_USERS\.DEFAULT\Control Panel\International\Locale
HKEY_USERS\.DEFAULT\Control Panel\International\sLanguage
The sCountry
is only used for the notation format, you could also use the Locale info and link it to this table:
https://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx
Additionally, you could take a look on the following registry:
HKEY_CURRENT_USER\Control Panel\International\Geo\Nation
Which stands for the current location as in the following table:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd374073%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
Registries Location on Filesystem
From grawity's answer on:
https://superuser.com/a/289963
Registry: HKLM\SYSTEM
File: \WINDOWS\system32\config\system
File: \WINDOWS\system32\config\software
- Registry:
HKU\<user-SID>
(aka
HKCU
)
File: <home>\NTUSER.DAT
- Registry:
HKU\<user-SID>_Classes
(aka
HKCU\Software\Classes
)
File: <home>\Local Settings\Application
Data\Microsoft\Windows\UsrClass.dat
File:
<home>\AppData\Local\Microsoft\usrclass.dat
– as of Windows Vista
- Registry:
HKU\.DEFAULT
(the system account)
File: \WINDOWS\system32\config\default
Note that HKU\.DEFAULT
is the system account. It is not the
template account.
The template account's files are at \Documents and Settings\Default
User
(substitute for <home>
above).
Editing tools
hivex
:
This program provides a simple shell for navigating Windows Registry 'hive' files. It uses the hivex library for access to these binary files. https://linux.die.net/man/1/hivexsh
chntpw
:
chntpw is a utility to view some information and reset user passwords in a Windows NT/2000 SAM userdatabase file (...). In addition it contains a simple registry editor and a hex-editor with which the information contained in a registry file can be browsed and modified.
http://manpages.ubuntu.com/manpages/cosmic/man8/chntpw.8.html
Additional references:
How to find world region (or country) or language from the windows registry?
https://superuser.com/questions/289955/access-windows-registry-from-ubuntu/289963#289963
https://unix.stackexchange.com/questions/214856/how-can-i-access-the-windows-registry-from-linux