rundll32 printui.dll PrintUIEntry

reuvygroovy 781 Reputation points
2022-03-17T08:13:22.403+00:00

I am trying to map a network printer for all users.

I run the following command locally as a local admin:
rundll32 printui.dll PrintUIEntry /ga /n"\printer\Color"

When I run the command:
rundll32 printui.dll PrintUIEntry /ge

I see the above printer listed there. I also see it listed in the registry under the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Connections

But when I login as the user (of course after logging out) I don't see it listed under Printers & scanners for any user

The print server is Windows 2019 and the Client is Windows 10

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,075 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Limitless Technology 39,906 Reputation points
    2022-03-23T22:10:02.76+00:00

    Hi @reuvygroovy

    If this issue is with a single user then most probably it might be a profile corruption and you can try to reset the profile or create a test profile and see if that sorts the issue.

    Your security software might be conflicting with file sharing on the network, try to disable security software temporarily and check the printer status.

    Another troubleshooting step would be to disable the Allow pruning of published printers policy setting (Computer Configuration\Administrative Templates\printers\Allow pruning of published printers)

    Temporarily turn off the password-protected sharing and restart printer spooler services and check if the issue persists.

    Hope this resolves your Query!!

    -----------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

  2. reuvygroovy 781 Reputation points
    2022-03-24T05:28:52.913+00:00

    >If this issue is with a single user then most probably it might be a profile corruption and you can try to reset the profile or create a test profile and see if that sorts the issue.

    No, I don't think that's it, because event upon 1st logon it doesn't work. I have also tried with multiple users, and sometimes it works and sometimes it doesn't, even on different machines.

    >Your security software might be conflicting with file sharing on the network, try to disable security software temporarily and check the printer status.

    again, what is weird is the command works, and even displays, but there are no error.

    >Another troubleshooting step would be to disable the Allow pruning of published printers policy setting (Computer Configuration\Administrative Templates\printers\Allow pruning of published printers)

    we aren't using AD published printers.

    >Temporarily turn off the password-protected sharing and restart printer spooler services and check if the issue persists.

    where?

    0 comments No comments

  3. Jamal Encami 1 Reputation point
    2023-04-26T14:06:13.65+00:00

    did you get the issue resolved? I have the same issue.

    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.