Access Windows Registry from Ubuntu

5

2

Is there any way I can access registry of my Windows 7 installation from Ubuntu. I believe that Registry Editor is a GUI to edit various configuration settings which are stored and distributed among multiple files. So I wonder if I can access those configuration from Ubuntu (or any other non-windows OS).

Kushal

Posted 2011-05-28T18:01:34.770

Reputation: 865

Answers

8

The chntpw tool has (very basic) registry editing capabilities.

Also try the regedit that comes with Wine – you might be able to load the Win7 registry hives into it. The files are:

  • Registry: HKLM\SYSTEM

    File: \WINDOWS\system32\config\system

  • Registry: HKLM\SOFTWARE

    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).

[self todo: SECURITY, SAM]

user1686

Posted 2011-05-28T18:01:34.770

Reputation: 283 655

is ti possible to edit any other registry zones, @grawity? For example, I would like to edit an entry inside HKEY_USERS. – Sopalajo de Arrierez – 2014-07-28T00:03:55.297

1@Sopalajo de Arrierez: Yeah, that's the same as the 3rd bullet point above (HKCU is an alias for HKU\currentuserid). I'll update later with paths for HKU.default and HKU\currentuserid_Classes. – user1686 – 2014-07-28T04:30:23.443

5

Offline NT Password & Registry Editor has a registry editor which works under Linux

  • There is also a registry editor and other registry utilities that works under linux/unix, and can be used for other things than password editing

Sathyajith Bhat

Posted 2011-05-28T18:01:34.770

Reputation: 58 436