How can I add network printer to all users of a computer at once?

I am trying to add a network printer to all users of a computer. I have tried a vbscript from another post and it worked okay on a login with admin rights, but my problem is I am trying to add the printer to ALL users of a computer; some do not have admin rights. Is there a way to do this by a vbscript or some other way? Thanks a lot!
Kingjack36Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

naburtonCommented:
Install it as a local printer with an ip port.  The ip port will be the ip address of the printer.  It works best if the printer has a static ip address!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kingjack36Author Commented:
So install it on an domain admin account? and then the other domain users will have access to it even tho they do not have the rights to install it?
jameskeagieCommented:
Other domain users will not have access to it just because the domain admin installed it in their profile if the printer is a shared printer.

Is this a local printer, or a network printer?  If you can get it shared on the network - you could easily add in a vbscript to add the printer share name on boot (e.g. \\share\printername)

However, local printers cannot be installed except by an administrator and will be available to all users who log in after.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

scrathcyboyCommented:
No you can't make a network printer connection that was installed in one profile *automatically* go to the other profiles on a single computer.  You will have to login as all users and try to make the same printer connection from each profile.  Then you will find that users without at least "power user" or "backup operator" status will NOT be able to connect to a network printer, because the logins do not give them network browser rights.  Sorry, but that is the way MS permissions on the network work (or don't work).
Kingjack36Author Commented:
This printer is a printer shared on a server. I have tried to add it by going to "add a network printer and doing the usual \\server\sharename" was not able to connect on the domain user login. I will try to add it locally with the admin login using a TCP/IP port and see if it shows up for the domain user account. I will keep you all posted, thanks for the help! :)
naburtonCommented:
That works for me. It should work for you.
jameskeagieCommented:
First off - can you ping the printer share?  It may not be registered in DNS

Second - you should be able to browse to \\namespace\share to see the shared printers on that server.  Any user should be able to connect to that network share - under Windows XP its a per-profile issue.  Standard users CAN connect to these printers.  They do not need to be in any special local group - just make sure that "Everyone" is listed under permissions (security tab) on the shared printer on the print server with print access.  However, they cannot install the driver necessary to use it locally.  Just map to it - but they need rights to install the driver.

You may want to change group policy - or do it locally to allow this.

Click Start, in the Start Search box type "gpedit.msc" and press Enter. Locate to "Computer configuration"->"Driver installation"->"Allow non-administrators to install drivers for these device setup" classes, double-click it. Select Enable, click Show…, then click Add…, enter the class ID {4D36E979-E325-11CE-BFC1-08002BE10318}. (brackets included.)  Then from a command line: gpupdate /force

Then each user can map to the printer - from the run line you can browse to the \\share and just double click on the printer - driver will be installed from the print server.  Log on scripts could then map those printers as well based on OU's in AD.

However, if you have only a few computers you want the printers installed for all users without them all logging on - here are a couple more options.

Some remote commands to install - personally the best way w/o some big GPO changes because the printer class would allow installation of local printers not just network printers.

http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm


Alternatively - you can create a .reg file that you can load into the default user registry hive that installs the printer.  You have to do this with Admin rights - so be sure you can install the printer as a local admin.

http://support.microsoft.com/kb/307016
Kingjack36Author Commented:
Fixed my issue. Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware

From novice to tech pro — start learning today.