Hello Sir,
I need batch files codes which will automatically install and uninstall 'Hitachi microdriver' driver in the system just by running .cmd files...
Following code can automatically install and uninstall 'dummydisk' using these .cmd codes...
drvload.exe /d:"%~dp0dummydisk.sys" /n:USBasFixed /run
drvload.exe /n:USBasFixed /remove /quiet
Similarly what will be batch files codes for 'Hitachi microdriver' ?
Please help me if anybody knew about it...
Thanks & Regards...
No, it cannot.
drvload.exe:
https://drvload.codeplex.com/
is not drvload.exe:
https://technet.micr...0(v=ws.10).aspx
and is not drvload.exe by Guido Wischrop:
http://www.wischrop-...de/nt/index.htm
(that is the one used in WinsetupFromUSB, which is where you got the commands that you posted WITHOUT giving any reference).
So you need the "right" drvload.exe first thing.
Then, you read the readme.txt:
DrvLoad (for Windows NT)
-------
With this tool you have the ability to install, uninstall, start and
stop a driver dynamicly. DrvLoad provides a GUI and command line
facilitys.
Parameters:
/d:xxxxx - the drivers path and name
/n:xxxxx - the internal name for the SCM
(SCM - Service Control Manager)
/install - installs the driver without starting it
/uninstall - uninstalls the driver
/start - starts the driver
/stop - stops the driver
/run - installs and starts the driver
/remove - stops and uninstalls the driver
/quiet - dont show error messages
/gui - runs the gui (default)
Samples
DrvLoad /d:e:\drv\idt.sys /n:IDTLook /run /quiet
- installs the driver idt.sys, starts it and does not
show error messages, the internal name is IDTLook
DrvLoad /n:IDTLook /remove /quiet
- stops the driver, uninstalls it and does not
show error messages
Bugs/Questions
Please report bugs to ntdev@wischrop-net.de - use
the same address for questions.
Bye
Guido Wischrop
-------------------------------------------------
---+++ Guido Wischrop +++---
WWW
http://www.wischrop-net.de
http://www.imn.htwk-...ig.de/~wischrop
eMails
private : guido@wischrop-net.de
Windows NT : ntdev@wischrop-net.de
SMS : guido.wischrop@topmail.de
--------------------------------------------------
And then you learn the syntax and try:
drvload.exe /d:"%~dp0cfadisk.sys" /n:USBasFixed /run
drvload.exe /n:USBasFixed /remove /quiet
and see if it works.
Wonko