How to add network printer to window container?

will cheng 0 Reputation points
2024-02-29T23:14:57.5833333+00:00

I fail to add network printer to the window container? Add-Printer -ConnectionName "\xxxx.xxxx.xxxx.xxxx\printname" -DriverName "HP Universal Printing PCL6" Can't start "Start-Service Spooler" I am looking for helps. Thanks

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,562 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vahid Ghafarpour 22,305 Reputation points
    2024-03-01T00:34:21.1133333+00:00

    May I ask you to try this command to start service

    sc.exe start Spooler

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **


  2. Karlie Weng 19,026 Reputation points Microsoft Vendor
    2024-03-04T02:13:37.38+00:00

    Hello,

    Since it is in the remote side, there may be some authentication process before you start the spooler, you can start the service in both sides and run your command again.


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.