CD-ROM access

S

Steve Coleman

Hello, does anyone know how XP professional cd-rom permissions work? We are
trying to access the cd-rom drive from an ASP.NET or web service. There is
no problem when we log on with Administrator privileges and run our test
windows application. However, try to run the same code from an ASP, ASP.Net,
web service or a windows service application and XP prevents access to the
cd-rom drive. XP will only will allow access if you are logged on locally
with Administrator privileges. Even the windows service application run
under an Administrator account can't access the cd-rom. I've also tried
granting administrator rights to all the possible user accounts that IIS
uses for web processes, again with no success.



Does anyone know how to grant the appropriate permissions, hack the
registry, whatever that will allow other windows users/applications to
access the cd-rom?
 
D

Doug Knox MS-MVP

Click Start, Run and enter GPEDIT.MSC Go to:

Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options.

Look in the right pane for Devices: Restrict CD-ROM access to locally logged on users only. Set this to the opposite of what it is now.
 
S

Steve Coleman

Thanks Doug. I've tried this and it makes no difference. I've also used
impersonation to run the ASP.NET application under my admin user account.
I've confirmed, while the application is running, that it is infact running
under the admin account but still no access. Surely this must be possible?

Click Start, Run and enter GPEDIT.MSC Go to:

Computer Configuration, Windows Settings, Security Settings, Local Policies,
Security Options.

Look in the right pane for Devices: Restrict CD-ROM access to locally logged
on users only. Set this to the opposite of what it is now.
 

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