Jump to content

installing device drivers from telnet session


Recommended Posts

Posted

basically i am trying to automate the process for installing the device driver via command line in windows 2003 server. my driver doesn't support the command line install, i want to try installing via some utility like devcon... i want to do it thru' telnet... as thats the way my automated TCL script will do...

following are the issues:

1)i am able to use devcon install from commandline, but the same thing fails when i do it from telnet session.

2)i tried looking at the devcon code and i am seeing error code 22F in updatedriverforplugandplaydevices, i left this update.... and wanted to use setupcopyoeminf file and then do a rescan to install the device, which also gives the same problem... it runs from the command line, but running it from telnet session gives a errorcode 800b0003(ERROR_GENERAL_SYNTAX) the setupcopyoeminf call is coded like the below,

SetupCopyOEMInf(L"c:\\temp\\mydriver.inf",L"c:\\temp",SPOST_PATH,0,NULL,0,NULL,NULL)

can someone help me out, what is wrong here?

thanks a lot,

/n

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...