Windows 2003 Server SCSI device access
PC Hardware Forum Index PC Hardware
Dicussion of PC hardware and peripherals
 
 FAQFAQ   MemberlistMemberlist    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web hwtalk.net
Windows 2003 Server SCSI device access

 
Post new topic   Reply to topic    PC Hardware Forum Index -> SCSI
Author Message
Chris West
Guest





Posted: Thu Oct 07, 2004 7:02 pm    Post subject: Windows 2003 Server SCSI device access Reply with quote

Hi,

I'm having problems accessing a SCSI device under Windows 2003 Server as a
non administrator user.

I'm using:

CreateFile( \\Scsi0:, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ |
FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0 )

This works OK on NT, 2000, XP and also on 2003 for a user who is a member of
the Administrators group, however it fails for Backup Operators.

Any ideas how I can get this to work for Backup Operators users?
Back to top
Eric Gisin
Guest





Posted: Thu Oct 07, 2004 8:21 pm    Post subject: Re: Windows 2003 Server SCSI device access Reply with quote

If it is a disk you can just open \\.\physicaldrive#. Disks permissions are
limited to Administators either way.

If you disable the disk device, you can access it through SPTI using SCSI#:,
however that is a bug.

"Chris West" <chrisw@N05PAMTHANKY0Ucristie.com> wrote in message
news:10mamjd8khlvtc5@corp.supernews.com...
Quote:
Hi,

I'm having problems accessing a SCSI device under Windows 2003 Server as a
non administrator user.

I'm using:

CreateFile( \\Scsi0:, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ |
FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0 )

This works OK on NT, 2000, XP and also on 2003 for a user who is a member of
the Administrators group, however it fails for Backup Operators.

Any ideas how I can get this to work for Backup Operators users?


Back to top
Chris West
Guest





Posted: Fri Oct 08, 2004 11:46 am    Post subject: Re: Windows 2003 Server SCSI device access Reply with quote

Quote:
"Chris West" <chrisw@N05PAMTHANKY0Ucristie.com> wrote in message
news:10mamjd8khlvtc5@corp.supernews.com...
Hi,

I'm having problems accessing a SCSI device under Windows 2003 Server as
a
non administrator user.

I'm using:

CreateFile( \\Scsi0:, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ |
FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0 )

This works OK on NT, 2000, XP and also on 2003 for a user who is a
member of
the Administrators group, however it fails for Backup Operators.

Any ideas how I can get this to work for Backup Operators users?

"Eric Gisin" <ericgisin@graffiti.net> wrote in message
news:ck3tqh0gh5@enews1.newsguy.com...
Quote:
If it is a disk you can just open \\.\physicaldrive#. Disks permissions
are
limited to Administators either way.

If you disable the disk device, you can access it through SPTI using
SCSI#:,
however that is a bug.


This is a tape or robotic device I'm trying to access, however I want to
construct my own SCSI commands so don't want to use the \\.\Tape0 interface.

There was a typo in my original post, I meant to say \\.\Scsi0
Back to top
Rob Turk
Guest





Posted: Fri Oct 08, 2004 2:26 pm    Post subject: Re: Windows 2003 Server SCSI device access Reply with quote

"Chris West" <chrisw@N05PAMTHANKY0Ucristie.com> wrote in message
news:10mchf5qtd1jqb0@corp.supernews.com...
Quote:

This is a tape or robotic device I'm trying to access, however I want to
construct my own SCSI commands so don't want to use the \\.\Tape0
interface.

There was a typo in my original post, I meant to say \\.\Scsi0


There's no reason why you can not send your own commands to \\.\Tape0:
Read about DeviceIoControl() and IOCTL_SCSI_PASS_THROUGH_DIRECT

Check the SPTI example in your Windows DDK, it shows how to construct the
command.

Rob
Back to top
 
Post new topic   Reply to topic    PC Hardware Forum Index -> SCSI All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Electronics VoIP DSP
New Topics php BB