Skip to content


  1. David J
    February 24, 2022 @ 5:03 pm

    Thanks it work for me!!
    just had to run it as an Administrator.


  2. Pegaso
    September 5, 2020 @ 8:54 am

    Not work starting windows 10 2004 version … no one program work more about volume id changing. Some one have info about ?


  3. Jeff
    January 30, 2020 @ 7:22 am

    Thank you – this saved me! Duped my system to new drives, and didn't realize they got different IDs until a program wasn't recognizing music I already had imported!


  4. Paul A
    December 24, 2018 @ 5:21 pm

    In windows 10 (Oct 2018) I get "The parameter is incorrect" when trying to change the VolumeID of the C: drive using the SysInternals volumeid.exe. Also the Hard Disk Serial Number Changer fails with the error "Unable to write to this disk in drive". Any ideas how I can change the volumeID?
    Just for info, I have tried this with Windows10 VM running under Fusion on Mac OS, ands also with Win10 installed on a BOOTCAMP partition on Mac also. No joy with either. Windows is installed under EFI setup, so GPT volume. Not sure if this is the cause?


    • lakonst
      January 14, 2019 @ 9:56 am

      I Have tried the procedure in Windows 10 v1809 VM (VirtualBox) with UEFI setup (& GPT Volume) and it worked.


  5. Lissele
    December 10, 2018 @ 6:52 pm

    C:\volumeid>volumeid c: 3673-8729

    VolumeId v2.1 – Set disk volume id
    Copyright (C) 1997-2016 Mark Russinovich
    Sysinternals –

    Error opening drive: Acesso negado.



    • lakonst
      January 14, 2019 @ 9:57 am

      @Lissele: Run the command as Administrator.


      • Adam
        April 15, 2019 @ 6:56 pm

        Program on disk C.
        CMD Run administrator.
        cd c:\
        Volumeid.exe C: 1234-5678
        C: 1234-5678 -Disk and new number
        Reading the number.
        C:\Windows\System32\cmd.exe As a file .bat
        Running on a changed drive.
        Write in.


        • lakonst
          April 16, 2019 @ 11:30 am

          @Adam: ???


  6. Irwin Gretczko
    November 18, 2018 @ 10:37 pm

    Does not work in windows 10 – gets error message "unable to write to disk in drive"


  7. Soyoung
    November 9, 2017 @ 8:27 pm

    Oh this is incredibly kind guide I have ever found today. Thank you so much.
    But unfortunately, this doesn't work for the number of the Sandisk I have.. I think it is the product issue.. because the micro SD which is from Samsung works fine with both ways(volumeID and Hard Disk Serial Number Changer).

    If sanddisk's volume ID would be changed in this way, my job for this week would be a lot more easier..
    but the reality is…. OTL…

    Anyone who can rescue me?


  8. Patrick
    September 15, 2017 @ 2:41 am

    I can't get to the C:\VolumeID> prompt. When I enter "VolumeID" I get:

    VolumeId v2.1 – set disk volume id
    Copyright (C) 1997-2016 Mark Russinovich
    Sysinternals –
    usage: volumeid [drive:] [Id]
    -nobanner Do not display the startup banner and copyright message.
    Id must be in the following hexadecimal format: xxxx-xxxx
    Note: new NTFS volume ids will not appear in directory listings until after the next reboot.


    In other words, I get the info above, and then it's right back to the C:\> prompt.

    I'm running 64bit Windows 7 Home Premium, Service Pack 1



    • Mac
      December 16, 2017 @ 5:46 am

      VolumeID doesn't have any prompt of it's own in the way that tools like diskpart does, all the input to the command must be given along with the tool name on the command line, as the usage: help indicates, so for example you could type:
      volumeid e: a1b2-c3d4
      nb. generally please ensure volume ids are indeed unique, otherwise you can expect issues.


  9. Menard
    September 2, 2017 @ 1:06 pm

    It would be better to point out that the volume serial number is a general identifyer for all volumes, not only for a disk and that what you are talking about here, is only the volume serial number of the first volume (partition) of a disk.

    So I noticed a strange fact : I had a GRUB first volume with VSN 080A-5579 so 1 year after, I find E80A-5579 … I do not remember having formated it between. I only restored this partition with Back up files made with Clonezilla Live in default mode.
    The 2 numbers differ by only one character … ??? very non usual


  10. Brandon Lee
    April 22, 2017 @ 5:29 am

    I had changed my serial id on Windows 10.
    After doing so I cannot play media such as YouTube.
    Any help will be appreciated.
    (Note: I run Windows 10 64-bit)


    • lakonst
      April 22, 2017 @ 7:51 am

      @Brandon Lee: I have not addressed this problem and I can not imagine why this happens. I suggest you to perform a repair/upgrade of Win10.


  11. Magnificus
    August 31, 2016 @ 9:13 pm

    Perfect guide!!!! you help me a lot! thank you!!!!!


  12. Rick
    July 13, 2016 @ 6:03 pm


    Thank you for listing the recent addition to diskpart. I use the tool as part of my job and had never played with that feature. Unfortunately I think that is a different ID than what people here are talking about. If you type 'vol c:' at a command prompt you will see a Serial number that is unrelated to the uniqueid. One of the giveaways is that each partition has an ID, but uniqueid only deals with a disk (that may contain several partitions). I believe the number being discussed here lives in the VBR.


  13. JimH
    June 1, 2016 @ 7:20 am

    I found a more reliable solution. It works with Windows 7 & 8 (and probably 10). It uses a command that comes with Windows, and therefore does not require downloading anything. As you will see, though, there are more steps involved, but it worked for me when volumeid did not.

    How to Fix the Disk Signature Collision Problem in Windows 7 & 8
    Windows 7 & 8 come with a command line utility called diskpart that can let you view and change the disk signature.

    1) Open a command prompt as administrator.
    2) Type "diskpart" (without the quotes)
    3) Microsoft DiskPart will start. When it is ready, it will issue a "DISKPART>" prompt, allowing you to enter your commands.
    4) Type "list disk"
    This will list all the disks that are currently mounted (connected to the system).
    The disk will not have the usual names and labels that you're accustomed to from
    the Windows Explorer interface, so you will have to recognize them by their sizes.

    Note that "list disk" actually lists the physical disks, and not the partitions that
    you may have assigned drive letters. This means that if you have 2 physical disks,
    with 3 partitions on each, so that you have drives C:, D:, E:, F:, G: and H:,
    "list disk" will only show "Disk 0" and "Disk 1".
    5) Type "select disk x" (without the quotes) where x is the number of the disk from your "list disk" display.
    6) When you type (say) "select disk 1", DiskPart will respond by telling you "Disk 1 is now the selected disk".
    7) Type "uniqueid disk". DiskPart will respond with the disk's signature, a series of hexadecimal digits
    8) Type "uniqueid disk ID=[NEW SIGNATURE]" where "[NEW SIGNATURE]" stands for the new identifier you want for the disk
    9) Quit DiskPart by typing "exit".
    10) Type "exit" again to quit the Administrator Command Prompt.


    • eran
      April 24, 2017 @ 10:57 pm

      DO NOT DO THIS!!!
      You won't be able to start the computer afterwards!!!


    • Somchai
      December 2, 2017 @ 9:43 am

      uniqueid is not volume serial ID.


  14. JimH
    June 1, 2016 @ 12:05 am

    I have tried this with Win 8.1 on three WD external hard drives. I type in the following command:

    volumeid e: 1234-5678

    In each case, I get the following error.

    Error reading drive: The parameter is incorrect.


    • JimH
      June 1, 2016 @ 12:18 am

      I forgot to mention that all three drives have been scanned and no errors were detected. All three drives seem to function just fine – as long as only one of the three are connected. All three drives have identical Volume Serial Numbers.

      I have two USB ports, and if I connect any two of these drives, the system recognizes only one of them.

      I have a fourth external drive that has a unique serial number. I can connect this drive and any of the other three at the same time with no problem whatsoever.


  15. Jim
    January 9, 2016 @ 11:03 pm

    I have used VolumeID with Windows XP and it worked great.
    Any problems using VolumeID with preinstalled Windows 10? (product key issues?)


  16. saurabh gaur
    August 16, 2015 @ 9:37 am

    hello sir,
    My name is saurabh gaur and i face the problem when i changed my serial number i got a message that is volumeid is not recognized as an internal or external command, operable program or batch file.
    Please tell me what can i do for change my serial number.
    please send me the solution ASAP!
    Thanking you.


    • lakonst
      August 16, 2015 @ 1:10 pm

      @saurabh gaur: The volumeid command works like a charm. Follow the instructions exactly as written.


  17. David Harris
    April 27, 2015 @ 12:53 am

    Thank-you! Last tidbit from here on how to run the command prompt as Administrator in Windows 8 finally got my Adobe Photoshop Elements working correctly. Breaking a Raid array left me with 2 hard drives with the same volume ID, so Photoshop Elements lost 1/2 of them immediately upon import. I could not get VolumeID by Mark Russinovich to work – access denied.


Leave a Reply

Your email address will not be published. Required fields are marked *