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

  • SEARCH
  • Home
  • 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 8643421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:01:59+00:00 2026-06-12T12:01:59+00:00

I have a kernel driver (.sys), where i can find good source which i

  • 0

I have a kernel driver (.sys), where i can find good source which i can use to install and control this driver?

  • 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-06-12T12:02:01+00:00Added an answer on June 12, 2026 at 12:02 pm

    Here’s some code I wrote years ago to install an NDIS driver. It’s been tested and used on XP, but I’m not sure about anything newer than that. Installing a different type of driver mostly requires changing the group and dependency.

    #define Win32_LEAN_AND_MEAN
    #include <windows.h>
    
    void install_NDIS_driver(char const *path, char const *name ) {
    // This uses the name as both the driver name and the display name.
    
        SC_HANDLE manager = OpenSCManager(NULL, NULL, SC_MANAGER_CREATE_SERVICE);
        SC_HANDLE service = CreateService(manager, 
            name,                       // driver name
            name,                       // driver display name
            GENERIC_EXECUTE,            // allow ourselves to start the service.
            SERVICE_KERNEL_DRIVER,      // type of driver.
            SERVICE_SYSTEM_START,       // starts after boot drivers.
            SERVICE_ERROR_NORMAL,       // log any problems, but don't crash if it can't be loaded.
            path,                       // path to binary file.
            "NDIS",                     // group to which this driver belongs.
            NULL,                       
            "NDIS\0",                   // driver we depend upon.
            NULL,                       // run from the default LocalSystem account.
            NULL);                      // don't need a password for LocalSystem .
        // The driver is now installed in the machine.  We'll try to start it dynamically.
    
        StartService(service, 0, NULL); // no arguments - drivers get their "stuff" from the registry.
    
        CloseServiceHandle(service);    // We're done with the service handle
        CloseServiceHandle(manager);    // and with the service manager.
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a kernel service driver , i want to install it with an
i am new kernel programming.i have been trying to load this driver program for
I have some homework which I should program a virtual device driver on kernel
I do have a USB device which is using the WinUSB driver (winusb.sys) as
I am writing a windows kernel mode driver in which I will have to
I have written a kernel driver hello_kernel which registers as a character device on
I have developed a kernel module (Android) which provides me: PCM 16-bit 48000 Hz
I'm building a custom Ubuntu kernel and have modified one of the source files.
I have noticed a number of kernel sources that look like this (found randomly
I have seen solutions like this: kernel dp_square (const float *a, float *result) {

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.