<commit_before># Fixing Windows 10 Serial Drivers


This guide has some tips for debugging driver issues with Windows 10. There is a separate guide for [Windows 7](https://github.com/rickkas7/particle_notes/tree/master/debugging-windows-7-drivers).

## Getting Started

One common bit of confusion is that there are two different drivers used, one for normal operating mode with serial enabled and listening mode (blinking dark blue) that maps to a COM port, and a separate set of drivers for use in DFU mode (blinking yellow). It is possible for one set of drivers to work and not the other.

## COM Serial Driver

The COM port serial driver is used in normal operating mode (Serial object) and in listening mode (blinking dark blue). To check the serial drivers, open the **Device Manager**. The easiest way in Windows 10 is to type **Device** in the **Type here to search** box in the lower left corner of the screen next to the Windows button.

With a Photon or Electron (or a P1 with USB) connected, it should look like this in **Ports (COM & LPT)**.

![Device Manager](images/device-manager.png)

If you view the USB Serial Device properties:

![Device Properties](images/device-properties.png)

And the **Driver** tab in the properties:

![Driver Details](images/driver-details.png)

Note that it should be using the Microsoft Windows serial driver.

### The Old Serial Driver

It's possible to have the old serial driver installed in Windows 10. If this happens, you should manually remove it.

If the device shows up as Photon or Electron, you probably still have the old driver installed.

![Old Driver Device Manager](images/old-driver-list.png)

You can tell for sure from the **Properties** as it will list **Particle** as the **Driver Provider**.

![Old Driver Properties](images/old-driver-properties.png)

To remove the old driver, exit the Device Manager and disconnect all Particle devices from USB.

Open an Administrator Command Prompt. In the **Type here to search** box in the lower left corner of the screen next to the Windows button type **Command** (1). Right click on **Command Prompt** (2). Select **Run as administrator** (3).

![Admin Command Prompt](images/admin-command-prompt.png)

In the command prompt, enter the commands:<commit_msg>add header for remove section<commit_after># Fixing Windows 10 Serial Drivers


This guide has some tips for debugging driver issues with Windows 10. There is a separate guide for [Windows 7](https://github.com/rickkas7/particle_notes/tree/master/debugging-windows-7-drivers).

## Getting Started

One common bit of confusion is that there are two different drivers used, one for normal operating mode with serial enabled and listening mode (blinking dark blue) that maps to a COM port, and a separate set of drivers for use in DFU mode (blinking yellow). It is possible for one set of drivers to work and not the other.

## COM Serial Driver

The COM port serial driver is used in normal operating mode (Serial object) and in listening mode (blinking dark blue). To check the serial drivers, open the **Device Manager**. The easiest way in Windows 10 is to type **Device** in the **Type here to search** box in the lower left corner of the screen next to the Windows button.

With a Photon or Electron (or a P1 with USB) connected, it should look like this in **Ports (COM & LPT)**.

![Device Manager](images/device-manager.png)

If you view the USB Serial Device properties:

![Device Properties](images/device-properties.png)

And the **Driver** tab in the properties:

![Driver Details](images/driver-details.png)

Note that it should be using the Microsoft Windows serial driver.

### The Old Serial Driver

It's possible to have the old serial driver installed in Windows 10. If this happens, you should manually remove it.

If the device shows up as Photon or Electron, you probably still have the old driver installed.

![Old Driver Device Manager](images/old-driver-list.png)

You can tell for sure from the **Properties** as it will list **Particle** as the **Driver Provider**.

![Old Driver Properties](images/old-driver-properties.png)

### Removing the Old Serial Driver

To remove the old driver, exit the Device Manager and disconnect all Particle devices from USB.

Open an Administrator Command Prompt. In the **Type here to search** box in the lower left corner of the screen next to the Windows button type **Command** (1). Right click on **Command Prompt** (2). Select **Run as administrator** (3).

![Admin Command Prompt](images/admin-command-prompt.png)

In the command prompt, enter the commands:
{'fraction_non_alphanumeric': 0.07690631808278867, 'fraction_numerical': 0.006535947712418301, 'mean_word_length': 4.544685990338165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3388790', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1141, 'n_words': 672}