Computing.Net > Forums > Networking > Adding A Printer via Script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Adding A Printer via Script

Reply to Message Icon

Name: RanmaP
Date: September 9, 2005 at 12:43:27 Pacific
OS: Windows 2000/XP
CPU/Ram: P4/512
Comment:

I work for a company, and we are doing remodeling so I have to shift alot of user to different printers for the time of the remodel.

We are in a domain environment, and I already have the script (e.g ADDXeroxPrinter.vbs), where do I put this so that this script can run once to ONLY the people I want?

In Active Directory under PROFILE and in LOGON SCRIPT they are already running a bat file (e.g. Engineering.bat) which adjust their time andd maps drives... how can I impliment mines to add a printer as well?



Sponsored Link
Ads by Google

Response Number 1
Name: josh (by jpag3074)
Date: September 10, 2005 at 04:06:24 Pacific
Reply:

try posting this in the server forumn you might get more responses

yup!


0

Response Number 2
Name: josepineda1
Date: September 10, 2005 at 20:58:21 Pacific
Reply:

Create a new OU (temporary for the remodel). Move the user objects you want into that OU, and assign the script. If your mappings are defined as persistent in the batch file, then the pc's will remember the connections. If not, just modify your vbscript to do the the same thing as your batch file in addition to what it already does. Don't worry about the users adding the printer connection more than once. It won't affect logon time that much. Make sure to include an ON ERROR RESUME NEXT statement in your vbscript. BTW, why are you adjusting time via a script? In a domain, clients normally get their time from the authenticating dc.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Router's Printer Port accessing server...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Adding A Printer via Script

adding a printer to a home network www.computing.net/answers/networking/adding-a-printer-to-a-home-network/11262.html

Adding a new printer to my network www.computing.net/answers/networking/adding-a-new-printer-to-my-network/28746.html

networking a printer www.computing.net/answers/networking/networking-a-printer/14749.html