Re: CreateVssBackupComponents access denied ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



<Mark> Have you been able to create a shadow copy while running as a standard
user on Vista when UAC is
turned on?
<IEURO> No, it's impossible to run as a standard user on Vista.

I has the same program like your before. At this moment, my program can
support backup and restore snapshot operation on Windows Vista.

You can read this artical in codeproject "Making Your Application UAC Aware"
(http://www.codeproject.com/vista-security/MakingAppsUACAware.asp) . It's
very helpful for requesting administrative permission.



"Mark Beiley" wrote:

Thank you. I tried this before, but it didn't change the result. If I call
CreateVssBackupComponents() as a user with a standard token, it returns
access denied. It works fine when I run the program as an administrator. I
notice in your other thread you are using VSS also. Have you been able to
create a shadow copy while running as a standard user on Vista when UAC is
turned on?


Thanks,
Mark
--
Beiley Software
http://www.beiley.com





"IEURO" <IEURO@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8407F3E6-E256-443C-93C7-01839BFEF336@xxxxxxxxxxxxxxxx
You need to enable the backup privilege when doing backup operation.
Therefore, it also need to enable restore privilege when doing restore
operation. You can read the "Setting the Backup and Restore Privileges"
artical in http://msdn2.microsoft.com/en-us/library/Aa387705.aspx .



"Mark Beiley" wrote:

I'm using VSS, and when I call CreateVssBackupComponents() under Vista
with
UAC turned on, I get an access denied error. MSDN just says this about
this
error:

"The caller does not have sufficient backup privileges or is not an
administrator."

Is my only option to run my application as an administrator? My
application
is currently manifested just as a standard user (asInvoker). What are
the
"sufficient backup privileges"? Is there any way to use
CreateVssBackupComponents() as a standard user?


Thanks,
Mark
--
Beiley Software
http://www.beiley.com






.



Relevant Pages

  • Re: turn off user account control
    ... Programmers still ignore the standard. ... compliance on the MS O/S platform and their software with Vista. ... UAC may work to prevent alteration of ... The typical home consumer (Note: This is not an employee workstation ...
    (microsoft.public.windows.vista.security)
  • Re: A cable test on Stereo Net Australia.
    ... "The Mark II version of the Elixir and Phrygian IC's are a refreshing lift ... over the Standard Version. ... cables that venture on the cool side become sterile and clinical and lack ... So if you can't get the review you want, from the people that have had ...
    (rec.audio.tubes)
  • 7867 Linger St
    ... For Mark the manufacturer's better, in conjunction with me it's ... whereas apart from you it's comparing poor. ... Imran, still varying, imposes almost really, as the standard ...
    (sci.crypt)
  • Re: Can Vista be "locked down" ?
    ... supplied by Vista. ... "Administrators group-Members of this group run as standard ... they require access to an administrator password to do ... instead of IE - it's much more secure. ...
    (microsoft.public.windows.vista.general)
  • Re: MSs Vista majorly embarrassed in Public!
    ... chose to bless us with the following wisdom: ... Is that an app running on Vista? ... You just can't give up your double standard can you? ... Here's a fact for you - For years Maccies hooted that to have a secure ...
    (comp.sys.mac.advocacy)