Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6058017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:33:08+00:00 2026-05-23T08:33:08+00:00

This thing has given me a really bad headache. I’m trying to load a

  • 0

This thing has given me a really bad headache.

I’m trying to load a driver into a process using CreateService and SERVICE_ALL_ACCESS everything appears to be fine until I actually try and start the service using StartService it always fails with the ERROR_ACCESS_DENIED I’m running as administrator, I’ve baked a manifest into the app, I’ve tried the security attributes, it just wont work.

If anyone have any advice on how to debug this, I’m all ears…

I’m using a Windows 7 x64 SP1 installation, the latest DDK and if there was a problem with the driver itself I would get some other problem, right? not just, access denied?

Something I’m debating but having trouble testing is if there are any user-mode/kernel-mode security consideration that I’m not handling. All this code is running in the same elevated process, yet, it will not work!

Can the driver in some way cause this error to happen?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:33:08+00:00Added an answer on May 23, 2026 at 8:33 am

    Oh the horror, I should have seen this earlier, anyway, the error code from a call done in the driver was being propagated through the create service call. This return value just happened to be the same as the ERROR_ACCESS_DENIED but actually had to do with the driver not being properly signed.

    This page explains what you need to do to be able to call certain functions within your driver.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am planning on using delayed job to run some background analytics. In my
I am developing an application using the wrong tools. I don't wish to get
First of all, sorry to post a question like this when so many other
Update : I just found this documentation page . Wish there was a link
As a test I am trying to create the simplest webpage where I can
So to give a little context, my goal here is to produce a binary
I have written a JAXB mapping that stored a sublist inside a root element
First off, The Problem: We have a Web App with a Flash front-end that
I work in a small developing team with 3 developers and none of us
I was wondering if there is some standardized way of getting type sizes in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.