Surface pen
In alt.comp.os.windows-10, on Mon, 08 Oct 2018 21:48:00 -0400, micky
wrote:
/uninstall - uninstall driver package from any devices using it.
/force - delete driver package even when it is in use by devices.
/reboot - reboot system if needed to complete the operation.
Of course it's easier to use /reboot than an additional line, but I
hadn't read the subcommand list
For examples of how to use the PnPUtil tool, see PnPUtil Examples.
====
The last line of your bat file can be the command that exits windows.
Maybe a way comes with windows to exit windows from a batch file, but I
ended up dl'ing a famous suite of free utility programs.
I used this for a bat file to run my printer every month while I was out
of town, and it worked except I never got the scheduler to start it.
You won't have that problem.
|