Need to edit registry on non-booting Windows 7 installation

mysterons

New member
Local time
2:55 PM
Messages
5
Hi,

I've got a problem with my Windows 7 installation in that - it wont boot! Either in normal or safe mode!

I've tracked the problem down to a driver - CTMMount.sys which was installed by a recent installation of Comodo Time Machine - which has since been uninstalled but doesnt look like the uninstallation has worked correctly.

Therefore I could do with editing the registry/startup procedure so that this file doesnt attempt to load and then I can get back into Windows 7 - has anyone any idea how I can do this?

Thanks

Ewan
 

My Computer My Computer

At a glance

Windows 7 Ultimate
OS
Windows 7 Ultimate

My Computer My Computer

At a glance

Windows 8 ProIntel Centrino Dual Core P7450 2.13GHz4gbATI Mobility Raedon HD3650
Computer Manufacturer/Model Number
Toshiba P300
OS
Windows 8 Pro
CPU
Intel Centrino Dual Core P7450 2.13GHz
Memory
4gb
Graphics Card(s)
ATI Mobility Raedon HD3650
Hard Drives
Toshiba MK3252GSX ATA
Internet Speed
Wish it were faster
If you cant boot into Windows, how are you going to edit the registry???? If you can, open msconfig/startup and disable it from there...
 

My Computer My Computer

At a glance

64-bit Windows 8.1 ProCore(TM) i5 CPU 4330 Haswell @ 3.20GHz12.00 GBIntel(R) HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
LENOVO K450 @3.0GHZ
OS
64-bit Windows 8.1 Pro
CPU
Core(TM) i5 CPU 4330 Haswell @ 3.20GHz
Motherboard
LENOVO
Memory
12.00 GB
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
Intel HD integtrated
Monitor(s) Displays
HP 25' ISP Monitor
Screen Resolution
1900/1020
Hard Drives
(1) ST1000DM003-1CH162 (2) Generic STORAGE DEVICE USB Device (3) Generic STORAGE DEVICE USB Device
Internet Speed
100mb down/10mb up
If you cant boot into Windows, how are you going to edit the registry???? If you can, open msconfig/startup and disable it from there...

Thats exactly the problem, I'm wondering if or how I can do this ? I dont really want to reinstall windows as obviously theres a lot of work involved in getting the machine (that I use for work) up and running again.

On a side note - if I do have to reinstall windows - will doing so empty the contents of the existing User folders?
 

My Computer My Computer

At a glance

Windows 7 Ultimate
OS
Windows 7 Ultimate
You can re-install Windows... Just don't format the drive.

You can pull all of your important data from the Windows.old folder.
 

My Computer My Computer

At a glance

Windows 8 ProIntel Centrino Dual Core P7450 2.13GHz4gbATI Mobility Raedon HD3650
Computer Manufacturer/Model Number
Toshiba P300
OS
Windows 8 Pro
CPU
Intel Centrino Dual Core P7450 2.13GHz
Memory
4gb
Graphics Card(s)
ATI Mobility Raedon HD3650
Hard Drives
Toshiba MK3252GSX ATA
Internet Speed
Wish it were faster
Tews, this isn't as daft as it sounds,

i've got somewhere a version of bartpe (hawkpe) which is a sort of windows xp bootable livecd. it's got a copy of 'remote regedit' on it that you could use to fix a broken xp registry with.

however, i really don't know if a windows 7 version is possible, you'll need to spend some time googling.
 

My Computer My Computer

At a glance

ultimate 64 sp1i5 2500K [email protected]8 gigs GSkill Ripjaws 1600amd hd6950
Computer Manufacturer/Model Number
mickey megabyte 1234
OS
ultimate 64 sp1
CPU
i5 2500K [email protected]
Motherboard
MSI P67A-GD53
Memory
8 gigs GSkill Ripjaws 1600
Graphics Card(s)
amd hd6950
Sound Card
creative x-fi gamer
Monitor(s) Displays
samsung 24"
Screen Resolution
1920x1080
Hard Drives
ocz vertex 2e 60 gig, samsung f3 1tb, buffalo 2tb ext
PSU
antec 550
Case
antec three hundred
Cooling
i'm a cooling fan
Keyboard
saitek eclipse ii
Mouse
logitech g3
Internet Speed
about 4 Mbps
Other Info
i love win7
If you can access the drive from another OS why not just go in, find all instances of CTMMount.sys and delete them, that is, if loading the driver is what's crashing the system. It should boot if the file is unavailable.

I have BartPE, it's based on XP, saved my butt a couple of times.

Ap
 

My Computer My Computer

At a glance

Windows 7 Home PremiumIntel Core 2 Duo @ 3.00gHz4 GBATI Radeon HD 2600 XT
Computer Manufacturer/Model Number
Assembled in my workshop
OS
Windows 7 Home Premium
CPU
Intel Core 2 Duo @ 3.00gHz
Motherboard
Gigabyte GA-P35-S3G
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Sound Card
RME 24/96 Card, Realtek Internal Audio PreSonus FireStudio
Monitor(s) Displays
Acer 1917 (x2)
Screen Resolution
1280 x 1024 on both monitors
Hard Drives
Three 250GB Seagate SATA Barracuda 7200rpm
PSU
Rosewill 500-watt
Case
Rosewill mid-tower
Cooling
Noctua NH-U9B (CPU), PwrSupply fan + single large case Fan
Keyboard
Macally w/2/USB ports.
Mouse
Trackman Wheel
Other Info
Event 20/20 bas studio monitors, Yamaha sub.
Rackmount Korg/Roland/Yamaha synthesizers,
Cubase MIDI/audio recording. Sony Soundforge audio/mastering software. CD Architect Mastering. RME & Presonus audio interfaces.

