Installing network printer for standard user via logon script

Posted on 2010-01-05
Medium Priority
Last Modified: 2012-05-08
Im trying to install shared network printers for Windows 7 clients via script. I have tried vb script and rundll32 command. Problem is that these users are standard users without any special permissions and some of printer drivers are not signed. That's why Windows doesnt want to intall these drivers automatically and it's asking permissions (admin's rights) for installing printers. However, I would like to install these unsigned drivers automatically for these users and I dont want to give them adming rights. I dont neather like disable UAC. How I can solve this situation?
Question by:thaapavuori
LVL 57

Expert Comment

by:Mike Kline
ID: 26178891
If you post your script some of the vbscript guys may be able to help with it.
Have you looked into using group policy preferences to deploy printers, good entry with a link to a great article from the GP team

Expert Comment

ID: 26178904

If you want to install printer driver with ordinary user, the driver type should be Type 3. Type 2 printer driver is not user installable.
In windows 2008 server environment is the best way to install printer, using Preferences. You find this in Group Policy management editor.


Author Comment

ID: 26179020
My vb script

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\server\printer"
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.


Author Comment

ID: 26179047
This my driver is type3.

Driver name: KONICA MINOLTA pagepro 4650 PCL
Version. Type 3 - User Mode
Language monitor: pagepro 4650 PCL Language Monitor

However this driver dont install automatically and if standard user tries to install it it will ask first that do trust this driver and next it will ask admin rights to install it. My ques is that this driver is not signed or something like that.
LVL 83

Expert Comment

ID: 26179658
Hello thaapavuori,

Try with Powershell : http://technet.microsoft.com/en-us/library/dd347648.aspx

(New-Object -ComObject WScript.Network).AddWindowsPrinterConnection("\\server\printer")

Open in new window


Author Comment

ID: 26179764
Same behavior. Windows is asking do I trust this driver or not. I think that this will happen no matter how I try to install it. I think that should some tell that this driver is trusted or tell that Windows can install also untrusted printer drivers.

Author Comment

ID: 26179814
LVL 14

Accepted Solution

MCSA2003 earned 2000 total points
ID: 26180160
One of the nice features of Server 2008 is the Print Management Feature and being able to deploy network printers without scripts. Have you saw this technet article http://technet.microsoft.com/en-us/library/cc753269.aspx, I believe it may possibly help out in your scenerio.

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question