Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #182082

Re: Powershell to do "devcon /rescan"

From Frank Slootweg <this@ddress.is.invalid>
Newsgroups alt.comp.os.windows-10
Subject Re: Powershell to do "devcon /rescan"
Date 2025-02-07 15:56 +0000
Organization NOYB
Message-ID <vo5dsr.mbc.1@ID-201911.user.individual.net> (permalink)
References <vo4qv7$3fnv0$1@toylet.eternal-september.org> <vo4ttq$3g7ia$3@dont-email.me> <vo50nc$3gpup$1@toylet.eternal-september.org> <vo5cqj.10cc.1@ID-201911.user.individual.net>

Show all headers | View raw


A bit earlier, I wrote:
> Mr. Man-wai Chang <toylet.toylet@gmail.com> wrote:
> > On 7/2/2025 8:22 pm, John C. wrote:
> > > 
> > > You could instead use Nirsoft's USBDView:
> > > 
> > > https://www.nirsoft.net/utils/usb_devices_view.html
> > 
> > Not sure if this tool could do it auto-magically.... I did come across 
> > this tool when doing Google Search!
> 
>   It depends on what you mean by "dropped" (in your OP). If you mean
> disabled, then there is a "enable_all" command-line option.
> 
>   Anyway, just try it. Nirsoft utilities are very powerful/versatile and
> there are many different ones. Very likely that one or more of them
> satisfy your needs.

  I partly confused things with Uwe Sieber's utilities, especially the
USB ones.

  So I looked again at Uwe's site and this seems to be what you're
looking for:

<quote>

RescanDevices
 
When an IDE or SATA drive has been prepared for safe removal it can be
reactivated by a scan for new hardware.
That's what this tool initiates.

It is a non interactive, invisible Windows application. It does the same
as Microsoft's tool DEVCON when called with parameter 'rescan', but no
console window pops up.

Download: rescandevices.zip

</quote>

  RescanDevices is listed way down this page:

<https://www.uwe-sieber.de/drivetools_e.html>

  The description talks about "drive"s, but as it says that it initiates
a scan for new hardware and does the same as 'devcon /rescan' it seems
to fit your need.

Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Powershell to do "devcon /rescan" "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2025-02-07 19:31 +0800
  Re: Powershell to do "devcon /rescan" "John C." <r9jmg0@yahoo.com> - 2025-02-07 04:22 -0800
    Re: Powershell to do "devcon /rescan" "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2025-02-07 21:10 +0800
      Re: Powershell to do "devcon /rescan" Frank Slootweg <this@ddress.is.invalid> - 2025-02-07 15:36 +0000
        Re: Powershell to do "devcon /rescan" Frank Slootweg <this@ddress.is.invalid> - 2025-02-07 15:56 +0000
          Re: Powershell to do "devcon /rescan" "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2025-02-10 22:30 +0800

csiph-web