Klaus_DE Posted March 23, 2004 Share Posted March 23, 2004 Hi, I try to install a HP Printer Driver as part of a large POST Installation. each machine has a couple (2-3) Printers on the local ports. That is the reasonto do that not with the unattend installation. I try to install the driver with the command line rundll32 printui.dll,PrintUIEntry /if /b "hp deskjet 960c series" /f "C:\WINDOWS\DRIVERS\hpf960k.inf" /r "lpt1:" /m "hp deskjet 960c series" /zthe installation for the driver works fine. but if I plug the printer on the machine the plug and play hardware detection found the printer and ask again for the driver. If I click on the cancel button the printers works fine. How can I block, disable or whatever do that the dialog will not displayedregardsKlaus Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted March 23, 2004 Share Posted March 23, 2004 Thanks for the command line to automate the installation of the driver. I was unaware of this easy way It runs perfectly for my laser printer connected on LPT1:Is your printer connected via USB port ?I have the same problem when i plug my USB Diskonkey the first time on a new installed computer.I don't have to install any driver but the plug&play mechanism detect new hardware and writes some values in the registry in the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USB branch.You must make a regshot before and after plugging your new printer and create a new reg file that store the diff.After you will have to import the reg file regedit /s %path%\PRTplug.reg in your unattended install.Don't have tried it at this moment for my key due to being too busyFeedback welcome if it works for you... Link to comment Share on other sites More sharing options...
Klaus_DE Posted March 23, 2004 Author Share Posted March 23, 2004 well the driver is depend on the machine connected to the LPT1 as well as to USByour Idea is not bad. I try it before but the hardware Detection is still running. I need HELP Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now