WHS script to assign printer

Posted on 2003-03-08
Medium Priority
Last Modified: 2009-07-29
A friend of mine is asking me questions(because I'm a VB programmer) about using WSH to assign the printers to users when the logon script runs.  He is getting an error in creating the WSH objects indicating that adminstrator privileges are not present.  Does WSH require the user to be a local admin - or perhaps access to certain methods require this?  
Question by:sodakotahusker
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

tomt84 earned 100 total points
ID: 8097148
Need to make sure that you have the correct privileges on both the local machine (to create the printer - admin? not sure.) and on the network (to access the printer - this should only need to be domain user if you're on a domain)

Also I think I remember reading about the correct NTFS permissions needing to be set up for the wscript.network component dll? this may be completely wrong.

See if this helps- get him or her to work their way through this document step by step.


Expert Comment

ID: 9153198
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Expert Comment

ID: 9156207
Feel free to reward the points if my recommendation helped you, otherwise please request a refund.

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question