Removing old driver causes boot fail...

Discussion in 'Windows 7' started by RASelkirk, Oct 31, 2016.

  1. RASelkirk

    RASelkirk MDL Member

    Feb 4, 2010
    174
    7
    10
    #1 RASelkirk, Oct 31, 2016
    Last edited by a moderator: Apr 20, 2017
    Hi All,

    I've been fighting driver problems after using Acronis (universal) Restore to move my old Toshiba laptop over to a new Acer, both Win7x64 systems. It's all working fine, got it mostly figured out except for this old Toshiba system driver that cannot be removed. I've used Driver Store Explorer to force removal, which causes a boot failure showing TVALZ.sys to be corrupt or missing. Trouble is, this driver does not show up in any list of loaded drivers! My only thought so far is to edit the registry, but the relevant HKLM keys are write-protected. I've Googled and found some tricks that are supposed to work, but they don't for me. Here's a paste of the INF file:

    Code:
    ; TVALZ.INF
    ; 
    ; TOSHIBA ACPI-Compliant Value Added Logical and General Purpose Device
    ; install information file.
    ;
    ; (C) Copyright 2006 TOSHIBA Corporation
    ;
    
    [Version]
    Signature="$CHICAGO$"
    Class=System
    ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
    Provider=%TOS%
    CatalogFile=TVALZ.cat
    DriverVer=10/05/2006,2.0.0.0
    
    [DestinationDirs]
    TVALZNT.CopyFiles = 12
    
    [Manufacturer]
    %TOS%=TOSHIBA,NTx86,NTai64,NTamd64
    
    [ControlFlags]
    ExcludeFromSelect = *TOS6208
    
    [TOSHIBA.NTx86]
    %*TOS6208.DeviceDescNTx86%=TVALZ,*TOS6208
    
    [TOSHIBA.NTai64]
    %*TOS6208.DeviceDescNTai64%=TVALZ,*TOS6208
    
    [TOSHIBA.NTamd64]
    %*TOS6208.DeviceDescNTamd64%=TVALZ,*TOS6208
    
    [SourceDisksNames]
    1=%TVALZ%
    
    [SourceDisksFiles]
    TVALZ.SYS = 1
    
    [TVALZ.NT]
    CopyFiles=TVALZNT.CopyFiles
    
    [TVALZ.NT.Services]
    AddService=TVALZ,2,TVALZ_Service_Inst
    
    [TVALZ_Service_Inst]
    DisplayName    = %TVALZ.SvcDesc%
    ServiceType    = 1
    StartType      = 0
    ErrorControl   = 1
    ServiceBinary  = %12%\TVALZ.SYS
    
    [TVALZNT.CopyFiles]
    TVALZ.SYS
    
    
    [strings]
    TOS                        = "TOSHIBA"
    TVALZ                      = "TVALZ"
    *TOS6208.DeviceDescNTx86   = "TOSHIBA x86 ACPI-Compliant Value Added Logical and General Purpose Device"
    *TOS6208.DeviceDescNTai64  = "TOSHIBA ai64 ACPI-Compliant Value Added Logical and General Purpose Device"
    *TOS6208.DeviceDescNTamd64 = "TOSHIBA x64 ACPI-Compliant Value Added Logical and General Purpose Device"
    TVALZ.SvcDesc              = "TOSHIBA ACPI-Based Value Added Logical and General Purpose Device Driver"
    
    
    Here are the keys where "TVALZ" waas noted:


    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\PnpLockdownFiles
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Setup\PnpLockdownFiles
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\0046
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\*tos1900
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\*TOS6208
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\ACPI\TOS1900\2&daba3ff&1
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\TVALZ
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\0046
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\CriticalDeviceDatabase\*tos1900
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\CriticalDeviceDatabase\*TOS6208
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\ACPI\TOS1900\2&daba3ff&1
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\TVALZ
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\0046
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\CriticalDeviceDatabase\*tos1900
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\CriticalDeviceDatabase\*TOS6208
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Enum\ACPI\TOS1900\2&daba3ff&1
    • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\services\TVALZ
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97D-E325-11CE-BFC1-08002BE10318}\0046
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\*tos1900
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\*TOS6208
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ACPI\TOS1900\2&daba3ff&1
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TVALZ


    Wondering if nulling out all the values in the INF and then "installing" the null file would work? Any ideas appreciated on how to dump this unneeded driver!

    Russ
     
  2. LatinMcG

    LatinMcG Bios Borker

    Feb 27, 2011
    5,314
    1,433
    180
    revo uninstall in safemode toshiba value added package ?
    rename the root of that registry ?
    check autoruns for it
    make new user and retry
     
  3. exYU

    exYU MDL Novice

    Apr 16, 2015
    16
    11
    0
    Did you try whit Sysprep h*t*t*p: // www*sevenforums.com/tutorials/135077-windows-7-installation-transfer-new-computer.html
     
  4. RASelkirk

    RASelkirk MDL Member

    Feb 4, 2010
    174
    7
    10
    Finally got the bugger out. Went thru the registry and deleted every "ATI" key and all values/datas with "Catalyst" and "Radeon". Had to use SetACL command line to change reg permissions for some keys. Then uninstalled the driver using driver store explored, rebooted and all is good!

    Yup, did all the obvious stuff...

    Haven't heard of that, will check it out!

    Russ
     
  5. RASelkirk

    RASelkirk MDL Member

    Feb 4, 2010
    174
    7
    10
    #5 RASelkirk, Nov 3, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Won't work on my system since I did the in-place upgrade.
    --------------------------------------------------------

    Ran a bootlog and found I still have two drivers loading for stuff that's long gone. If I delete anything related to them, I get a 07B bluescreen (drivers missing or corrupted). I've already removed all "unused" devices from DM using the showhidden command. So, how to get these out of my system and keep it happy?

    Code:
    Service Pack 111  3 2016 11:06:57.375
    Loaded driver \SystemRoot\system32\ntoskrnl.exe
    Loaded driver \SystemRoot\system32\hal.dll
    Loaded driver \SystemRoot\system32\kdcom.dll
    Loaded driver \SystemRoot\system32\mcupdate_GenuineIntel.dll
    Loaded driver \SystemRoot\system32\PSHED.dll
    Loaded driver \SystemRoot\system32\CLFS.SYS
    Loaded driver \SystemRoot\system32\CI.dll
    Loaded driver \SystemRoot\system32\drivers\Wdf01000.sys
    Loaded driver \SystemRoot\system32\drivers\WDFLDR.SYS
    Loaded driver \SystemRoot\system32\drivers\ACPI.sys
    Loaded driver \SystemRoot\system32\drivers\WMILIB.SYS
    Loaded driver \SystemRoot\system32\drivers\msisadrv.sys
    Loaded driver \SystemRoot\system32\drivers\pci.sys
    Loaded driver \SystemRoot\system32\drivers\vdrvroot.sys
    Loaded driver \SystemRoot\system32\DRIVERS\LPCFilter.sys
    Loaded driver \SystemRoot\system32\DRIVERS\iusb3hcs.sys
    Loaded driver \SystemRoot\System32\drivers\partmgr.sys
    Loaded driver \SystemRoot\system32\DRIVERS\compbatt.sys
    Loaded driver \SystemRoot\system32\DRIVERS\BATTC.SYS
    Loaded driver \SystemRoot\system32\drivers\volmgr.sys
    Loaded driver \SystemRoot\System32\drivers\volmgrx.sys
    Loaded driver \SystemRoot\system32\drivers\pciide.sys
    Loaded driver \SystemRoot\system32\drivers\PCIIDEX.SYS
    Loaded driver \SystemRoot\System32\drivers\mountmgr.sys
    Loaded driver \SystemRoot\system32\drivers\atapi.sys
    Loaded driver \SystemRoot\system32\drivers\ataport.SYS
    Loaded driver \SystemRoot\system32\drivers\msahci.sys
    Loaded driver \SystemRoot\system32\DRIVERS\amdxata.sys
    Loaded driver \SystemRoot\system32\DRIVERS\iaStorA.sys
    Loaded driver \SystemRoot\system32\DRIVERS\storport.sys
    Loaded driver \SystemRoot\system32\drivers\fltmgr.sys
    Loaded driver \SystemRoot\system32\drivers\fileinfo.sys
    Loaded driver \SystemRoot\System32\Drivers\Ntfs.sys
    Loaded driver \SystemRoot\System32\Drivers\msrpc.sys
    Loaded driver \SystemRoot\System32\Drivers\ksecdd.sys
    Loaded driver \SystemRoot\System32\Drivers\cng.sys
    Loaded driver \SystemRoot\System32\drivers\pcw.sys
    Loaded driver \SystemRoot\System32\Drivers\Fs_Rec.sys
    Loaded driver \SystemRoot\system32\drivers\ndis.sys
    Loaded driver \SystemRoot\system32\drivers\NETIO.SYS
    Loaded driver \SystemRoot\System32\Drivers\ksecpkg.sys
    Loaded driver \SystemRoot\System32\drivers\tcpip.sys
    Loaded driver \SystemRoot\System32\drivers\fwpkclnt.sys
    Loaded driver \SystemRoot\system32\DRIVERS\timntr.sys
    Loaded driver \SystemRoot\system32\drivers\volsnap.sys
    Loaded driver \SystemRoot\system32\DRIVERS\tdrpm273.sys
    Loaded driver \SystemRoot\System32\Drivers\spldr.sys
    Loaded driver \SystemRoot\system32\DRIVERS\snapman.sys
    Loaded driver \SystemRoot\System32\drivers\rdyboost.sys
    Loaded driver \SystemRoot\System32\Drivers\mup.sys
    Loaded driver \SystemRoot\system32\DRIVERS\iaStorF.sys
    Loaded driver \SystemRoot\System32\drivers\hwpolicy.sys
    Loaded driver \SystemRoot\System32\DRIVERS\fvevol.sys
    Loaded driver \SystemRoot\system32\DRIVERS\disk.sys
    Loaded driver \SystemRoot\system32\DRIVERS\CLASSPNP.SYS
    Loaded driver \SystemRoot\system32\DRIVERS\AtiPcie.sys
    Loaded driver \SystemRoot\system32\DRIVERS\cdrom.sys
    Loaded driver \??\C:\Windows\system32\drivers\mbamchameleon.sys
    Loaded driver \SystemRoot\System32\Drivers\Null.SYS
    Loaded driver \SystemRoot\System32\Drivers\Beep.SYS
    Loaded driver \SystemRoot\System32\drivers\vga.sys
    Loaded driver \SystemRoot\System32\DRIVERS\RDPCDD.sys
    Loaded driver \SystemRoot\system32\drivers\rdpencdd.sys
    Loaded driver \SystemRoot\system32\drivers\rdprefmp.sys
    Loaded driver \SystemRoot\System32\Drivers\Msfs.SYS
    Loaded driver \SystemRoot\System32\Drivers\Npfs.SYS
    Loaded driver \SystemRoot\system32\DRIVERS\tdx.sys
    Loaded driver \SystemRoot\system32\drivers\afd.sys
    Loaded driver \SystemRoot\System32\DRIVERS\netbt.sys
    Loaded driver \SystemRoot\system32\DRIVERS\vsdatant.sys
    Loaded driver \SystemRoot\system32\DRIVERS\wfplwf.sys
    Loaded driver \SystemRoot\system32\DRIVERS\pacer.sys
    Loaded driver \SystemRoot\system32\DRIVERS\VBoxNetAdp6.sys
    Loaded driver \SystemRoot\system32\DRIVERS\VBoxNetLwf.sys
    Loaded driver \SystemRoot\system32\DRIVERS\netbios.sys
    Loaded driver \SystemRoot\system32\DRIVERS\wanarp.sys
    Loaded driver \SystemRoot\system32\DRIVERS\VBoxUSBMon.sys
    Loaded driver \SystemRoot\system32\DRIVERS\VBoxDrv.sys
    Loaded driver \SystemRoot\system32\drivers\termdd.sys
    Loaded driver \SystemRoot\system32\DRIVERS\rdbss.sys
    Loaded driver \SystemRoot\system32\drivers\nsiproxy.sys
    Loaded driver \SystemRoot\system32\drivers\mssmbios.sys
    Loaded driver \SystemRoot\System32\drivers\discache.sys
    Loaded driver \SystemRoot\System32\Drivers\dfsc.sys
    Loaded driver \SystemRoot\system32\DRIVERS\blbdrive.sys
    Loaded driver \SystemRoot\system32\DRIVERS\tunnel.sys
    Loaded driver \SystemRoot\System32\drivers\dxgkrnl.sys
    Loaded driver \SystemRoot\system32\DRIVERS\igdkmd64.sys
    Loaded driver \SystemRoot\system32\DRIVERS\iusb3xhc.sys
    Loaded driver \SystemRoot\system32\DRIVERS\HECIx64.sys
    Loaded driver \SystemRoot\system32\DRIVERS\usbehci.sys
    Loaded driver \SystemRoot\system32\DRIVERS\HDAudBus.sys
    Loaded driver \SystemRoot\system32\DRIVERS\RtsPStor.sys
    Loaded driver \SystemRoot\system32\DRIVERS\athrx.sys
    Loaded driver \SystemRoot\system32\DRIVERS\vwifibus.sys
    Loaded driver \SystemRoot\system32\DRIVERS\L1C62x64.sys
    Loaded driver \SystemRoot\system32\DRIVERS\ICCWDT.sys
    Loaded driver \SystemRoot\system32\DRIVERS\i8042prt.sys
    Loaded driver \SystemRoot\system32\DRIVERS\SynTP.sys
    Loaded driver \SystemRoot\system32\DRIVERS\kbdclass.sys
    Loaded driver \SystemRoot\system32\DRIVERS\mouclass.sys
    Loaded driver \SystemRoot\system32\DRIVERS\Smb_driver_Intel.sys
    Loaded driver \SystemRoot\system32\DRIVERS\wmiacpi.sys
    Loaded driver \SystemRoot\system32\DRIVERS\CmBatt.sys
    Loaded driver \SystemRoot\system32\DRIVERS\intelppm.sys
    Loaded driver \SystemRoot\system32\drivers\CompositeBus.sys
    Loaded driver \SystemRoot\system32\DRIVERS\AgileVpn.sys
    Loaded driver \SystemRoot\system32\DRIVERS\rasl2tp.sys
    Loaded driver \SystemRoot\system32\DRIVERS\ndistapi.sys
    Loaded driver \SystemRoot\system32\DRIVERS\ndiswan.sys
    Loaded driver \SystemRoot\system32\DRIVERS\raspppoe.sys
    Loaded driver \SystemRoot\system32\DRIVERS\raspptp.sys
    Loaded driver \SystemRoot\system32\DRIVERS\rassstp.sys
    Loaded driver \SystemRoot\system32\DRIVERS\rdpbus.sys
    Loaded driver \SystemRoot\system32\drivers\swenum.sys
    Loaded driver \SystemRoot\system32\DRIVERS\umbus.sys
    Loaded driver \SystemRoot\system32\DRIVERS\usbhub.sys
    Loaded driver \SystemRoot\System32\Drivers\NDProxy.SYS
    Did not load driver \SystemRoot\System32\Drivers\NDProxy.SYS
    Did not load driver \SystemRoot\System32\Drivers\NDProxy.SYS
    Did not load driver \SystemRoot\System32\Drivers\NDProxy.SYS
    Did not load driver \SystemRoot\System32\Drivers\NDProxy.SYS
    Loaded driver \SystemRoot\system32\DRIVERS\iusb3hub.sys
    Loaded driver \SystemRoot\system32\drivers\RTKVHD64.sys
    Loaded driver \SystemRoot\system32\drivers\ksthunk.sys
    Loaded driver \SystemRoot\system32\DRIVERS\IntcDAud.sys
    Loaded driver \SystemRoot\system32\DRIVERS\USBSTOR.SYS
    Did not load driver \SystemRoot\system32\DRIVERS\wdcsam64.sys
    Loaded driver \SystemRoot\system32\DRIVERS\usbccgp.sys
    Loaded driver \SystemRoot\System32\Drivers\usbvideo.sys
    Loaded driver \SystemRoot\system32\drivers\luafv.sys
    Loaded driver \??\C:\Windows\system32\drivers\mbam.sys
    Loaded driver \SystemRoot\system32\drivers\WudfPf.sys
    Loaded driver \SystemRoot\system32\DRIVERS\lltdio.sys
    Loaded driver \SystemRoot\system32\DRIVERS\nwifi.sys
    Loaded driver \SystemRoot\system32\DRIVERS\ndisuio.sys
    Loaded driver \SystemRoot\system32\DRIVERS\rspndr.sys
    Loaded driver \SystemRoot\system32\drivers\HTTP.sys
    Loaded driver \SystemRoot\system32\DRIVERS\bowser.sys
    Loaded driver \SystemRoot\system32\DRIVERS\mrxsmb.sys
    Loaded driver \SystemRoot\system32\DRIVERS\mrxsmb10.sys
    Loaded driver \SystemRoot\system32\DRIVERS\mrxsmb20.sys
    Loaded driver \SystemRoot\system32\DRIVERS\afcdp.sys
    Loaded driver \SystemRoot\system32\drivers\peauth.sys
    Loaded driver \SystemRoot\System32\Drivers\secdrv.SYS
    Loaded driver \SystemRoot\System32\DRIVERS\srvnet.sys
    Loaded driver \SystemRoot\System32\drivers\tcpipreg.sys
    Loaded driver \SystemRoot\System32\DRIVERS\srv2.sys
    Loaded driver \SystemRoot\System32\DRIVERS\srv.sys
    Did not load driver \SystemRoot\System32\DRIVERS\srv.sys
    Loaded driver \SystemRoot\system32\DRIVERS\WUDFRd.sys
    Loaded driver \??\C:\Windows\system32\drivers\mwac.sys
    Loaded driver \??\C:\Windows\system32\drivers\MBAMSwissArmy.sys
    Loaded driver \SystemRoot\system32\DRIVERS\WSDPrint.sys
    Loaded driver \SystemRoot\system32\DRIVERS\WSDScan.sys
    
    
    I Googled everything else that looked odd, these are the only references to AMD or ATI that seem to be loading. They must be "called" from somewhere that I can edit w/o crashing my system. They do not show up in DM, even with hidden devices shown, and they do not show using Driver Store Explorer. There are two AMD-related inf/pnf sets and two ATI inf/pnf sets in my INF folder, four ".sys.mui" files and eight .sys files in my drivers folder, two ".inf.loc" files and four folders containing inf/pnf/sys files in the driverstore folder, even though none of these show in DS Explorer.

    I ran "pnputil -e >C:\pnp.txt" and do not see anything AMD or ATI related, but I do have TEN different Realtek drivers there even though I only have one Realtek audio device and one USB WiFi adapter that's no longer in use. Coud these Realtek jobbies be related to either AMD or ATI installs? WTH, I may uninstall these just to see...

    Thanks!

    Russ
     
  6. RASelkirk

    RASelkirk MDL Member

    Feb 4, 2010
    174
    7
    10
    Well, it's now a done deal. I found this program while Googling - It's called "Paragon Adaptive Restore" and it does about the same thing as sysprep, but works regardless of your upgrade status and keeps all your personalizations intact. After booting off the CD, you tell it to move your computer to platform with different hardware (P2P) and it removes all devices from the OS, then after booting, it renstalls all base MS drivers it finds. You can (and should) inject any new drivers that are needed for booting, like AHCI/IDE drivers. I did have a minor problem after rebooting, it showed the "Setting up you computer for the first time" message on every boot afterwards, but altering a couple regkey values fixed that...

    Russ
     
  7. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,494
    633
    60
    So it resets the HAL, exactly like I mentioned in your thread here using shadow protect: https://forums.mydigitallife.net/threads/71720-Solved-Video-driver-problem?p=1286392&viewfull=1#post1286392
     
  8. RASelkirk

    RASelkirk MDL Member

    Feb 4, 2010
    174
    7
    10
    That link made my head hurt! <LOL> I tried reading it, but it was like reading a nuclear plant startup manual. :D Another question for you smart(er) guys, I now am the proud owner of three HKLM "controlsets" plus the currentcontrolset. Can these 001, 002, & 003 sets be deleted?

    Russ
     
  9. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,313
    120
    Likely that driver is marked as essential and windows refuses to boot to protect himself.

    Then just disable the services corresponding to the red lines in

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

    open each related subkey and change the start value line from 0 to 4

    Reboot your PC and if it boots normally you can delete the files manually (or run the buggy uninstaller)

    That's all.

    r
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...