Add network for remote user

Is there a way to add a network printer into a user's profile without using active directory/group policy logon script or interactively remoting into their session?

Would rather not give the end-user admin rights if possible.

Windows XP
garryshapeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris DentPowerShell DeveloperCommented:

Hmm you don't need more than standard user rights to add a printer connection.

Chris
0
garryshapeAuthor Commented:
I am wondering if there's a way for me to do it remotely to a PC, though, instead of sending the user instructions on how to add the printer.
0
garryshapeAuthor Commented:
Should I add a vbscript to add a printer in their startup folder?
0
Webinar: Miercom Evaluates Wi-Fi Security

It's not just about Wi-Fi connectivity anymore. A wireless security breach can cost your business large amounts of time, trouble, and expense. Plus, hear first-hand from Miercom how WatchGuard's Wi-Fi security stacks up against the competition in our upcoming webinar!

garryshapeAuthor Commented:
I ended up using this and it seems to work

http://ss64.com/nt/prnmngr.html
0
garryshapeAuthor Commented:
Correction:
The prnmngr tool doesn't work, at least I couldn't get it to work. It says to use a -s switch for the remote computer, but no matter how I use it it keeps adding the printer to my local computer and not the target computer.

I tried psexec (pstools) but it cannot run the prnmngr due to errors.

Solution:
made batch file with the following lines:
rundll32 printui.dll,PrintUIEntry /in /q /n\\server\printer
rundll32 printui.dll,PrintUIEntry /y /n\\server\printer

Saved that as a .bat with my \\server\printer in it.
used psexec to copy/execute on the remote maching
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
garryshapeAuthor Commented:
I logged on as different users and verified the printer is there and defaulted.

This solution is good for when you don't want to use a logon script but just a one-time script to add a printer and optionally make it default for all user's on a PC without shadowing the user or interrupting them.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.