windows 開機轉圈圈,登入非常緩慢。

 我在IT邦幫忙上找到答案。
感謝 x2163126 提供 Powershell command 出處





pnputil /enum-devices /disconnected | Select-String -Pattern "執行個體識別碼:" | %{$_.Line.Split(" ")}  |Select-String -Pattern '執行個體識別碼:' , '^\s*$' -NotMatch  | where{$_ -ne ""} |foreach {pnputil.exe /remove-device $_}