Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: driver store location issues  (Read 6522 times)

0 Members and 1 Guest are viewing this topic.

wbrost

    Topic Starter


    Intermediate
  • Thanked: 11
    driver store location issues
    « on: July 13, 2011, 07:47:22 AM »
    System: XP pro SP3

    I am having a weird XP issue where the driver for a printer is in the "C:\WINDOWS\system32\DRVSTORE" location, shows up in the driver list when manually searching but, I can not get a script to install the printer.

    If I manually install the printer (using the driver from the list) it works. If I then remove the printer and run the script again. It will add the printers correctly. But, I am trying to automate the install process for over 100 computers.

    thanks,
    wbrost

     

    Transfusion



      Mentor

    • STUPID=Smart Talented Unique Person In Demand
    • Thanked: 105
      • Yes
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Linux variant
    Re: driver store location issues
    « Reply #1 on: July 14, 2011, 06:22:25 AM »
    100 printers for a hundred computers??? I doubt you would be printing 100 pages simultaneously...

    http://uis.georgetown.edu/software/documentation/winxp/winxp.network.printer.html
    maybe a networked printer is what you need-I think setting 10 printers on a few master pcs, then enabling all the client PCs via the network is WAY more cost-effective...

    This is how to convert a standard printer into a network printer-http://www.ehow.com/how_5825303_convert-usb-printer-network-printer.html
    In Soviet Russia, iPhone touch you. Computer shut you down. Mouse click you. Floppy inserts you. Yahoo answers you. Man in TV watches you. Computer game addicts you. Guitar shreds you. Motherboard fries you. The laughter in manslaughter is put back in.
    Giveaway of the Day" style="border: none

    jason2074



      Egghead

    • It doesn't matter.
    • Thanked: 224
    • Experience: Beginner
    • OS: Windows 7
    Re: driver store location issues
    « Reply #2 on: July 15, 2011, 12:11:37 AM »

    wbrost

      Topic Starter


      Intermediate
    • Thanked: 11
      Re: driver store location issues
      « Reply #3 on: July 15, 2011, 07:20:03 AM »
      ok I guess I did not make my request very clear.......  :)


      The print servers are being taken away and we have been told not to make cilent/desktop print servers (yes this is stupid and I agree it is a mistake). The solution to this is to add all printers (around 10 of them) via IP. I have a script that works with win 7 but not with XP. I am asking if any one knows the location that windows puts the print drivers after they are installed on the system or a way to add the drivers to the PNP list so I can utilize the drivers.

      thank you,
      wbrost

      Spoiler



        Specialist

        Thanked: 50
      • Experience: Beginner
      • OS: Windows XP
      Re: driver store location issues
      « Reply #4 on: July 15, 2011, 07:53:43 AM »
      Is this what you need?


      C:\WINDOWS\system32\drivers


      Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

      wbrost

        Topic Starter


        Intermediate
      • Thanked: 11
        Re: driver store location issues
        « Reply #5 on: July 15, 2011, 08:13:43 AM »
        Moved the files for the driver to the below location and still getting error. I checked and the driver shows up twice in the PNP list now.

        C:\WINDOWS\system32\drivers

        Spoiler



          Specialist

          Thanked: 50
        • Experience: Beginner
        • OS: Windows XP
        Re: driver store location issues
        « Reply #6 on: July 15, 2011, 11:12:12 AM »
        What is the error you are getting? And can you post the script?

        Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

        wbrost

          Topic Starter


          Intermediate
        • Thanked: 11
          Re: driver store location issues
          « Reply #7 on: July 15, 2011, 12:11:29 PM »
          What is the error you are getting? And can you post the script?



          error:
          exception calling "put" with "0" argument(s): "not found"

          script:
          Code: [Select]
          $objPrinter = [wmiclass]"Win32_Printer"
          $objNewPrinter = $objPrinter.CreateInstance()
          $objNewPrinter.DriverName = "HP Designjet 800PS 42 by HP"
          $objNewPrinter.PortName = "Rhyne_290A"
          $objNewPrinter.Shared = $false
          $objNewPrinter.Location = "Rhyne_290A"
          $objNewPrinter.DeviceID = "Rhyne_290A"
          $objNewPrinter.Put()

          If I check the PNP list from add printer the driver is there but the script errors stating the above. If I install the printer manually the powershell script runs correctly.  This error (from what I can tell) is stating the driver could not be located. I am just trying to figure out where windows XP is putting the drivers and relevant files when you install the printer.

          Spoiler



            Specialist

            Thanked: 50
          • Experience: Beginner
          • OS: Windows XP
          Re: driver store location issues
          « Reply #8 on: July 18, 2011, 12:15:28 PM »
          When you run it manually it works....how else are you trying to run it? Are you trying to run it across a network?

          Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

          wbrost

            Topic Starter


            Intermediate
          • Thanked: 11
            Re: driver store location issues
            « Reply #9 on: July 19, 2011, 10:59:02 AM »
            When you run it manually it works....how else are you trying to run it? Are you trying to run it across a network?

            To get the script to run I need to manually install one of each model printer. once the drivers are in the system ( location I am trying to figure out) the script runs correctly. with windows 7 I am using the pnputil to inject the drivers but that does not work with win xp (not installed and could not find a 32bit xp version).

            I am not running it across the network. I copy the script locally and run from there.