In connection with viruses in Windows and the inability to start regedit, I needed the ability to edit the registry from the outside. I found, so far, the only Linux utility chntpw , which was originally designed to reset passwords, and then acquired the function of editing the registry.
Registry Editing:
1. Boot from the livecd or install a second ubuntu system
2. Install the chntpw utility
sudo aptitude install chntpw
3. We connect the windows section
Look where he is: sudo fdisk -l look for ntfs partition and mount: $ sudo mkdir /media/windows $ sudo mount /dev/sda2 /media/windows
4. Editing the registry
chntpw -l /media/windows/Windows/system32/config/software Editing is done by moving along the branches, for example: cd Microsoft\Windows NT\CurrentVersion\Winlogon and by editing the keys themselves, for example: ed Shell
Check the Explorer.exe file for the presence of a double ... it should be correctly located in the Windows\ folder Windows\ but not in Windows\System32\...