Change Usb Serial Number

admin
Change Usb Serial Number Average ratng: 9,3/10 744 votes

To change the USB descriptors and add a USB serial number, you would have to modify the firmware of the USB stick. It's unlikely that the procedure for writing to it would be documented, or that the firmware itself would be available in source form. Writing the serial number to the filesystem however means that once the drive is filled up the every copy of the serial number will be overwritten. My latest idea is to partition the drive to leave 1 MB of unpartitioned empty space so I can store the serial number there. The USB Serial Port (COMX) is in the Ports section To change the Port number right-click the USB Serial Device and select Properies: 3: Select the 'Port Settings' Tab and click 'Advanced' You do not have to change any parameter. 4: Now you can select the Port Number you like to use. Do not change any of the other parameters. 6 Search for Parameter: “SACOM” = COM1 or USB if connected USB. 7 If incorrect select “3” to edit. To change values, press the “clear” button (yellow key), and then enter USB or COM1 (to change to “alpha” select number then alpha key until correct letter is displayed) then press “Enter”. Convert an USB serial number into a OpenOCD comatible format - redheads/openocdser.

-->

This topic describes the device-specific registry entries.

Find device information after it enumerates on Windows

View the device interface GUID, Hardware Id, and device class information about your device

  1. Find this registry key and note the DeviceInstance value:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlDeviceClasses

  2. Find the device instance registry key and get the device interface GUID:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSB<hardware id><instance id>Device Parameters

  3. Under the device instance key, note the device class, subclass, and protocol codes:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSB

Registry settings for configuring USB driver stack behavior

The registry entries described in this topic are found under this key:

In the vvvvpppprrrrr key,

  • vvvv is a 4-digit hexadecimal number that identifies the vendor
  • pppp is a 4-digit hexadecimal number that identifies the product
  • rrrr is a 4-digit hexadecimal number that contains the revision number of the device.

The vendor ID, product ID, and revision number values are obtained from the USB device descriptor.The following table describes the possible registry entries for the vvvvpppprrrrr key. The USB driver stack considers these entries as read-only values.

Registry entryDescriptionPossible values

osvc

REG_BINARY

Supported on Windows XP and later versions.

Indicates whether the operating system queried the device for Microsoft-Defined USB Descriptors. If the previously-attempted OS descriptor query was successful, the value contains the vendor code from the OS string descriptor.

  • 0x0000: The device did not provide a valid response to the Microsoft OS string descriptor request.

  • 0x01xx: The device provided a valid response to the Microsoft OS string descriptor request, where xx is the bVendorCode contained in the response.

IgnoreHWSerNum

REG_BINARY

Supported on Windows Vista and later versions.

Indicates whether the USB driver stack must ignore the serial number of the device.

  • 0x00: The setting is disabled.

  • 0x01: Forces the USB driver stack to ignore the serial number of the device. Therefore, the device instance is tied to the port to which the device is attached.

ResetOnResume

REG_BINARY

Supported on Windows Vista and later versions.

Indicates whether the USB driver stack must reset the device when the port resumes from a sleep cycle.

  • 0x0000: The setting is disabled.

  • 0x0001: Forces the USB driver stack to reset a device on port resume.

Related topics

Last updated on March 3rd, 2016

The Volume Serial Number (also known as VSN) is a unique serial number that is assigned to an optical disk (CD or DVD) or a hard drive after formatting. The Volume Serial Number was added by Microsoft and IBM so that the operating system could recognize if an optical disk or a drive is changed on the system. By that time the only way to determine this, was the volume label (Volume Name) that the user defined to each storage disk. But that way, there was a problem if a user gave the same (Volume) name to two (or more) disks. To bypass this problem, Microsoft and IBM decided to assign a new unique number in hexadecimal form (called 'Volume Serial Number' or 'Volume ID' or 'VSN') when a drive (optical disk or hard drive) was formatted.

In simple words, the Volume Serial Number indicates the exact time {Date, Month, Year & Time (Hour, Minute & Second)} of format operation. The VSN is changed anytime you format the disk, so if you re-install Windows and you format the system disk, Windows will ask again for activation.

Taking advantage of VSN, some software vendors use the Volume Serial Number to avoid pirate copying of their products. This means that software from these vendors can not run if the Volume Serial Number is different from the VSN of the product's original optical disk that was shipped or of the hard drive that the software was first installed. Also this technique was previously used by multiplayer game vendors to ban the gamers that tried to cheat. Nowadays, this method is useless because the game or software vendors now use the hardcoded serial number (HDD Manufacture's S/N that is embedded into the firmware) to identify (ban) cheaters or they ban the CD key.

In this article you will find detailed instructions on how to change the hard drive's Volume Serial Number (aka Volume ID or VSN).

How to change HDD Volume Serial Number (VolumeID).

Option 1: Using Sysinternals VolumeID changer.

VolumeID by Mark Russinovich, is another freeware tool that helps you to change the Volume IDs of drives from command line window.

1. Download VolumeID.

2. Extract 'volumeid.zip' file contents and move the extracted files ('Volumeid.exe' & 'Eula.txt') to the root of C: drive.

Change Usb Serial Number

3. Open an elevated command prompt. To do that:

In Windows 7, Vista & XP: 1. Go to Start > All Programs. 2. Click to expand Accessories. 2. Right click on Command Prompt and choose “Run as administrator

In Windows 8

Right-click at the screen's bottom-left corner and from the pop-up menu, choose “Command Prompt (Admin)”.

4. Let's say that we want to change the Volume serial number of the system drive C:.

Inside the command prompt window, type the following command to see the current Volume Serial Number of C: drive

vol

4a. The 'vol' command should return the Volume Serial Number. In this example the VSN is '94F8-9C08'.

– To change the current VSN –

5. Navigate to the root folder of Disk C: (where 'volumeid.exe' is located/saved) and type the following command:

volumeid <driveletter:> xxxx-xxxx

* As <driveletter:> : type the drive of the disk (drive or volume) that we want to change the VSN ('C:').

** As xxxx-xxxx : type the new Volume Serial Number (e.g. 74F8-9C08).

In this example I want to change the VSN of disk C: and I have changed only one character (the first) of the old VSN to specify the new one. So the full command should be:

volumeid c: 74F8-9C08

5. When 'volumeid' command updates the Volume ID of your drive, close the command prompt window and restart your computer.

Option 2: Using Hard Disk Serial Number Changer.

Update: The download link is not working anymore (removed).

The second free tool you can use to change the Volume Serial Number is called Hard Disk Serial Number Changer. The program can change only the HDD's Volume Serial Number and not the Hardcoded Serial Number.

1. Download Hard Disk Serial Number Changer.

2. Right-click at HardDiskSerialNumberChanger.exe & select Run as Administrator.

3. Accept the UAC warning message.

4. Choose the disk that you want to change the Serial Number. (e.g. 'C:').

Change Usb Serial Number

5. Type the new serial number at this form XXXX-XXXX.

6. Press Change.

7. Click Yes and reboot your computer.

That's it!

Change Usb Serial Port Number

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free:

Usb Drive Change Serial Number

If you want to stay constantly protected from malware threats, existing and future ones, we recommend that you install Malwarebytes Anti-Malware PRO by clicking below (we do earn a commision from sales generated from this link, but at no additional cost to you. We have experience with this software and we recommend it because it is helpful and useful):

Full household PC Protection - Protect up to 3 PCs with NEW Malwarebytes Anti-Malware Premium!