Install network printer for all users of a Windows 7 PC

I am installing a shared PC in an office.  I need every user who logs onto this PC to connect to a specific network printer if they are not already and for it to be set as the default.  The PC is running Windows 7 x64 and is part of the corporate domain.  I do not have access to set up a GPO so need a local setting or script solution.

The printer's details are "\\PRINT-01\Office Printer 1".  
canuckconsultingAsked:
Who is Participating?
 
AcklesCommented:
Alright, your best bet is to contact Domain Admin & ask him to setup a Computer Policy for printers that is how every user logging on will definitely get the printer.
You can then separate computers per OU & put different printers depending upon their location.

I understand that you are local admin & really want to go local policy way then this is how you do it:
Start Menu > Run command
MMC > Enter

Add snap in > Group Policy > Local Computer

Once there,

Computer Configuration > Windows Settings > Deployed Printers
& then just give the path.

Since this is Computer Policy any one who logs on will get the printer.


A
0
 
Kruno DžoićSystem EngineerCommented:
if you can't use GPO, all you can do is on every PC connect on share.

open MyComputer, write in address bar \\PRINT-01 , hit Enter

when shared printer appears , right click with mouse on printer and select Connect
0
 
canuckconsultingAuthor Commented:
I want this automated so each user doesn't have to do this.  We have about twenty differnent users on different shifts so I want it to just happen for them.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
canuckconsultingAuthor Commented:
I am a local admin...is this something which can be done via local group policy?
0
 
johnb6767Commented:
In a login script, you can use this syntax... Allot easier than rundll32 printui.dll

start \\PRINTSERVER\QUEUENAME

You could include additional detection of the registry key, so that if it already exists, it will not run the command....
0
 
canuckconsultingAuthor Commented:
Where do I put the vbs file so that it is run at login for every user?

Do you have the code to check the registry to see if the printer already exists?

Thank you for your help!
0
 
AcklesCommented:
Now, if you want different printers for different users logging on the computer, then it's bit tricky but here it goes:
The trick is that the user must have logged on once on the computer.... You can add all the users at one time & then configure below for all of them from the same Console.

Start Menu > Run command
MMC > Enter

Add snap in > Group Policy > Go to the second tab & add the specific user

Now,

User Configuration > Windows Settings > Deployed Printers
& then just give the path.

Please let know if you need further assistance?

A

0
 
johnb6767Commented:
The detection would be similar to this.....Look up the printer in your OWN machine to get the exact key. If it finds it it goes to the end. If not, it starts the START command....

reg query "HKEY_CURRENT_USER\Printers\Connections\<printer>" && goto bye
start \\PRINTSERVER\QUEUENAME
:bye
exit



0
 
johnb6767Commented:
And keep in mind, Ackles is dead on. Thats the ideal way to do it. If for some reason it cannot be done, then my comment should suffice....
0
 
canuckconsultingAuthor Commented:
This is perfect!  Thank you and sorry for the delay allocating points.
0
 
AcklesCommented:
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.