Posted By: mig | May 2nd, 2007 @ 12:50 AM
page 1 of 1
Comments: 7 | Views: 10514
mig
mig
Punctuality is the virtue of the bored. - Evelyn Waugh
I am writing an application that plays nice in Vista when it comes to UAC and running as a standard user, however the application needs to be able to record CDs. When testing as local admin (with UAC on), this isn't an issue, but when testing as local user (the machine is running Windows Vista and is part of a Windows 2003 domain) IMAPI is denying access to the CDRW drive.  The same thing happens in Windows Explorer; now I've read about a group policy that you can set and I've already tried it. The group policy I'm referring to can be found in: User Configuration\Administrative Templates\Windows Components\Windows Explorer\ with the name "Remove CD Burning Features", the default is "Not Configured" and I've set this to enabled and logged off and back on (I haven't restarted the machine as I'm connecting to it via Terminal Services but I guess I will give restaring a try tomorrow).  Does anyone know of a definitive way to get CD burning in Vista as a standard user, or is this a pipe dream and not possible?  Maybe the restart while setting the setting to "Disabled" will fix it, but I will have to wait until tomorrow to find out.  Otherwise if you know what I'm missing I'd appreciate it.

Edit: A restart didn't help, so I take it that policy is only for denying the use of the CD Burning ability, not granting it (by disabling).  So far my only option seems to elevate for this, but it's almost crucial that this be avoided.

Thanks.
Sven Groot
Sven Groot
My name has 9 letters. Coincidence? I think not...
Are you talking about using Vista's built-in CD burning capabilities (which I assume that policy is for) or something else?

I know that for Nero you need an application called Nero BurnRights to grant CD burning rights to limited users, both in XP and Vista. I'm not sure what it does (in terms of the settings it changes) exactly though.
The default behaviour for Vista is to allow Standard Users to write CDs. Indeed on XP a standard user should be able to burn discs unless the IMAPI service has been disabled.

I'm not sure what Nero BurnRights actually does, but I have an inkling that Nero performed lower level access to the drive. Easy CD Creator and the ISO burning powertoy always worked fine for everyone under XP.

Do you have a sample of the code you are using to burn discs that you could share?
Yggdrasil
Yggdrasil
Pour me a cab, 'cause I can't drink no more.
mig wrote:
Edit: I wonder if the IMAPI service is 'disabled' or 'disallowed' for standard users? It must be disallowed because on that same machine an administrative user gets access to IMAPI. So my question is how/where to allow it.


The IMAPI service is probably set to Manual, and only started when the burning starts. Normal users don't have permissions to start it, but admins do.

Maybe if you change it to Automatic and keep it started, it will be available to everyone. Not sure, though.
RichardRudek
RichardRudek
So what do you expect for nothin'... :P
Yes, as far as I'm aware, Domain policies always override local policies.

Anyway, have you tried checking using [AccessChk] ?

eg:
C:\Program Files\SysInternals>accesschk Richard -cw imapi

AccessChk v3.0 - Check access of files, registry keys, processes or services
Copyright (C) 2006-2007 Mark Russinovich
Sysinternals - www.sysinternals.com

RW imapi

Did you ever find a solution (to enable IMAPI use for standard users?)  I'm having the same problem on Windows Server 2008.  In my test setup, I'm the domain administrator, and I've configured the group policy according to http://msdn.microsoft.com/en-us/library/bb540662(VS.85).aspx

After configuring the group policy as directed, I'm still not able to get IMAPI to work (IDiscMaster.EnumDiscRecorders returns an empty list) while running as a standard user.  When I'm logged in as an administrator, I can see the DiscRecorder device through IMAPI.

Here's a nice simple CD Burning app which provides a repro case for this problem:
http://www.codeproject.com/KB/winsdk/CD_Burner.aspx

Run it as an adminstrator - see the DVD burner.  Run it as a standard user - no DVD burner.
page 1 of 1
Comments: 7 | Views: 10514
Microsoft Communities