Some Windows 10 versions Network Setup Service will keep the network adapter name when a user updates the network driver.

Symptom:   When a user installs the network adapter driver, the network adapter will be assigned a name based on the device driver INF file. For example, following INF fragment will install the network adapter with a name: “Virtual Ethernet Adapter (NDIS 6.30) Version – 1”   [Standard.NTamd64] …… %NetVMini.DeviceDesc%    = NetVMini.ndi, {b85b7c50-6a01-11d2-b841-00c04fad5171}\NetVMini630 ; Toaster…

0

Troubleshoot PnP device issue through Debug Trace from PnP Manager

The PnP Manager is a key component of the Windows Kernel.There had been lots of PnP device related issues in the real world. Here weintroduce some basic Debug Traces from the PnP Manager to help narrow down aPnP device issue. These traces required to be enabled before the PnP issue isreproduced, then we can capture…

0

The Errata in Windows HLK/HCK and WLK

It had been many years when the Windows HardwareCompatibility Program and Windows Hardware Certification Program wereintroduced. Basically, partners will run a set of pre-defined test cases fromthe kit like: Windows HLK RCfor Windows 10 — http://go.microsoft.com/fwlink/p/?LinkID=404112 HCK for Windows8.1 — http://go.microsoft.com/fwlink/p/?LinkID=317577&clcid=0x409 Windows Logo Kit1.6 — https://www.microsoft.com/en-us/download/details.aspx?id=39359 However, thepartners who use the kit may find there…

1

Decode ETL file generated by Manifest-based ETW Provider from different machine

ETW is a powerful trace method in Windows platform. See following articles about the ETW: Improve Debugging And Performance Tuning With ETW https://msdn.microsoft.com/en-us/magazine/cc163437.aspx ETW (Event Tracing For Windows) – what it is and useful tools http://blogs.msdn.com/b/oanapl/archive/2009/08/05/etw-event-tracing-for-windows-what-it-is-and-useful-tools.aspx There are hundreds of inbox ETW providers installed. It became a popular method to troubleshoot Windows issues because collecting…

0

No Guarded Mutex in Win8?

As the MSDN article “Fast Mutexes and Guarded Mutexes” says, Starting with Windows 8, guarded mutexes and fast mutexes are implemented identically. If you check WDK8 header file wdm.h, KGUARDED_MUTEX equals to FAST_MUTEX: typedef struct _FAST_MUTEX {   volatile LONG Count;   PVOID Owner;   ULONG Contention;   KEVENT Event;   ULONG OldIrql;   } FAST_MUTEX, *PFAST_MUTEX, KGUARDED_MUTEX,…

0

Driver signature consideration for XP and Vista+

HCK8.0 will retire on Nov. 30. But HCK8.1 doesn’t support Vista and XP test, what should I do for XP and Vista driver signature? 1. If the driver package is uniform, refer to the following HCK newsletter: http://msdn.microsoft.com/en-us/windows/hardware/dn320463 Digital signatures available for legacy operating systems in the new Windows HCK forWindows 8.1 When you successfully complete…

0

Useful links for WDK

A Hole In My HeadDoron Holan’s musings on drivers and other nibbles and bitshttp://blogs.msdn.com/b/doronh/ Microsoft Windows USB Core Team Bloghttp://blogs.msdn.com/b/usbcoreblog/

0

Useful links for HCK

Windows Hardware Certification Kit QFE Updateshttp://msdn.microsoft.com/en-us/library/windows/hardware/dn284526.aspx Windows Hardware Certification Kit (HCK) FAQhttp://msdn.microsoft.com/en-us/library/windows/hardware/dn251523.aspx Windows Hardware Certification Requirementshttp://msdn.microsoft.com/en-us/library/windows/hardware/dn423132 HCK Product Type Test Matrixhttp://download.microsoft.com/download/2/3/6/23662F33-71E8-43C1-8547-5DE49B0374AB/windows-hck-product-type-matrix.zip

0

How to setup to collect Memory Dump?

A kernel dump gets created every time a machine has a kernel fault. This dump gets stored in the %systemroot% folder as a memory.dmp file.(Control Panel > System and Security > System > Advanced system settings > Advanced tab > Startup and Recovery Settings.) No Full Memory Dumps option? The I/O Manager originally limited the…

0

How to make a partition on a RAW USB flash disk by programming?

Briefly, here are the steps:1. Use CreateFile to open PhysicalDriveX, that is the USB Flash disk2. IOCTL_DISK_GET_DRIVE_GEOMETRY_EX to get the physical disk’s geometry ( we need some information in it to fill partition data)3. IOCTL_DISK_CREATE_DISK to creates an empty partition.4. IOCTL_DISK_SET_DRIVE_LAYOUT_EX to repartition a disk as specified.Note: use IOCTL_DISK_UPDATE_PROPERTIES to synchronize system view after IOCTL_DISK_CREATE_DISK…

0