Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

API call for loading xxxx.sys on-the-fly on Windows 2003/2008

Posted on 2009-03-30
1
419 Views
Last Modified: 2012-05-06
hi all
I need to load a XXXXXX.SYS after bootup.
Anyone know the API's to:
1.  Register the .SYS
2.  Unregister .SYS
0
Comment
Question by:controlr
1 Comment
 
LVL 6

Accepted Solution

by:
bdesmond earned 500 total points
ID: 24025002
You'd need to call CreateService, OpenService, and StartService in that order to install and start a driver.

To delete it, call OpenService, ControlService, and DeleteService.

Thanks,
Brian Desmond
Active Directory MVP

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question