• Decoding a vague “Unknown Device” error

    Home » Forums » Newsletter and Homepage topics » Decoding a vague “Unknown Device” error

    Author
    Topic
    #1879398

    LANGALIST By Fred Langa When device problems arise, Windows often produces frustratingly vague error messages. That makes it difficult to know which d
    [See the full post at: Decoding a vague “Unknown Device” error]

    Viewing 12 reply threads
    Author
    Replies
    • #1879403

      I got a few chuckles out of this article, Fred. It reminded me of the time when I tried to work out what an obscure error code meant.
      It was some time ago and I can’t remember the specifics of hardware and software. I think it was an error code in an IBM MVS core dump, probably around 1983. Let’s say that the error code was 3124. Deep in the bowels of the operating system manuals, I found an explanation. “An error of type 3124 has occurred.”
      Totally accurate, but totally useless.

      • #1882536

        I got a few chuckles out of this article, Fred. It reminded me of the time when I tried to work out what an obscure error code meant.
        It was some time ago and I can’t remember the specifics of hardware and software. I think it was an error code in an IBM MVS core dump, probably around 1983. Let’s say that the error code was 3124. Deep in the bowels of the operating system manuals, I found an explanation. “An error of type 3124 has occurred.”
        Totally accurate, but totally useless.

        You’re in good company, and it’s topical at the moment.

        Try googling “1202 error”.

        1 user thanked author for this post.
        b
    • #1879418

      Oh and then there was that one server that output a single texts string, consistently:

      u knonnwi tnreur p

      In the end, turned out that this apparently wasn’t an error message per se, but consistent garbage output when that one motherboard error condition happened.

    • #1879506

      For this type of issue I’ve always found Nir Sofer’s free/portable USBDeview to be very helpful.

      The error gives the USB port in question and USBDeview –  if it doesn’t show the actual device name then should show the Vendor and Product ID details… which can then be checked at PCI Lookup for info about the manufacturer.

      usd-deview-venprod-id

      USBDeview is also invaluable when it comes to removing the list of ‘remembered’ devices without having to open the Registry Editor… particularly when you have registry corruption and garbled entries in the ‘Device Name’ column.

      Hope this helps…

      2 users thanked author for this post.
      • #1881352

        Use this little program with caution lest you remove necessary devices.

        On permanent hiatus {with backup and coffee}
        offline▸ Win10Pro 2004.19041.572 x64 i3-3220 RAM8GB HDD Firefox83.0b3 WindowsDefender
        offline▸ Acer TravelMate P215-52 RAM8GB Win11Pro 22H2.22621.1265 x64 i5-10210U SSD Firefox106.0 MicrosoftDefender
        online▸ Win11Pro 22H2.22621.1992 x64 i5-9400 RAM16GB HDD Firefox116.0b3 MicrosoftDefender
        1 user thanked author for this post.
        • #1888401

          The good news is that I unravelled some printer confusion and then reinstalled printer drivers, associated printer software, and reset printer preferences.

          On permanent hiatus {with backup and coffee}
          offline▸ Win10Pro 2004.19041.572 x64 i3-3220 RAM8GB HDD Firefox83.0b3 WindowsDefender
          offline▸ Acer TravelMate P215-52 RAM8GB Win11Pro 22H2.22621.1265 x64 i5-10210U SSD Firefox106.0 MicrosoftDefender
          online▸ Win11Pro 22H2.22621.1992 x64 i5-9400 RAM16GB HDD Firefox116.0b3 MicrosoftDefender
      • #1883108

        ? says:

        thanks Rick C for spotlighting another great Nir tool! infinitely better than “set devmgr_show_nonpresent_devices=1”, and “start devmgmt.msc”

    • #1880232

      Don’t forget that you can also customize the columns in the filename window.  One available column is “File extension”.  With this column showing, you can then sort your filenames by the extension.

      1 user thanked author for this post.
    • #1880462

      One thing Fred didn’t mention re the issue of not showing file extension by default is that some malware (spread by emails etc.) take advantage of this. A malicious file could, for example, be called safetextfile.txt.exe or even safetextfile.exe and given notepad’s icon. With no extension showing it wouldn’t be clear that you aren’t opening a simple text file.

      2 users thanked author for this post.
      • #1885745

        Rumor has long held that Steve Ballmer infected Bill Gates by sending him an email with an attachment called ILOVEYOU.VBS. If Gates had been able to see the “VBS” filename extension, he probably would’ve hesitated before clicking on it.

    • #1882424

      Great responses in this thread so far!

      Let me add one more reason even home users might want to know file extensions. File Type Associations can get broken in Windows 10. (I got hit by two updates bugs, and an upgrade = Feature Update bug related to this issue.)

      Without knowing which file extensions are associated with which apps, it’s harder to track down an error condition where the Windows 10 settings panes are messed up due to a bad update or a partially failed upgrade.

      But I guess for casual Windows users, this would be a good time to visit your local PC tech (independent) or the Microsoft Store if there’s one nearby.

      -- rc primak

    • #1882440

      I had a non-USB driver issue which resulted in a Unknown Device condition at startup. This one turned out to be in a sound driver conflict. The Device Manager and the Event Viewer showed that a Windows Driver had tried to overwrite an OEM driver in my “all-Intel” NUC PC.

      Well, this was when I downloaded the Intel Driver Update Assistant.

      It was not an Intel Driver. It was a Realtek driver for sound, with additional driver-related control software. Once I realized what MS Update had been doing, I vowed never again to let an upgrade or monthly CU pass without checking my OEM drivers for changes or updates from Intel. Even the Realtek Sound Driver Package.

      Realtek, along with NVidia, is notorious for putting out buggy or fragile drivers, which nearly every OS update or upgrade can break. Even in Linux or Mac OS.

      Sometimes you have to go to the source, using Device Manager and the Event Viewer as guides. Sometimes even this does not resolve the issue.

      This was not an older Windows 7 PC, BTW. It was Intel 6th Gen Skylake based, ca. 2015.  Windows 10 Pro from the very beginning. The Skylake NUC firmware or chipset microcode was also buggy, but that’s a different saga…

      (The blasted thing still won’t just shut down on the first try — dual-boot Ubuntu Linux 18.04 LTS and Windows 10 Pro 1809.  The second shutdown command usually works. Also, for some reason Windows Defender Offline (WDO) never completes on this PC. But all kinds of  upgrades and Windows CU reboots do work just fine. Go figure… )

      -- rc primak

      • #1882444

        Try stopping device driver updates using the following REG file:

        Windows Registry Editor Version 5.00
        
        ; Update & Security - Windows Update - Automatic Driver Updates - DISABLE
        
        [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
        "ExcludeWUDriversInQualityUpdate"=dword:00000001
        
        

        If you ever want to revert the behaviour, use this:

        Windows Registry Editor Version 5.00
        
        ; Update & Security - Windows Update - Automatic Driver Updates - ENABLE (default)
        
        [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
        "ExcludeWUDriversInQualityUpdate"=-
        
        

        This will delete just the entry/value pair created by the first REG file.

        Hope this helps…

        1 user thanked author for this post.
        • #1882477

          Thanks, Rick!

          I’ll bookmark that advice. For now, the Intel Driver Support and Update Tool does the trick for me. Easier than going into the Windows Registry all the time.

          Easier still would be if MS Update didn’t keep throwing the whole kitchen sink down the chute every month. I have MS Update set to “Never offer drivers”. Fat lot of good that setting does! Even wushowhide doesn’t pick out the components of a CU. So, no warning, no defense.

          None of this will fix a hardware microcode flaw, however. That remains a mystery…

          -- rc primak

          • #1882616

            The first REG file I provided is the equivalent of the Windows Update setting of “Never offer drivers” so you may already have it set. I would check if I was you. However, if Windows Update is ignoring the setting then that’s a problem. From reading around it seems that it’s been a problem for Win 10 since 2016.

            There’s 2 more registry settings that I know of that affect how Windows Update works with drivers but I’m loathe to provide more details as it looks like MS have been fiddling with the values, i.e. what worked for 1709 stopped working for later versions. This is going off-topic as well so, if it’s still a problem, perhaps create new topic?

            Hope this helps…

            1 user thanked author for this post.
    • #1882983

      I am assuming here that CUs include driver updates.
      Does the reg setting keep the CU from installing driver updates?

      🍻

      Just because you don't know where you are going doesn't mean any road will get you there.
      • #1884113

        @wavy – to be honest I didn’t know exactly so I did a test.

        A clean install of Windows 10 1903 on a Dell Latitude E7440 without the REG file merged shows 10 hardware drivers installed by Windows Update:

        reg-tweak-not-merged

        Next I did an identical clean install again and this time merged the REG file from USB before I allowed the laptop to go online.

        Settings showed that the policy was in place:

        reg-tweak-merged-message

        I kept updating until there were no updates left to install then checked WU history:

        reg-tweak-merged

        (I didn’t make a note of the previous 10 driver installs so I can’t tell which driver wasn’t installed this time.)

        So, I have an apology to make. This REG tweak no longer works with 1903… and I have absolutely no idea at which version it stopped working. 🙁

        I’m going to do another clean install with the other 2 REG tweaks I know of that affect driver updates within Windows Update.

        2 users thanked author for this post.
    • #1884552

      I did another clean install and tried another REG setting that should prevent drivers from being installed via Windows Update.

      The REG file is as follows:

      Windows Registry Editor Version 5.00
      
      ; Update & Security - Windows Update - Automatic device driver updates (Turn OFF)
      
      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching]
      "SearchOrderConfig"=dword:00000000
      

      You can read a little more about the setting in this “Windows Update Configured to never install drivers” Detected by Troubleshooter article.

      This registry tweak no longer works with 1903 either (and I’m back up to 10 hardware drivers installed by Windows Update… but not the Broadcom USH driver, which is still absent from Device Manager).

      I’m not going to bother with the third registry tweak I have as it only prevents the download of hardware metadata, i.e. if you have – for example – an HP printer then the OS identifies it and downloads a model-specific icon to display in ‘Device and Printers’.

      I’ve gone through *every* setting in Settings and it looks like there’s no longer any way to manually prevent hardware drivers from being included with Windows Update either.

      2 users thanked author for this post.
      • #1884754

        Thanks thats good to know errr actually bad to know, well bad but good to be forwarned. Maybe time to look into one of those driver recovery programs…. I think I have one bookmarked somewhere..

        🍻

        Just because you don't know where you are going doesn't mean any road will get you there.
      • #1885176

        Rick –

        This is a GREAT one to post on the main blog page….

        2 users thanked author for this post.
        • #1885209

          @woody – I don’t have the rights to create a topic on the main blog page. Just nick the content yourself… I don’t mind. 🙂

          It would be great if someone else could verify my findings. I’ve tried to be as descriptive as possible of each step I’ve carried out.

          1 user thanked author for this post.
    • #1884740

      Rick thanks for the effort, seems like windows does what ever windows wants to do.
      I do manual updates security first and then CU a bit later. I did a quick look thru Device Manager and found no driver newer than 2017. I have the option set in settings to not do driver updates. I am using W10 1803 Pro 64 bit. I have a couple of reggie settings to stop windows from updating on its own. I always make sure the 2 relevant services are set to disabled. Generalizing from (or to) my results would be a leap. I did a manual update with June 26, 2019—KB4509478 (OS Build 17134.860) a couple of weeks ago.

      I am building a new computer this week (end??) and think I will just use the latest Media creation tool and let Windows update run its course for a week

      🍻

      Just because you don't know where you are going doesn't mean any road will get you there.
      1 user thanked author for this post.
    • #1884840

      OOps just realized how far off topic we have wandered. In for a penny in for a pound..
      Does any one know of a driver update from June updates for an intel based computer???
      I will go back and double check what I have.

      🍻

      Just because you don't know where you are going doesn't mean any road will get you there.
    • #1913275

      One thing Fred didn’t mention re the issue of not showing file extension by default is that some malware (spread by emails etc.) take advantage of this. A malicious file could, for example, be called safetextfile.txt.exe or even safetextfile.exe and given notepad’s icon. With no extension showing it wouldn’t be clear that you aren’t opening a simple text file.

      We’re getting quite off-topic, but I felt I should address this, since it is misleading.

      Unless there’s some rare exception I’ve never heard of, simply opening any .txt file in any sort of text viewer or word processing program [which on almost all systems is the default configuration for .txt’s] will not infect the computer; doing so never executes any code or script.

      If a user e.g. blindly renamed a .txt file from a questionnable source to, say a .exe or .bat, I have to say they would pretty much deserve whatever infection results.

      I’d think that even a .txt file containing executable malware, which was renamed to .exe by the user or even by an associated malware program, would be detected anyway. Things like which file extensions should be checked can be configured in most antivirus programs, including the many good free ones. Truly paranoid users could configure their antivirus to check pretty much everything, but that would be likely to severely slow down their computer.

      Of course, even not all malware .exe’s will be detected by all or any antivirus program. Zero-day malware won’t be picked up until if and when the virus checker definitions are updated for the new detection… and if it’s a rare variant, it might never be detected by some or all antivirus programs.

      Real-time antivirus checkers are very useful and pretty much essential, but the greater protection comes from never opening a file or email attachment from anywhere unless it’s a KNOWN safe source OR a KNOWN BENIGN file type.

       

      Asus N53SM & N53SN 64-bit laptops (Win7 Pro & Win10 Pro 64-bit multiboots), venerable HP Pavilion t760 32-bit desktop (XP & Win7 Pro multiboot), Oracle VirtualBox VM's: XP & Win7 32-bit, XP Mode, aged Samsung Galaxy S4, Samsung Galaxy Tab A 2019s (8" & 10.1"), Blu-ray burners, digital cameras, ext. HDDs (latest 5TB!), AnyDVD, Easeus ToDo Backup Home, Waterfox, more. Me: Aussie card-carrying Windows geek.

      • This reply was modified 5 years, 6 months ago by BigBadSteve.
      • This reply was modified 5 years, 6 months ago by BigBadSteve. Reason: Oops I dunno where all those tags came from, I certainly didn't type them
      • #1914435

        Unless there’s some rare exception I’ve never heard of, simply opening any .txt file in any sort of text viewer or word processing program [which on almost all systems is the default configuration for .txt’s] will not infect the computer; doing so never executes any code or script.

        Yes, there’s a rare exception or several, last one that I remember was even discussed here… https://www.askwoody.com/forums/topic/linux-vulnerability-by-opening-files-in-vim-or-neovim/

        Previous case of this that I remember was back in the 1990s, a similar “helpful” feature that could be turned on by users, in a different text editor.

        Then there have been some cases… usually with serial line text-only terminals, specific to terminal model AND application used… where non-printable embedded control characters could be used to feed commands back in through an input buffer. One of these worked in some versions of MS-DOS, depending on configured input codepage and such, if you used the TYPE command on such a file.

    • #1913321

      … Please note that in my post above, I am not quibbling with changing Windows settings so file extensions are always shown. Doing so is essential to keeping any Windows system secure!

      (And I always also enable showing Hidden Files and “Protected operating system files” on my own computers (via Folder/File Explorer options), but I never make this latter settings change on the computers of n00B friends or family members etc., since the less viewable system files are to them the better, so they have less chance of deleting them or otherwise smegging with them.

      And OOPS I’m VERY sorry anonymous, I’d actually misread your post, and everything you said about the dangers of not showing fie extensions is VERY true! (e.g. a .txt.exe). The board software won’t let me edit that post again or I’d probably remove it. In my post above I had thought we were talking about a situation where file extensions *were* being shown. Hopefully at least some info in that post of mine is useful to someone for other reasons.

      Asus N53SM & N53SN 64-bit laptops (Win7 Pro & Win10 Pro 64-bit multiboots), venerable HP Pavilion t760 32-bit desktop (XP & Win7 Pro multiboot), Oracle VirtualBox VM's: XP & Win7 32-bit, XP Mode, aged Samsung Galaxy S4, Samsung Galaxy Tab A 2019s (8" & 10.1"), Blu-ray burners, digital cameras, ext. HDDs (latest 5TB!), AnyDVD, Easeus ToDo Backup Home, Waterfox, more. Me: Aussie card-carrying Windows geek.

      • This reply was modified 5 years, 6 months ago by BigBadSteve. Reason: Hmm, the purpose 'Visual' tab in new posts here isn't at all intuitively apparent, is it
      • This reply was modified 5 years, 6 months ago by BigBadSteve. Reason: Oops!
      1 user thanked author for this post.
      • #1913329

        If you use the “Text” tab in the entry box when you copy/paste, it will eliminate a lot of the HTML formatting. 🙂

        1 user thanked author for this post.
    Viewing 12 reply threads
    Reply To: Reply #1882536 in Decoding a vague “Unknown Device” error

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel