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

Trying to do this sort of thing... WHERE username LIKE '%$str%' ...but using bound
This is a self-explanatory question: Why does this thing bubble into my try catch's
I'm trying to do a simple update. I've done this kind of thing thousands
This is an odd thing I've just run into. I have a web application
This should be a really really simple thing, but for some reason it is
One bad thing about using the autoloader is, that it doesn't know where to
I think the answer to this question is so obivous that noone has bothered
I've run across this sort of thing on multiple websites and was wondering what
Here's a coding problem for those that like this kind of thing. Let's see
This seemed like an easy thing to do. I just wanted to pop up

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.