Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

up vote 7 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 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 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.