Can not get printers to work with cscript prnmngr.vbs in Vista

Discussion in 'General Technical' started by NIZMOZ, Apr 2, 2008.

  1. NIZMOZ

    NIZMOZ

    Joined:
    Apr 2, 2008
    Messages:
    3
    Likes Received:
    0
    I have tried the original ones that work on Windows XP Pro, and Vista doesn't like them. Here are the errors we get in screen shots.

    I have moved the files over from the en_US to the system32 folder. So this isn't the problem. I tried it with and without " "

    Any help would be great! Thanks.
     
    NIZMOZ, Apr 2, 2008
    #1
    1. Advertisements

  2. NIZMOZ

    Guest Guest

    Can you post the error?

    --
    Alan Morris
    Windows Printing Team
    Search the Microsoft Knowledge Base here:
    http://support.microsoft.com/search/?adv=1

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Guest, Apr 2, 2008
    #2
    1. Advertisements

  3. NIZMOZ

    NIZMOZ

    Joined:
    Apr 2, 2008
    Messages:
    3
    Likes Received:
    0
    It's in the attachment.
     
    NIZMOZ, Apr 2, 2008
    #3
  4. NIZMOZ

    Guest Guest

    I can't access the attachment..

    I'm gone for a couple weeks so don't expect an answer

    You cannot install non signed drivers using the WMI print interfaces. If
    you get a digital signature warning when adding the driver using the UI, you
    can't use the scripts to add the driver.

    --
    Alan Morris
    Windows Printing Team
    Search the Microsoft Knowledge Base here:
    http://support.microsoft.com/search/?adv=1

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Guest, Apr 2, 2008
    #4
  5. NIZMOZ

    Guest Guest

    Guest, Apr 2, 2008
    #5
  6. NIZMOZ

    NIZMOZ

    Joined:
    Apr 2, 2008
    Messages:
    3
    Likes Received:
    0
    Here is the screenshot this time I put it on my webserver.

    [​IMG]

    Errors are as follows:

    Unable to add printer connection Win32 error code 3019

    Unable to add printer connection Win32 error code 1801

    My script is for the first 3019 error:

    cscript prnmngr.vbs -ac -p \tserver3\LANIER_ECI_WKRM

    and the 1801 error was

    cscript prnmngr.vbs -ac -p \tserver3\"PMNC Brother_DCP7200"
     
    NIZMOZ, Apr 3, 2008
    #6
  7. NIZMOZ

    Guest Guest

    >

    You need to configure the Point and Print restriction in Vista for the 3019
    error

    you have to download the document

    http://www.microsoft.com/whdc/device/print/VistaPnPSec.mspx

    the policy is in the user section of gpedit.msc

    be sure to update the policy before running the script (or wait 20 minutes
    or reboot)


    the 1801 error

    E:\>winerror 1801
    1801 ERROR_INVALID_PRINTER_NAME <--> No NTSTATUS matched


    --
    Alan Morris
    Windows Printing Team
    Search the Microsoft Knowledge Base here:
    http://support.microsoft.com/search/?adv=1

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Guest, Apr 3, 2008
    #7
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.