Installing Wrong Driver Caused WDF_VIOLATION

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 181
    Windows 10 Pro. Version 10.0.19045 Build 19045
    Thread Starter
       #11

    I have to be gone from home for the next two hours. Will be back on then.
      My Computer


  2. Posts : 158
    Windows 10
       #12

    Okay I am back home and can work on my computer again. Let’s walk through this step by step. Let me know if any more questions.

    From Windows recovery, normally drive D: is the correct letter for your Windows files. If you need help finding the correct drive letter then, copy and paste the following command:

    bcdedit |find "osdevice" (this will display the correct Windows drive letter)

    See following example:
    D:\WINDOWS\system32>bcdedit |find "osdevice"
    osdevice partition=D:

    Once at command prompt type the following commands in order.

    1. d:
    2. cd d:\windows\system32\
    3: driverquery > 0 & notepad 0 - this will open notepad with the list of drivers.

    4.Stay in notepad or open a new notepad by typing notepad
    5. Go to File > Open
    6. Change “Files of Type” box to All Files
    7. Browse to driver or drivers you want to Delete and try and delete the file or files. If it will not let you then let me know and we can do it from command line as well.
      My Computer


  3. Posts : 181
    Windows 10 Pro. Version 10.0.19045 Build 19045
    Thread Starter
       #13

    I am back home and ready to try. Correct me if I am wrong but am I not trying to delete the bad driver that installed on C:\
    So, should I do the above command against C:\

    Starting from a fresh opening of the Command Prompt, which shows X:\
    Then bcdedit |find "osdevice" shows partition=E:
    From memory, Windows is installed onto C:\ (the SSD drive). That drive has a second 25GB partition that Lenovo stores all of it's drivers for my use. The laptop has a second HDD which is a mechanical one. I have two partitions on it, named D:\ (where I copy all my data onto, and T:\ for other storage. The laptop has a hidden Recovery Partition.

    Why is
    bcdedit |find "osdevice" not showing C:\
    NOTE: I assume that when you show speech marks ("), I am to include them in the Command Prompt input?
      My Computer


  4. Posts : 181
    Windows 10 Pro. Version 10.0.19045 Build 19045
    Thread Starter
       #14

    Ignore my C:\ question as I remembered that doing this stuff changes Drive letters to suit itself.
    I have got to where notepad has opened with a list of drivers. Took 3 attempts to get to there as one slight mistake in entering DOS, does not go well.

    I realize it is very late at your end so I don't expect a reply for many hours. Tomorrow, I and my wife drive 2 hours to visit family. It has been arranged prior and we have our dogs booked into the kennels. So, it will be 26 hours from now before I can get back to fixing this and you will be going to bed again. lol Please bear with me, I appreciate it.

    EDIT:
    I see that folders and files have the date when last modified, that will help as I now have to identify the actual drivers I last installed. There is nothing as simple as the name Elan Touchpad driver. On another laptop, I will download the same driver package and unzip it to a folder, the same steps as I did before my stuff up. I can then identify the names and types of the files I need to delete.

    On my other laptop, I went into Device Manager and right clicked it's Synaptics touchpad and in its properties, looked at its driver details. They are shown as in the Program Files Folder as well as System32. Will the Elan drivers on the Lenovo also be in the Program Files as well as the System32?
    Last edited by theoldfarter; 30 Jun 2018 at 03:52.
      My Computer


  5. Posts : 158
    Windows 10
       #15

    I am traveling to see family this weekend as well so won’t be online to much. Please dave and upload the drivers text file that you opened from notepad after running the driverquery command early.
      My Computer


  6. Posts : 158
    Windows 10
       #16

    It looks like correct driver can be downloaded from the following link. Also check for any other driver updates on that site.

    https://pcsupport.lenovo.com/us/en/p...ikbn/downloads

    Driver Update procedure:-
    Look for drivers at the website of the company that made the device/program. They have the most updated drivers for their stuff.
    - If they don't offer drivers, then search Google for drivers from the PC/Mobo (OEM) manufacturers - and pick the most updated one from there.
    - As a last resort, get drivers from the support website for the manufacturer of your PC/Mobo.
    - DON'T get drivers from Windows Update or the Update drivers function of Device Manager. They only search for drivers at the Windows Update website and most often will not be the most updated version available.
    Last edited by dmccoy; 30 Jun 2018 at 21:41.
      My Computer


  7. Posts : 181
    Windows 10 Pro. Version 10.0.19045 Build 19045
    Thread Starter
       #17

    Thanks for your advice on Driver updating. I will certainly follow it as I have learned a painful lesson about the stupidity of ignoring the warning box that popped up when I was installing the driver.

    The Elan Touchpad driver that has caused this problem was this one. It just opens to a page, not the download link.
    Download ELAN Input Device for WDF Driver 16.21.13.3 for Windows 10 64 bit

    I have attached the Notepad file you asked for.

    In a previous question, I asked about the Touchpad files that are in the Programs Folder. As you are concentrating on the files in the system32 folder only, I wonder if that means that the file(s) that are causing this problem are only in the system32 folder and that the Touchpad files in the Program Folder are for the cosmetic stuff, like three finger scroll/zoom/rotate/etc?

    While you are fixing this problem for me, I also wish to learn from it and understand more of what files do what.
    Even though I am 71 years of age, I still have an enquiring mind :)
      My Computer


  8. Posts : 158
    Windows 10
       #18

    That is great that you are still interested in learning. Please ask any questions you like. The driver list did not include the paths to the drivers. Let’s try again with some extra switches as shown below and it should look similar the enclosed screenshot. Upload the new file.

    Once at command prompt type the following commands in order.


    1. e:
    2. cd e:\windows\system32\
    3: driverquery /v /fo list > 0 & notepad 0 - this will open notepad with the list of drivers.

      My Computer


  9. Posts : 181
    Windows 10 Pro. Version 10.0.19045 Build 19045
    Thread Starter
       #19

    Done as you requested, here is #2 attachment.
      My Computer


  10. Posts : 158
    Windows 10
       #20

    Sorry just got back home from out of town. Will get back with you tomorrow.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:13.
Find Us




Windows 10 Forums