My Computers My Computers

  • At a glance

    Windows 11 Pro x64 [Latest Release and Releas...Ryzen 9 5950X, 3.8 - 5.2 MHz64GB [2 x 32GB] DDR4 3200MHz4GB NVIDIA GEFORCE GTX 1650 Ti
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • At a glance

    Windows 11 Pro x64 Latest RPIntel I7 10750H 5.0GHz32GB [2x16GB] DDR4 2933 MHznVidia GTX1650Ti 4 GB GDDR6
    Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
You can edit the registry offline i.e. from outside windows, using a PE environment. Boot from the win7 install dvd or a Bart PE, then navigate to the Command Prompt. If using the install dvd, you would need to reach there via the system recovery menu.

At the command prompt, type regedit.exe, hit Enter.

Now, the important part. Since you are in PE, you cant access registry keys as if you were in windows. You would need to use the "Load Hive" command at start, do whatever you want to do, then use the "Unload Hive" command.

See this page.

How to edit the registry offline using BartPE boot CD ?

There would be many other pages, just google for "offline edit registry" or something similar.
 

My Computer My Computer

At a glance

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
As an alternative there is the old shool method

You may have to physically move the HDD to another working system If you do not have a dual boot option on the original system or access to a live CD for the copying stages

  • Boot the other computer with a boot diskette or dual-boot OS and then copy the problem hive file to a removable media or directly across the network to your system.
  • Log in as administrator on your system and run REGEDIT.EXE.
  • In the Registry Editor, select either the HKEY_LOCAL_MACHINE or HKEY_USERS window, and then choose Registry | Load Hive.
  • Locate the file copied to the system in step 1, select the file, and click Open. This loads the hive into the local registry as a subkey of the selected key.
  • Make the necessary changes to the damaged hive and then choose Registry | Unload Hive.
  • Copy the hive file back to its original location on the problem computer. Restart to test the system.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro x64 [Latest Release and Releas...Ryzen 9 5950X, 3.8 - 5.2 MHz64GB [2 x 32GB] DDR4 3200MHz4GB NVIDIA GEFORCE GTX 1650 Ti
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • At a glance

    Windows 11 Pro x64 Latest RPIntel I7 10750H 5.0GHz32GB [2x16GB] DDR4 2933 MHznVidia GTX1650Ti 4 GB GDDR6
    Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
Thanks for all the replies so far. Heres an update of where I am :

The machine has 2 hard disks - disk 1 (80Gb solid state) which has 2 partitions - 100Mb system reserved and the remaining partition with the original Win 7 installation on it. Disk 2 is a 1.5Tb Serial ATA.

I've installed Windows 7 to the second disk, after doing so disk 1 does not get drive letters assigned. Gone into drive management and I can assign a drive letter to the 100Mb partition but not the larger Win 7 partition.

If I put the Windows 7 DVD in - and ask it to install to the partition on disk 1 originally containing Windows 7 - it says it cannot install to this drive as its an unknown partition type.

Loading the original Windows 7 installation does the same as before - ie in safe mode it will load a pile of drivers and then hang at the message of "Loading \Windows\SysWow64\CTMMount.sys".

The problem originally occurred after installing Comodo Time Machine.

I'm at the stage now where I just need access to this original drive so that I can copy the contents of the Users folder somewhere else - at this point I will be happy to delete and recreate the partition and reinstall Windows 7.

Anyone got any further ideas/suggestions?

Thanks

Ewan
 

My Computer My Computer

At a glance

Windows 7 Ultimate
OS
Windows 7 Ultimate
This 'service' :sarc: is located here:

c:\windows\system32\drivers\CTMMOUNT.sys

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
COMODO Internet Security"="c:\program files\COMODO\COMODO Internet Security\cfp.exe


I have read that there is an "uninstall" in CTMMOUNT.sys
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32bit SP1Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz4 GBATI Radeon HD 2600 Pro
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
Issue resolved

Problem solved!

I ran testdisk - used this to firstly copy the files off the partition that windows couldnt access and then used it to re-write the MBR for that disk.

Disk then appeared correctly in the second windows installation.

Removed ctmmount.sys - rebooted the original windows installation - all works fine!

Thanks for all your help!
 

My Computer My Computer

At a glance

Windows 7 Ultimate
OS
Windows 7 Ultimate
Thanks for reporting back! :D
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32bit SP1Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz4 GBATI Radeon HD 2600 Pro
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Bruce ... somewhere in his 40's
OS
Windows 7 Ultimate 32bit SP1
CPU
Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz
Motherboard
INTEL/D975XBX2
Memory
4 GB
Graphics Card(s)
ATI Radeon HD 2600 Pro
Monitor(s) Displays
Samsung SyncMaster 914v
Screen Resolution
1280 x 1024
Hard Drives
2/500GB each ... ST3500630AS ATA Device.
One is not connected
PSU
Rocketfish 700 W
Case
G.Skill Gigabyte Chassis
Keyboard
Standard PS/2 Keyboard
Mouse
Microsoft PS/2 Mouse
Internet Speed
DSL
Antivirus
Avira Internet Security
Browser
IE 11
Other Info
ATI HDMI Audio
Back
Top