Volume serial number

Hi all…

How can I retrieve the volume serial number from a HDD in kernel mode?
Searching for a simulair GetVolumeInformation command.

Regards
Daniel

NtQueryVolumeInformationFile

=====================
Mark Roddy

-----Original Message-----
From: Daniel ?berg [mailto:xxxxx@safeit.com]
Sent: Friday, February 06, 2004 3:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Volume serial number

Hi all…

How can I retrieve the volume serial number from a HDD in kernel mode?
Searching for a simulair GetVolumeInformation command.

Regards
Daniel


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as:
xxxxx@stratus.com To unsubscribe send a blank email to
xxxxx@lists.osr.com

May be ZwQueryVolumeInformationFile will help?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Daniel ?berg
Sent: Friday, February 06, 2004 3:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Volume serial number

Hi all…

How can I retrieve the volume serial number from a HDD in kernel mode?
Searching for a simulair GetVolumeInformation command.

Regards
Daniel


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@criticalsites.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Could not see any information about the volume serial number.
Am I missing something?

Daniel

----- Original Message -----
From: “Kohli, Naveen”
To: “Windows System Software Devs Interest List”
Sent: Friday, February 06, 2004 3:37 PM
Subject: RE: [ntdev] Volume serial number

May be ZwQueryVolumeInformationFile will help?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Öberg
Sent: Friday, February 06, 2004 3:47 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Volume serial number

Hi all…

How can I retrieve the volume serial number from a HDD in kernel mode?
Searching for a simulair GetVolumeInformation command.

Regards
Daniel


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@criticalsites.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@safeit.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

If you set FsInformationClass parameter to FileFsVolumeInformation then this
function returns FILE_FS_VOLUME_INFORMATION structure that contains volume
serial number.

Alexei.

“Daniel Öberg” wrote in message news:xxxxx@ntdev…
> Could not see any information about the volume serial number.
> Am I missing something?
>
> Daniel
>
> ----- Original Message -----
> From: “Kohli, Naveen”
> To: “Windows System Software Devs Interest List”
> Sent: Friday, February 06, 2004 3:37 PM
> Subject: RE: [ntdev] Volume serial number
>
>
> May be ZwQueryVolumeInformationFile will help?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Öberg
> Sent: Friday, February 06, 2004 3:47 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Volume serial number
>
> Hi all…
>
> How can I retrieve the volume serial number from a HDD in kernel mode?
> Searching for a simulair GetVolumeInformation command.
>
> Regards
> Daniel
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@criticalsites.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@safeit.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

Thanks for the tip!

But that sounds like a file system command, and unfortunately I’m not using
IFS. Do you know any other command outside the IFS?

Daniel

----- Original Message -----
From: “Alexei Jelvis”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Tuesday, February 10, 2004 5:04 AM
Subject: Re:[ntdev] Volume serial number

> If you set FsInformationClass parameter to FileFsVolumeInformation then
this
> function returns FILE_FS_VOLUME_INFORMATION structure that contains volume
> serial number.
>
> Alexei.
>
> “Daniel Öberg” wrote in message news:xxxxx@ntdev…
> > Could not see any information about the volume serial number.
> > Am I missing something?
> >
> > Daniel
> >
> > ----- Original Message -----
> > From: “Kohli, Naveen”
> > To: “Windows System Software Devs Interest List”
> > Sent: Friday, February 06, 2004 3:37 PM
> > Subject: RE: [ntdev] Volume serial number
> >
> >
> > May be ZwQueryVolumeInformationFile will help?
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Daniel Öberg
> > Sent: Friday, February 06, 2004 3:47 AM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] Volume serial number
> >
> > Hi all…
> >
> > How can I retrieve the volume serial number from a HDD in kernel mode?
> > Searching for a simulair GetVolumeInformation command.
> >
> > Regards
> > Daniel
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@criticalsites.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@safeit.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@safeit.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Why would there be? It is a file system attribute and not a hardware
attribute.

“Daniel Öberg” wrote in message news:xxxxx@ntdev…
> Thanks for the tip!
>
> But that sounds like a file system command, and unfortunately I’m not
using
> IFS. Do you know any other command outside the IFS?
>
> Daniel
>
> ----- Original Message -----
> From: “Alexei Jelvis”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Tuesday, February 10, 2004 5:04 AM
> Subject: Re:[ntdev] Volume serial number
>
>
> > If you set FsInformationClass parameter to FileFsVolumeInformation
then
> this
> > function returns FILE_FS_VOLUME_INFORMATION structure that contains
volume
> > serial number.
> >
> > Alexei.
> >
> > “Daniel Öberg” wrote in message
news:xxxxx@ntdev…
> > > Could not see any information about the volume serial number.
> > > Am I missing something?
> > >
> > > Daniel
> > >
> > > ----- Original Message -----
> > > From: “Kohli, Naveen”
> > > To: “Windows System Software Devs Interest List”

> > > Sent: Friday, February 06, 2004 3:37 PM
> > > Subject: RE: [ntdev] Volume serial number
> > >
> > >
> > > May be ZwQueryVolumeInformationFile will help?
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On Behalf Of Daniel
Öberg
> > > Sent: Friday, February 06, 2004 3:47 AM
> > > To: Windows System Software Devs Interest List
> > > Subject: [ntdev] Volume serial number
> > >
> > > Hi all…
> > >
> > > How can I retrieve the volume serial number from a HDD in kernel
mode?
> > > Searching for a simulair GetVolumeInformation command.
> > >
> > > Regards
> > > Daniel
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@criticalsites.com
> > > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@safeit.com
> > > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> > >
> > >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@safeit.com
> > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> >
>
>