How to detect if user has access right to CD in program

  • Thread starter Thread starter david
  • Start date Start date
D

david

Hi,

I am using WinXP. But CD/DVD access is not possible for
user with non-administrative right. I have to have system
administrator manually grant CD access right to non-
administrator users.

My question is: can I detect if user has the right to CD
in my own program? If yes, can I set the right
automatically in my own program? And it will ge great if
you can give me details on how to do that.

Thank you very much!
 
Hi David,

The setting is here:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AllocateCDRoms"="0"

/top10faqs.htm
 

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

Back
Top