-
Accessing Windows Registry Through Knoppix
I am running Knoppix 3.7 to recover from a damaged Windows installation and I need to access the Windows Registry. Does Knoppix have a way to access and modify the Registry? Thanks.
-
Yes it's possible to edit the windows registry from within Knoppix using a tool called "chntpw". I go over this in detail in Knoppix Hacks, but here's the gist of it:
Download the chntpw deb from http://packages.debian.org/unstable/admin/chntpw
Extract the chntpw binary by turning the deb into a tarball:
Code:
alien --to-tgz chntpw_0.99.2-1_i386.deb
Then untar it. Make sure the windows partition is mounted read/write (if it's NTFS you'll need to make sure you have already set up captive-ntfs). Then you can use the chntpw utility to access a specific hive (usually you'll want something like the SAM or SOFTWARE hive under winnt\system32\config):
Code:
/home/knoppix/chntpw SAM
As you can see I just left the chntpw utility in my home directory. The chntpw tool has an integrated help you can use to get a handle on how to use it, but basically it's like navigating a filesystem. Once you are finished editing the registry, sync, and unmount your partition to make sure the changes stuck (extra important if you are using captive-ntfs). Also make a backup copy of the registry hive you are editing just in case.
-
hey, great tool, provided it works as one might expect.
however, concerning conversion to *.tar:
isn't it already a compressed *.tar if downloaded using this link:
http://ftp.debian.org/debian/pool/no....2.orig.tar.gz
?
have a nice day,
ulrich
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
ulrich
Unfortunately, that is just a link to the original source in tarball form. There isn't a precompiled binary to be found there like with the .deb, so you would have to add a step of compiling chntpw.
-
Senior Member
registered user
Just wondering, why do we need to turn it into a tarball? Can't we just install using dpkg?
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
foamrotreturns
Just wondering, why do we need to turn it into a tarball? Can't we just install using dpkg?
You can if you are installed to a hard drive, but if you are running off of a Knoppix CD most Debian packages won't directly install, as all of /usr is read-only. I turn it into a tarball so I can just extract the binary I need into the home directory (which I can write to).
Similar Threads
-
By skronrod in forum MS Windows & New to Linux
Replies: 5
Last Post: 04-03-2006, 05:14 AM
-
By jl in forum MS Windows & New to Linux
Replies: 6
Last Post: 12-21-2005, 06:10 PM
-
By adkmom in forum MS Windows & New to Linux
Replies: 11
Last Post: 01-30-2005, 04:34 PM
-
By viggooo in forum General Support
Replies: 10
Last Post: 01-15-2004, 03:51 PM
-
By punk000 in forum General Support
Replies: 6
Last Post: 08-26-2003, 02:55 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module picture](/store/img/UFgAAOSwrw9l1Cbr/s-l225//New-Cisco-GLC-TE-1G-SFP-Copper-RJ45-100m-1000BASE-.jpg)
New Cisco GLC-TE 1G SFP Copper RJ45 100m 1000BASE-T Transceiver Module
$22.32
![NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture](/store/img/Tb4AAOSwmeVlqJuU/s-l225//NEW-Sealed-Cisco-SFP-10G-LR-10GBASE-LR-SFP-1310nm-.jpg)
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$18.00
![New Sealed Cisco SFP-10G-LR 10GBASE-LR SFP Plug-in Transceiver Module picture](/store/img/~FsAAOSwqcFl7xTR/s-l225//New-Sealed-Cisco-SFP-10G-LR-10GBASE-LR-SFP-Plug-in.jpg)
New Sealed Cisco SFP-10G-LR 10GBASE-LR SFP Plug-in Transceiver Module
$15.00
![New HP HPE Aruba J4858D 1G SFP LC SX 850nm 500m MMF XCVR Transceiver Module picture](/store/img/-RQAAOSwv-Rl1Cgp/s-l225//New-HP-HPE-Aruba-J4858D-1G-SFP-LC-SX-850nm-500m-MM.jpg)
New HP HPE Aruba J4858D 1G SFP LC SX 850nm 500m MMF XCVR Transceiver Module
$28.49
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/tAkAAOSwdENkHItI/s-l225//GENUINE-Cisco-SFP-10G-SR-V03-SFP-GBIC-Transceiver-.jpg)
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
![HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001 picture](/store/img/5v0AAOSw9TVl-IVm/s-l225//HP-10Gb-SR-SFP-10GBASE-SR-455885-001-10Gigabit-Eth.jpg)
HP 10Gb SR SFP+ 10GBASE-SR 455885-001 10Gigabit Ethernet Transceiver 456096-001
$6.99
![Cisco GLC-LH-SMD Transceiver Module SFP 10-2625-01 picture](/store/img/ZuIAAOSwFxJbqRU7/s-l225//Cisco-GLC-LH-SMD-Transceiver-Module-SFP-10-2625-01.jpg)
Cisco GLC-LH-SMD Transceiver Module SFP 10-2625-01
$14.25
![Lot of 10 SFP-GB-GE-T Copper RJ45 10/100/1000Base-T 100m Transceiver Modules picture](/store/img/ZsYAAOSwozNlzQmD/s-l225//Lot-of-10-SFP-GB-GE-T-Copper-RJ45-10-100-1000Base-.jpg)
Lot of 10 SFP-GB-GE-T Copper RJ45 10/100/1000Base-T 100m Transceiver Modules
$29.92
![Finisar Accessory FTLF1318P3BTL 1.25Gb/s SFP Transceiver RoHS Compliant 1310nm picture](/store/img/VbgAAOSwIwtmVrRQ/s-l225//Finisar-Accessory-FTLF1318P3BTL-1-25Gb-s-SFP-Trans.jpg)
Finisar Accessory FTLF1318P3BTL 1.25Gb/s SFP Transceiver RoHS Compliant 1310nm
$31.01
![LOT OF 10 455883-B21 HP 10Gb SR SFP Transceiver 455885-001 456096-001 picture](/store/img/lj8AAOSwvYJlqVsP/s-l225//LOT-OF-10-455883-B21-HP-10Gb-SR-SFP-Transceiver-45.jpg)
LOT OF 10 455883-B21 HP 10Gb SR SFP Transceiver 455885-001 456096-001
$59.99