

Sometimes is better to uninstall all and install again. Local Administrator account is fine when changing Desktop Icon Settings, however, when trying to change 'Desktop Icon Settings' in Domain Administrator account, Windows gives the following error: 'C:\Windows\system32\rundll32.exe' 'Windows cannot access the specified device, path, or file. And if you need to uninstall you will need to remove the two printers before going to the second command to uninstall the driver. Click on Edit button and highlight your session name in the list. Click Advanced button and in the opened window open Owner tab. In the pop-up menu choose Properties and in the window that will come up open Security tab.

do not execute two installation for the same printer, windows will create a random name like you install printer B and windows will rename to printer B (copy_A) or something else if the printer B already exist. To do that, you need open Windows\System32 folder and right-click rundll32.exe file. There is a behavour that you need care when using cli to install. I did thoses taks programmatically using this commands, except to search the oem*.inf name that you need to parse all. To complete this task you need 2 commands, the first is to search what the name of oem*.inf the windows creted for you: use this pnputil.exe -e to show all oem*.inf and with the name in hands use this pnputil.exe -f -d oem5.inf (change the name of the oem5.inf to correspond to you inf file)
#CANNOT FIND RUNDLL32 EXE WINDOWS 7 DRIVER#
this because windows add the driver installation pack to C:\Windows\System32\DriverStore\FileRepository and we need to uninstall it with the third command. After this you cannot see the printer and the driver, but if you unplug the usb devide and plug again the driver will automatically install.

