Net Use

My computer is part of a domain1. Right now I am in a domain2 (but logged in domain1, not domain2) and want to print. How can I use the command "net use" to print to a printer in domain2?
calalonAsked:
Who is Participating?
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.

Lee W, MVPTechnology and Business Process AdvisorCommented:
net use \\printserver\printer * /user:domain2\user

You will then be prompted to enter a password.  Once connected, you will remain connected until logged of or you use "net use \\printserver\printer /delete"
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
Lee W, MVPTechnology and Business Process AdvisorCommented:
Note: You may still need to browse the print server and actually "load" the printer in windows, but you will be authenticated with the server so it should let you see and do this.
0
calalonAuthor Commented:
The command works OK, so then how can i print?
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
As noted in my second comment, you may have to browe the print server (type "\\printservername" and locate the printer you want to print to.  Then double click it.  Once that's done, you can print to the printer you want (assuming correct security privilages for your account) by just selecting it from your list of printers when you go to print anything.
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
Windows Networking

From novice to tech pro — start learning today.