- Local time
- 3:37 AM
- Posts
- 231
- OS
- Windows 11 27965
Ive discovered that you can get device IDs from registry using wmic and shell scripting commands.
Device Manager > Network adapters > Properties > Details tab
The reason for wanting this script is so the Class GUID doesnt need modified within the batch script to correlate with the randomly generated Class GUID for each system, as it always changes depending on NIC.
Any thoughts?
Thats for the USB controller as an example. Im trying to figure out how to apply a similar method for getting the Class GUID for the NIC to change this registry key. In bold is the NIC Class GUID.for /f %%i in ('wmic path Win32_USBController get PNPDeviceID^| findstr /l "PCI\VEN_"') do (
The NIC Class GUID can be found manually by:reg add "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\1B2AF3AC-865B-4B81-BFFA-790A51C634A6}" /v "TCPNoDelay" /t REG_DWORD /d "1" /f
Device Manager > Network adapters > Properties > Details tab
The reason for wanting this script is so the Class GUID doesnt need modified within the batch script to correlate with the randomly generated Class GUID for each system, as it always changes depending on NIC.
Any thoughts?
- Windows Build/Version
- Windows 11 27729
My Computer
At a glance
Windows 11 27965Intel i7 7700 @4.0ghz64gb DDR4Radeon RX 5500 XT
- OS
- Windows 11 27965
- Computer type
- PC/Desktop
- CPU
- Intel i7 7700 @4.0ghz
- Memory
- 64gb DDR4
- Graphics Card(s)
- Radeon RX 5500 XT
- Sound Card
- Topping D50s
- Hard Drives
- NVMe
- PSU
- Corsair
- Keyboard
- Stelseries G6v2
- Mouse
- Zowie EC2
- Other Info
- https://www.youtube.com/shoober420




