Jump to content











Photo
- - - - -

Need help to create batch files to install and Uninstall 'Hitachi microdriver' ?

filter driver hitachi microdriver batch files

  • Please log in to reply
8 replies to this topic

#1 devdevadev

devdevadev

    Frequent Member

  • Advanced user
  • 351 posts
  •  
    India

Posted 29 September 2016 - 07:06 PM

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...



#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13574 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 29 September 2016 - 07:31 PM

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.

:duff:
Wonko



#3 devdevadev

devdevadev

    Frequent Member

  • Advanced user
  • 351 posts
  •  
    India

Posted 29 September 2016 - 07:50 PM

I had already tried above codes. But doesn't work...

 

Actually I could not understood following syntax ?

 

/n:xxxxx   - the internal name for the SCM
                (SCM - Service Control Manager)
 
What should I use in place of '/n:xxxxx' for Hitachi Microdriver ?


#4 devdevadev

devdevadev

    Frequent Member

  • Advanced user
  • 351 posts
  •  
    India

Posted 29 September 2016 - 08:06 PM

Is there any way so that I can automatically integrate 'Hitachi Microdriver' during installation of  Windows 10 within 'WIN10.vhd' using 'WinNTSetup' ? 

 

I have tried to browse 'microdriver' folder in 'WinNTSetup' driver section. But I had not installed. And I had to install it manually..

I want to automatic method...?



#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13574 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 30 September 2016 - 09:01 AM

Use "MickeyMouse" or "Goofy" as the name. :whistling: It is just a name.

Are you using a 32 bit Windows 10? :dubbio:

Does actually dummydisk.sys work on a 64 bit System?

AFAIK only Diskmod has a 64 bit version:
http://reboot.pro/to...-usb-hard-disk/
http://agnipulse.com...d-disk-windows/
(and needs TESTSIGNING ON)

Does actually drvload.exe work in the whatever 10 you use?

As always you fail to detail what you are trying to do, and provide only partial information, and it is needed to apply torture to wring from you any meaningful data. :frusty:

On the other hand, IF dummydisk.sys works in your setup there is NOT one reason in the world to use Cfadisk.sys instead, they do EXACTLY the same things.

:duff:
Wonko

#6 devdevadev

devdevadev

    Frequent Member

  • Advanced user
  • 351 posts
  •  
    India

Posted 30 September 2016 - 02:00 PM

Thanks for the recalling LInks with explanation....Now I am OK...with 'Diskmod'...



#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13574 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 30 September 2016 - 02:56 PM

Good :),
but didn't you already devise an "easy", "smart" way to install that on the fly (seemingly using the "normal" drvload.exe by MS):
http://reboot.pro/to...oting/?p=188944
or does that drvload only works on a PE?

And I have to correct myself :blush: , a 64 bit version of Cfadisk does exist, it is only dummydisk.sys that has not AFAIK a 64 bit version, some old news:
http://reboot.pro/to...-drive/?p=57668


:duff:
Wonko



#8 devdevadev

devdevadev

    Frequent Member

  • Advanced user
  • 351 posts
  •  
    India

Posted 30 September 2016 - 03:16 PM

I have tried those OTF files in Full Windows 10. But those doesn't seems to work...

 

Are you able to install 'Microdriver' by using batch file in Windows 10 ?



#9 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 13574 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 30 September 2016 - 04:07 PM

I use the same stick I procured to NOT touch Vista to NOT touch Windows 10, but in a "full" OS to install  the .inf file can be used with setupapi or advpack 

https://msdn.microso...m-filter-driver

or not? :unsure:

Or maybe pnputil?

Or possibly the given .inf file is not "compatible" and needs to be *somehow* modified or Windows 10 changed something? :dubbio:

 

:duff:

Wonko






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users