USB Notify


  1. Posts : 24
    Windows 10 Pro 22H2 19045.2728
       #1

    USB Notify


    I'm wondering if W-10 22h2 will show you successful communication with a USB flash drive like W-7 does. I've read the tutorial about notifications of errors of USB devices but not about this. Any suggestions?
      My Computer


  2. Posts : 43,009
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, I guess you're referring to this tutorial:
    Turn On or Off Notification of USB Issues in Windows 10

    successful communication with a USB flash drive like W-7 does
    - for example?

    I certainly get notification of inserting one (and removing one), and of course you could also configure Autoplay to provide one, should you so wish.
    USB Notify-untitled.png
      My Computers


  3. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #3

    Hello @Leo625,

    I do NOT know if this will help, but it will show you if it is connected / recognised and the Status etc.

    Copy & Paste the following ALL at once into a CMD Prompt and press Enter.

    Code:
    
    @echo off
    
    PowerShell ^
         Get-Volume ^| Sort-Object -Property {$_.DriveLetter} ^| Format-Table -Autosize ^
         @{L='Drive Letter'        ;E={;if($_.DriveLetter -eq $NULL)                            {'Hidden'} else {$_.DriveLetter}}}, ^
         @{L='Drive Letter Name'   ;E={;if($_.FileSystemLabel -eq '')                           {'NO LABEL'} else {$_.FileSystemLabel}}}, ^
         @{L='File System Type'    ;E={;if([string]::IsNullOrWhiteSpace($_.FileSystemType))     {'-'} else {$_.FileSystemType}}}, ^
         @{L='Drive Type'          ;E={;if([string]::IsNullOrWhiteSpace($_.DriveType))          {'-'} else {$_.DriveType}}}, ^
         @{L='Allocation Unit Size';E={;if([string]::IsNullOrWhiteSpace($_.AllocationUnitSize)) {'-'} else {[Math]::Round($_.AllocationUnitSize, 0).ToString('#,##0 Bytes')}};A='Right'}, ^
         @{L='Operational Status'  ;E={;if([string]::IsNullOrWhiteSpace($_.OperationalStatus))  {'-'} else {$_.OperationalStatus}};A='Right'}, ^
         @{L='Health Status'       ;E={;if([string]::IsNullOrWhiteSpace($_.HealthStatus))       {'-'} else {$_.HealthStatus}};A='Right'}, ^
         @{L='Total Size'          ;E={;if($_.Size -lt 1073741824) {;[Math]::Round($_.Size / 1MB, 2, 00).ToString('#.00 MB')} else {;[Math]::Round($_.Size / 1GB, 2, 00).ToString('#.00 GB')}};A='Right'}, ^
         @{L='Used Size'           ;E={;if($_.Size - $_.SizeRemaining -lt 1073741824) {;[Math]::Round(($_.Size - $_.SizeRemaining) / 1MB, 2, 00).ToString('#.00 MB')} else {;[Math]::Round(($_.Size - $_.SizeRemaining) / 1GB, 2, 00).ToString('#.00 GB')}};A='Right'}, ^
         @{L='Free Size'           ;E={;if($_.SizeRemaining -lt 1073741824) {;[Math]::Round($_.SizeRemaining / 1MB, 2, 00).ToString('#.00 MB')} else {;[Math]::Round($_.SizeRemaining / 1GB, 2, 00).ToString('#.00 GB')}};A='Right'}, ^
         @{L='Free %'              ;E={;if($_.SizeRemaining -lt 1) {;[Math]::Round($_.FreeSpace / 1MB, 2, 00).ToString('#.00'' %%')} else {;[Math]::Round(($_.SizeRemaining / $_.Size) * 100, 2).ToString('#.00'' %')}};A='Right'} ^| ^
    Out-String -Width 1000 >nul 2>&1 >> %Temp%\A.txt
    PowerShell ^
         (Get-Content %Temp%\A.txt) -Replace('\x00+','') ^| Set-Content %Temp%\B.txt
         for /f "delims=" %i in (%Temp%\B.txt) do echo  %i
         del %Temp%\A.txt %Temp%\B.txt
    
    echo. & echo ^>Press ANY key to EXIT . . . & pause >nul & Exit
    
    
    

    The above is an extract from my PROJECT: Computer Report - Comprehensive in my signature.

    I hope this helps.
      My Computer


  4. Posts : 24
    Windows 10 Pro 22H2 19045.2728
    Thread Starter
       #4

    Thank You Both for your help. I'm attaching a screen shot of my USB Settings so you will see what I am working with. I used Brink's reg files also and still get this spartan page about notification of USB troubles.USB Notify-usbsettings.png

    Also I don't know if this matters in the case of a USB but "Autoplay" is on.
      My Computer


  5. Posts : 43,009
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #5

    USB Notify-1.jpg

    That's the same as I have.

    If I insert a USB flash drive, for example, I
    - hear a sound
    USB Notify-2.jpg
    - see the notification I posted above.

    Are you saying neither of those occurs in your case?

    If so, when did this stop happening?
      My Computers


  6. Posts : 24
    Windows 10 Pro 22H2 19045.2728
    Thread Starter
       #6

    As far as I can remember I have never gotten notifications. I just thought that was the way it was. I started out with 21h1 I believe.
      My Computer


  7. Posts : 43,009
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    Thank you for your reply.


    It is odd that you have never had such notifications.


    You will need to post screenshots of relevant settings.

    E.g. as per my first in post #5 and
    USB Notify-1.jpg

    See:
    Turn On or Off Notifications from Apps and Senders in Windows 10

    - from the huge searchable Tutorials section- do feel free to have a look.

    What tweaks or changes do you know that you have applied that might be relevant?
      My Computers


  8. Posts : 24
    Windows 10 Pro 22H2 19045.2728
    Thread Starter
       #8

    Aha! Notifications & Actions! I had turned this off while trimming stuff at installation! Thanks for the direction.
      My Computer


  9. Posts : 43,009
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9



    Yes, you do need to be careful about unexpected consequences of changing things you don't think are needed.

    Precautions: Routine and regular 3rd party disk imaging + scheduled System Restore points help a lot, but no backup will solve problems if more recent than when the problem started.
      My Computers


  10. Posts : 1,775
    Windows 10 Pro
       #10

    dalchina said:


    but no backup will solve problems if more recent than when the problem started.
    So true!
      My Computers


 

  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 13:06.
Find Us




Windows 10 Forums