Jump to content

Recommended Posts

Posted

Hi there,

 

 

I was able to install or delete a network printer for all users using the utility printui.exe so that whenever a user login on the computer, he or she has access to the printer. Now, I'd like to do the equivalent in powershell using Get-WMIObject -Class Win32_Printer and the Delete() method. However, the printer is not deleted for all users and when I tried to restart the spooler, the printer reinstalls itself.

 

 

I don't know if it counts for something(it probably does) but even when the printers are gone, there seems to be traces of them in the registries.

 

 

Anybody can help me with that?

 

 

thx.

 

More...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...