Solved

How to load a TDI device driver without a reboot?

Posted on 2008-10-30
1
407 Views
Last Modified: 2013-12-01
I have developed a TDI device driver, which is dependent on tcpip
I want to load it after it is installed, but without having to reboot the system.

Is that possible?

I tried using CreateService as in the code snippet but I get error 487 (invalid address).
//Create the driver "service"
		SC_HANDLE  SCService = CreateServiceW(schSCManager,
			 L"tcpipMyTDI",
			 L"tcpipMyTDI desc.",
			 SERVICE_ALL_ACCESS,
			 SERVICE_KERNEL_DRIVER,
			 SERVICE_SYSTEM_START,
			 SERVICE_ERROR_NORMAL,
			 NULL,    
                            L"PNP_TDI",
			 pdwTagId,
			 isOsTypeVista() ? L"Tdx\0" : L"tcpip\0",
			 L"tcpipMyTDI",
			 NULL
			 );

Open in new window

0
Comment
Question by:romanm
1 Comment
 
LVL 3

Accepted Solution

by:
romanm earned 0 total points
ID: 22853756
Ok, found the issue,
Registry must be clean, so no entry shoudl exist for the driver.

Location, HKLM\system\CurrentControlSet\Services
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows XP network hardware for dummies 12 110
Recover Outlook 2007 .pst data 6 97
Task with PowerShell Script is failing with 0x41301 7 121
OneNote cannot connect to OneDrive 6 68
A while back when OPSMGR 2012 was released we were very excited about getting it into our environment and upgrading our 2007 implementation,  we started our planning and we then proceeded with our implementation. All went as planned & our system …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

821 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