Changing Volume Serial Numbers (not Volume Label)

B

brad

Hi Everyone,

I want to be able to change Volume Serial Numbers from within a program. I
know about Mark Russinovich's VOLUMEID.EXE utility from his sysinternals.com
website, but I'm trying to figure out how to do it in code. Also, I'd like
to be able to do it on Win9x as well as Win2k/XP.

I have been able to track down FSCTL_GET_NTFS_VOLUME_DATA for retrieving NT
volume serial numbers via DeviceIOControl, but I'm looking for a way to
change the Volume ID, i.e. rewrite this data. There must be a way, but it
appears to be undocumented.

Does anyone know how to do this?

Thanks,
Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top