Unable to access Service Control Manager

Discussion in 'Windows Vista Security' started by Robert Tonsing, Jun 2, 2006.

  1. Hi,

    I am using standard Visual Studio 2005 deployment to install an application,
    and have a custom action that installs a device driver using the Service
    Control Manager. However, on Vista (beta 2) I get an "access denied" error
    when I call OpenSCManager, even though I allowed access in the UAC prompt.

    The installation works fine in XP, and in Vista with UAP disabled.

    Do I need to do something special to install a device driver?
    Robert Tonsing, Jun 2, 2006
    1. Advertisements

  2. Nah - just keep UAC disabled :eek:)

    Zack Whittaker
    » ZackNET Enterprises: www.zacknet.co.uk
    » MSBlog on ResDev: www.msblog.org
    » Vista Knowledge Base: www.vistabase.co.uk
    » This mailing is provided "as is" with no warranties, and confers no
    rights. All opinions expressed are those of myself unless stated so, and not
    of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
    that up!

    --: Original message follows :--
    Zack Whittaker, Jun 2, 2006
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.