Click to Rate and Give Feedback
MSDN
MSDN Library
System Services
Device Services
Image Mastering API
Using IMAPI
 Providing User Permissions for Medi...
Providing User Permissions for Media Burning Devices

By default, both Windows Vista and Windows Server 2008 grant read/write access to administrators and users logged directly into the machine (intermediate users). However, in Windows XP and Windows Server 2003 an administrator must grant these device read/write privileges to other user groups.

An administrator may adjust specific device-related permissions for power users and interactive users.

To reach the appropriate group permissions panel in Windows XP, click Start, click Run, type gpedit.msc, and then click OK. In the Group Policy interface, expand Computer Configuration, expand Windows Settings, expand Security Settings, expand Local Policies, and double-click Security Options.

 

Bb540662.gpolpanel(en-us,VS.85).jpg

 

At this panel, an administrator must specify the settings of two device options to provide the required group permissions:

  • Set "Devices: Restrict CD-ROM access to locally logged-on user only" to Enabled
  • Set "Devices: Allowed to format and eject removable media" to Administrators and Power Users. It is also possible to emulate Windows Vista permissions by setting this option to Administrators and Interactive Users.

While a specific UI does not exist in Windows XP or Windows Server 2003 for the use of SetSecurityInfo or SetupDiSetDeviceRegistryProperty, it is possible to use these APIs to grant custom user groups device permissions. For example, a call to SetSecurityInfo will grant permissions to user groups. Permission changes with this API are temporary and will not persist across a reboot. However, calling SetupDiSetDeviceRegistryProperty will implement the permission changes in the registry, which will persist across a reboot.

See Also

Using IMAPI
SetSecurityInfo
SetupDiSetDeviceRegistryProperty

Send comments about this topic to Microsoft

Build date: 11/12/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker