• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Common problems for Battery
We would like to share some of the most frequently asked questions about: Battery Reports, Hold a charge, Test and Calibrating Battery . Check out this link: Is your notebook plugged in and not charging?
HP Recommended
HP ProBook 450 G4 Notebook PC
Microsoft Windows 10 (64-bit)

Will diskpart clean set a new uniqueid on the selected disk?

A have a SSD in an external cabinet (USB-C) and when connecting it shows Status Offline (signature collision)

How can I set a new uniqueid  -  how do I select a new id ?  (at random?)

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

@TheMonk-1,

 

Welcome to our HP Community forum!

 

Yes, using diskpart clean will remove the existing partition table, including the disk signature (unique ID), but it does not automatically generate a new one until a partition is created and formatted.

 

Steps to Set a New UniqueID:

 

Option 1: Using diskpart

 

  1. Open Command Prompt as Administrator

    • Press Win + X and select Command Prompt (Admin) or PowerShell (Admin).

  2. Run diskpart

    • Type: diskpart and press Enter.

  3. List available disks

    • Type: list disk and press Enter.

  4. Select the affected disk

    • Type: select disk X (replace X with the correct disk number) and press Enter.

  5. Clean the disk (optional, but will remove all data)

    • Type: clean and press Enter.

  6. Assign a new UniqueID (random or specific)

    • To generate a random ID:

      • Type: uniqueid disk and press Enter (Windows will assign a new random ID).

    • To set a specific ID:

      • Type: uniqueid disk ID=<NewHexID> (e.g., uniqueid disk ID=12345678) and press Enter.

  7. Exit diskpart

    • Type: exit and press Enter.

  8. Reconnect the SSD

    • Safely remove the external drive, unplug it, then reconnect it.

 

Alternative: Using Disk Management:

 

  1. Press Win + X → Select Disk Management.

  2. Locate the Offline disk.

  3. Right-click it and choose Online (this may auto-generate a new ID).

  4. If it still shows a signature collision:

    • Right-click the disk and choose Initialize (WARNING: This erases data).

    • Format the disk to apply changes.

 

This ought to resolve the issue. Let me know if you need further clarification!

 

Kind Regards,

 

NonSequitur777


View solution in original post

1 REPLY 1
HP Recommended

@TheMonk-1,

 

Welcome to our HP Community forum!

 

Yes, using diskpart clean will remove the existing partition table, including the disk signature (unique ID), but it does not automatically generate a new one until a partition is created and formatted.

 

Steps to Set a New UniqueID:

 

Option 1: Using diskpart

 

  1. Open Command Prompt as Administrator

    • Press Win + X and select Command Prompt (Admin) or PowerShell (Admin).

  2. Run diskpart

    • Type: diskpart and press Enter.

  3. List available disks

    • Type: list disk and press Enter.

  4. Select the affected disk

    • Type: select disk X (replace X with the correct disk number) and press Enter.

  5. Clean the disk (optional, but will remove all data)

    • Type: clean and press Enter.

  6. Assign a new UniqueID (random or specific)

    • To generate a random ID:

      • Type: uniqueid disk and press Enter (Windows will assign a new random ID).

    • To set a specific ID:

      • Type: uniqueid disk ID=<NewHexID> (e.g., uniqueid disk ID=12345678) and press Enter.

  7. Exit diskpart

    • Type: exit and press Enter.

  8. Reconnect the SSD

    • Safely remove the external drive, unplug it, then reconnect it.

 

Alternative: Using Disk Management:

 

  1. Press Win + X → Select Disk Management.

  2. Locate the Offline disk.

  3. Right-click it and choose Online (this may auto-generate a new ID).

  4. If it still shows a signature collision:

    • Right-click the disk and choose Initialize (WARNING: This erases data).

    • Format the disk to apply changes.

 

This ought to resolve the issue. Let me know if you need further clarification!

 

Kind Regards,

 

NonSequitur777


† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.