Announcement

Collapse
No announcement yet.

VBS logon script map printer with different credentials

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • VBS logon script map printer with different credentials

    hi all

    can some one help me please i have this script :

    '
    ' Printers.vbs - Windows Logon Script.
    Set objNetwork = CreateObject("WScript.Network")
    objNetwork.AddWindowsPrinterConnection "\\computername\zebraTLP"

    i need also to add to this script a "domainname\username and password"
    how i add to this script the follwoing strings

    best regards

  • #2
    Re: VBS logon script map printer with different credentials

    what im trying to do is to map a printer drive.
    i have two tests to do, to map a printer to Terminal server with local user profile and map printer to a domain user profile.

    when i use the script map printer with a local user TS i see the printer but the status of that printer is access denide.
    when do it in CMD he ask me for a user and pass word the permission of that printer is everyone print permission.

    this the problem that i have

    iil be happy for any help.

    thanks alot

    Comment

    Working...
    X