0

I need to Disable/Enable a loaded device driver because the device "at times" when connected fails to load properly.
This device is controlled by the user and is POWERED AND UN-POWERED very frequently. The program which needs to use the driver DETECTS a failure and needs to Disable/Enable which ALWAYS corrects the issue.

But using the SetupAPI methods causes the executable to require ADMIN rights (Windows 7 and Windows 10). I'm not sure if I need to use "other" coding methods or if SIGNING the executable will remove the "requirement" to run as administrator?

Any ideas would be greatly appreciated.

1 Answer 1

1

The problem is that is any used can unload a driver, they'd be able to interfere with other users. Drivers are a shared resource.

"Signing" the executable makes a few warnings less scary but doesn't affect security.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.