Results 1 to 4 of 4

Thread: Recover Windows key from Ubuntu partition?

  1. #1
    Join Date
    Nov 2007
    Location
    US
    Beans
    51
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Recover Windows key from Ubuntu partition?

    Does anyone knows of a way to recover a Windows 7 product key from a non-booting Windows partition? I had this problem earlier today on a dual-boot PC and could not find software that ran within Ubuntu. I was able to eventually find a utility, but only because I had a working Windows partition on a laptop. After installing this software in Windows 7 on my laptop, I was able to use the application to create a boot disk to use on the problem computer and was able to recover the key but it seems like there must be a way to do this from within Ubuntu.

    Are there any scripts that run in Ubuntu that are able to recover the key from the registry on a Windows partition? How about recovering Windows user passwords? I know of a bootable disk that can recover account passwords but what I'm looking for is something that will run within Ubuntu on a dual-boot/multi-boot machine and extract the information on another partition. I intend to research this further but thought that someone would know off hand. Thanks.
    Last edited by Jaraxle; July 13th, 2013 at 01:57 AM.

  2. #2
    Join Date
    Aug 2005
    Beans
    6,025

    Re: Recover Windows key from Ubuntu partition?

    I dunno of a linux app that can do this but you can always copy the C:\Windows\System32\config folder and get the key using something like ProduKey from Nirsoft on another windows system.

    If you know where in the registry to find the key you might be able to use one of the linux registry tools to extract it but I'm just taking a shot in the dark here, http://www.forensicswiki.org/wiki/Windows_Registry
    Last edited by mips; July 3rd, 2013 at 04:37 PM.

  3. #3
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Recover Windows key from Ubuntu partition?

    Quote Originally Posted by Jaraxle View Post
    Does anyone knows of a way to recover a Windows 7 product key from a non-booting Windows partition?
    There seems to be a module "libparse-win32registry-perl" in the repository that seems to be dedicated to exactly what you want above -
    Parse::Win32Registry is a module for parsing Windows Registry files, allowing
    you to read the keys and values of a registry file without going through the
    Windows API.
    I'm not sure about how to use it though.
    (edit : forget it, I misunderstood it seems)
    I do know that "HBCD" (Hiren's Boot CD) contains some ready to use tools to do that.

    Quote Originally Posted by Jaraxle View Post
    How about recovering Windows user passwords?
    There are plenty of tools to 'remove' the password immediately, "chntpw" being one of them which is available in Ubuntu repositories. However, there is only one program I know of that is able to actually "recover" user passwords - "ophcrack" - which is also available in the repos, but you'll have to manually get the rainbow tables that it works with. A better option is to just download the free ophcrack live cd that is pre-configured to automatically start doing this as soon as booted. For long and complex passwords, you'll need to purchase the advanced rainbow tables as required.
    Last edited by varunendra; July 3rd, 2013 at 05:58 PM.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

  4. #4
    Join Date
    Nov 2007
    Location
    US
    Beans
    51
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Recover Windows key from Ubuntu partition?

    I never thought about copying the C:\Windows\System32\config folder. That's a good idea. And I had never heard of chntpw. I have Ophcrack and HBCD but chntpw is the kind of tool I'm looking for. Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •