I need to disable and re-enable a hardware driver in a test script.
Terminology query: Do you want to simply stop and start the service programmatically?
If so, see Win32::Service.
Or do you want to disable/enable the service in the sense of changing the services configuration?
Then you'll need to use Win32::API to gain access to ChangeServiceConfig and the other service related support apis.
In reply to Re: How do you enable/disable a driver in Windows?
by BrowserUk
in thread How do you enable/disable a driver in Windows?
by DrWhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |