Re: Pb usb

Publié par dmapdm le 03/07/2019 08:34:48
salut sans garantir quoi que ce soit,

choisir l'un ou l'autre :
- la version GUI(graphique) : https://www.uwe-sieber.de/misc_tools.html#devicecleanup

- la version en command line que j'utilise dans mes baths automatisés. :

retirer la clé

https://www.uwe-sieber.de/files/drivecleanup.zip
décompresse le
je sais old school, tu lancer cmd en admin
tu vas dans le dossier décompressé et tu lances :
DriveCleanup-x64.exe -n
ou DriveCleanup-x86.exe -n
redémarrer le pc

et rebrancher la clé

il va en fait libérer toutes les infos de toutes les clés et disques externe que le windows a pu rencontrer.

-------------------------------
https://www.uwe-sieber.de/drivetools_e.html se rendre vers le milieu de page pour les infos que je copie colle ici-même :

DriveCleanup is a command line tool which does what you could do manually in the Windows Device Manager or my means of DeviceCleanup, it removes all currently non-present USB Storage Devices, Disks, CDROMs, Floppies, Storage Volumes and WPD devices from the device tree. Furthermore it removes orphaned registry items related to these device types.
Started with parameter -T (like test) it shows which devices it would remove.
DriveCleanup -T
Started with admin privileges and without a parameter it does its job without further inquiry.
To remove certain types of devices there are the parameters -U -D -C -F -V -W and -R, see DeviceCleanup.txt.
Sample to remove abandoned registry entries only:
drivecleanup -R
Under x64 editions of Windows only the included x64 version works.

Admin privileges are required for actual cleanup, without it requests to switch into the test mode.

Since V1.0 it removes non-USB drives if they have a removal policy > 1 (EXPECT_ORDERLY_REMOVAL or EXPECT_SURPRISE_REMOVAL).

When started standalone it waits for a keystroke at the end. This can be skipped by param -n or by starting it minimized or hidden.

Cette contribution était de : http://www.gratilog.net/xoops/newbb/viewtopic.php?forum=1&topic_id=16175&post_id=193186