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
Who is Participating?
garryshapeConnect With a Mentor Author Commented:
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.

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
Chris DentPowerShell DeveloperCommented:

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

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.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

garryshapeAuthor Commented:
Should I add a vbscript to add a printer in their startup folder?
garryshapeAuthor Commented:
I ended up using this and it seems to work
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.
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.

All Courses

From novice to tech pro — start learning today.