top of page
sermoiparterssmira

Using Volume Id Harddiskvolume1: Tips and Tricks for Working with Volumes in Windows



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 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?




Using Volume Id Harddiskvolume1



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).


@PatrickVolumeID 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-c3d4nb. generally please ensure volume ids are indeed unique, otherwise you can expect issues.


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.


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.


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.


Your Windows instance comes with an EBS volume that serves as the root volume. If your Windows instance uses AWS PV or Citrix PV drivers, you can optionally add up to 25 volumes, making a total of 26 volumes. For more information, see Instance volume limits.


Depending on the instance type of your instance, you'll have from 0 to 24 possible instance store volumes available to the instance. To use any of the instance store volumes that are available to your instance, you must specify them when you create your AMI or launch your instance. You can also add EBS volumes when you create your AMI or launch your instance, or attach them while your instance is running. For more information, see Make an Amazon EBS volume available for use on Windows.


When you add a volume to your instance, you specify the device name that Amazon EC2 uses. For more information, see Device names on Windows instances. AWS Windows Amazon Machine Images (AMIs) contain a set of drivers that are used by Amazon EC2 to map instance store and EBS volumes to Windows disks and drive letters. If you launch an instance from a Windows AMI that uses AWS PV or Citrix PV drivers, you can use the relationships described on this page to map your Windows disks to your instance store and EBS volumes. If your Windows AMI uses Red Hat PV drivers, you can update your instance to use the Citrix drivers. For more information, see Upgrade PV drivers on Windows instances.


The following PowerShell script lists each disk and its corresponding device name and volume. It is intended for use with instances build on the Nitro System, which use NVMe EBS and instance store volumes.


With instances built on the Nitro System, EBS volumes are exposed as NVMe devices. You can use the Get-Disk command to map Windows disk numbers to EBS volume IDs. For more information, see Identify the EBS device.


Right-click the gray pane labeled Disk 1, and then select Properties. Note the value of Location and look it up in the tables in Map disk devices to device names. For example, the following disk has the location Bus Number 0, Target Id 9, LUN 0. According to the table for EBS volumes, the device name for this location is xvdj.


The following table describes how the Citrix PV and AWS PV drivers map non-NVMe instance store volumes to Windows volumes. The number of available instance store volumes is determined by the instance type. For more information, see Instance store volumes.


The device element specifies the volume that contains Windows Boot Manager. For UEFI systems, the device element for Windows Boot Manager is set to the system partition volume letter. To determine the correct volume letter, use the Diskpart tool to view the disk partitions. The following example assumes that the system has a single hard drive that has multiple partitions, including a system partition that has been assigned a drive letter of S.


If the system partition does not have an assigned drive letter, assign one by using the Diskpart assign command. The following example assumes that the system partition is volume 2 and assigns it S as the drive letter.


The path element specifies the location of the Windows Boot Manager application on that volume. For UEFI systems, path indicates the firmware boot manager, whose path is \EFI\Microsoft\Boot\Bootmgfw.efi.


The path element of a Windows boot loader specifies the location of the boot loader on that volume. For UEFI systems, path indicates the Windows boot loader for EFI, whose path is \Windows\System32\Winload.efi.


The path element specifies the location of Windows Test Manager on the volume that the device element has specified. For UEFI systems, path indicates the EFI version of the application (\EFI\Microsoft\Boot\Memtest.efi).


Problem Diagnosis1. Verify that you have a duplicate PVID on multiple disks.$ lspv orIf you know the name of an imported volume group having the problem use:$ lspv grep VGNAME


If there is no PVID in both the ODM or on disk, one can be rewritten. The VGDA of the volume group also has to be updated with this new PVID, or LVM will not know this disk belongs to the proper volume group.


This issue is finally resolved. The VM had 2 raw and unused volumes allocated to it (but drive letters were not assigned), which were though allocated on the system since long, but were giving this warning since last few days only. We made the volumes offline from disk management and warnings stopped coming in windows event log.


But in our case, the warning message has no specific drive letter or VolumeId. It just shows ": ??" after Volume Id, which is making it all the more difficult. At the same time, my SQL Server cluster has not reported any issue or error and all services/databases are working fine. The drive could be the cluster quorom disk or MSDTC drive, but it's not clear from the warning message. It's not the local volume as well, as C: drive is the only local volume of this VM and if that would be having issue, the system should throw other error as well.


The easiest way without installing anything and tinkering with Powershell scripts might be System Information Viewer a portable Windows application. This app is great because it provides nearly every information about your machine / hardware. It not only offers a read out of hard drive related data rather nearly everything about your device can be found. Moreover it's very lightweight but TBH a bit confusing structured.


Event Type: Error Event Source: VolSnap Event Category: None Event ID: 25 Description: The shadow copies of volume VolumeName were aborted because the diff area file could not grow in time. Consider reducing the IO load on this system to avoid this problem in the future.


You may also experience a problem in the Volsnap.sys driver that causes shadow copy deletion when there is a high level of input/output, especially when the disk write cache is disabled (for example, on a domain controller computer). By default, the shadow copy provider that is included in Microsoft Windows Server 2003 is used to create shadow copies for backup purposes. The shadow copies are implemented by using a copy-on-write implementation. The differences are also copied in the shadow copy storage area. In Volume Shadow Copy service, you can use the shadow copy management tool, or you can use the vssadmin command. In the original released version of Windows Server 2003, the initial shadow copy storage area that is allocated for shadow copy creation is 100 megabytes (MB). However, the actual space that is used is much smaller. As time passes, the allocated space may increase as more data is modified on the original volume. However, when you have high input/output traffic on the original volume, the shadow copy storage area cannot grow fast enough to hold all the copy-on-write changes. This causes deletion of all the shadow copies on the original volume. This problem is more noticeable in domain controller configurations. By default, the disk write cache is disabled in domain controller configurations. Important A similar problem is caused by defragmenting a volume with small cluster size, where all shadow copies are deleted, and where the event log error that is listed earlier in this article is logged. For additional information about losing shadow copies during a disk defragmentation, click the following article number to view the article in the Microsoft Knowledge Base: 2ff7e9595c


0 views0 comments

Recent Posts

See All

Comments


!
Widget Didn’t Load
Check your internet and refresh this page.
If that doesn’t work, contact us.
bottom of page