• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

Printer sharing across the domain to all users and computers

I want to be able to 4 wireless printers that are shared from my print server to all users and computers.  The problem that I am having is that the users don't always sit at the same comptuer.  When they login to a different compter, the printers are not setup under their profile.  I assume that I will use a group policy to get this done, but I need help on where to start.
0
wdabbs
Asked:
wdabbs
  • 2
1 Solution
 
JamesDSCommented:
wdabbs
Use a login script and have all your users run it. The following VBScript code will connect a printer device without trying to use the LPT ports. The printer device will be available from the printer dialog as a selectable device in any of the print dialogs in windows applications:

Set objWSHNetwork = CreateObject("WScript.Network")  'create network object
strConnectString = "\\server\printer"
strResult = objWSHNetwork.AddWindowsPrinterConnection(strConnectString)

Save it as a .VBS file and change the variable strConnectString to reflect your printer path


Cheers

JamesDS
0
 
wdabbsAuthor Commented:
Thanks for your help.  I will give this a shot.  Do I save it in the sysvol\domain\scripts folder?
0
 
JamesDSCommented:
wdabbs
You can save it anywhere, so long as you specify the path. The best place to keep it is under \\domainname\netlogon\ as this will be replicated througout the domain via NTFRS.

Cheers

JamesDS
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now