Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • Last Modified:

How to add/remove/list printers to PC's remotely

Anyone know of a utility (free) or command line , or script , or any method of adding/removing/listing printers to remote XP, and NT workstations for the user that's currently logged in ?

I have local admins on each of the machines.
0
Gitcho
Asked:
Gitcho
  • 2
1 Solution
 
Eagle6990Commented:
Are you wanting to add printers for all users of a computer without them needing to add the printer manually?

This is the fix we used for that issue.

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q252/3/88.asp&NoWebContent=1


Are you talking about finding out the shared printers that are installed on a remote machine, or the printers that are actually installed on the remote machine?  Opening up Windows Explorer and going to \\computername\Printers and Faxes to see the installed printers, excluding shared printers that they have on the machine.
0
 
GitchoAuthor Commented:
All of our printers are DHCP networked printers running off 10 or so different servers.  When a user calls for help adding a printer to their profile (because they don't know how to click start/settings/printers and go thru the add-printer wizard), I want to add it the command line at my desk (or whatever) ...

I would also want to be able to query the machine they are on, and see what printers this particular user currently has on their profile, and which one's set to default ...  

%windir%\system32\prnmngr.vbs  seems to do something like that, but i'm not getting the correct results...
0
 
Eagle6990Commented:
You could create a .vbs file with some code similar to this.  I'm pulling the lines I think you'll need out of my printer script so hopefully I won't forget something.


'Create Networking object
set WshNetwork=createobject("Wscript.network")

WshNetwork.AddWindowsPrinterConnection "\\server\Printer"

And then use PSExec from www.sysinternals.com to remotely execute the .vbs file on the user's computer.
0
 
Aland CoonsSystems EngineerCommented:
Dameware has good tools for doing this but it's not free: DameWare NT Utilities Software Suite. The total solution for remote enterprise system management and administration of Windows NT/2000/XP/2003 Networks. They have a 30 day demo. Prices range upwards to $289.
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.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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