Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 8 down vote accepted

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]

share|improve this answer
    
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 Jul 28 '14 at 0:03
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. – grawity Jul 28 '14 at 4:30

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
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .