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've been having this really annoying thing happen the past few days, that has
This is a self-explanatory question: Why does this thing bubble into my try catch's
I know this question has been asked before, but no one has given any
One bad thing about using the autoloader is, that it doesn't know where to
I'm trying to speed up my A* implementation (really bad lag just at 10x10
How would I do this? I think this has something to do with editing
I don't think this question has been asked before. I'm a bit confused on
There are similar questions to this, but I don't think anyone has asked this
This has been driving me crazy. I think I have everything in place but
I think the answer to this question is so obivous that noone has bothered

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.