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.
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:
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:alien --to-tgz chntpw_0.99.2-1_i386.deb
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.Code:/home/knoppix/chntpw SAM
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
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.Originally Posted by ulrich
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).Originally Posted by foamrotreturns
Dell PowerEdge R630 Server 3.50Ghz 8-Core 192GB 10x NEW 2TB SSD H730P Rails
$2877.90
Dell PowerEdge R730 Server 3.50Ghz 8-Core 32GB 9x NEW 2TB SSD HBA330 Rails
$2522.35
Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro
$249.00
MicroSoft Surface Pro 4 1724 12.3" Core i7 6650U 8GB 256GB Windows 11 Tablet
$109.99
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
Gaming Computer Nvidia RTX 4060 AMD Ryzen 7 5700X 64GB RAM 2TB SSD NVME 8 Core
$1299.76
Gaming Computer Nvidia RTX 4060 AMD Ryzen 7 5700X 32GB RAM 1TB SSD NVME 8 Core
$1149.76
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$339.95
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$234.98
HP Chromebase Desktop PC 21.5" FHD Core i3-10110U Intel UHD 8GB DDR4 128GB SSD
$359.99