New
#31
Two things:
1. You must run devcon as an administrator
2. Run "devcon help" and you'll get help for the commands.
Basically, what I did, I had devcon list the hw for me and put the list in a file:
devcon hwids * > hwids.txt
Then I opened that file in a text editor and looked for the HW-ID of the battery controller and the wi-fi.
Then I created a bat-file with the following commands
devcon disable "PCI\VEN_8086&DEV_4235"
devcon disable "ACPI\PNP0C0A"
The first disables the wi-fi, the second disables the battery controller.
Then a corresponding bat-file to enable those devices
devcon enable "PCI\VEN_8086&DEV_4235"
devcon enable "ACPI\PNP0C0A"
Once I had these bat-files, I had to make a shortcuts to them, so that they could be run as administrator. This is a must. Always use the shortcuts.
In addition, in the same bat-files, I disable anti-virus, and a whole bunch of services that aren't necessary once the wi-fi is disabled. This looks like
sc stop Dhcp
You have to experiment a little with your own particular setup, but it's not too hard, and all of it basically corresponds to defining a different HW-profile. You can of course have several disable/enable bat-files, one set for each HW-profile you need.