/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


How to uninstall printer application? (any script to delete icon in devices and printers)

01/17/2014 4151 views

i have printer application , it installs successfully but after uninstall the application in "diveces and printers" application related icon is not removed even i reboot the machine. So please any one give me solution for this

2 Comments   [ + ] Show comments

Comments

  • I have a feeling I have an answer for you, but I'll need a couple details first..

    For which operating system are you uninstalling the application from?
    Are you using an endpoint management tool to perform the uninstall?
  • So the application is removed, but it still shows up as an icon or in the add/remove programs?
    If you are uninstalling from a Windows 7 machine you can look in the registry under the hive entry:
    HKLM\software\microsoft\windows\currentversion\uninstall
    or
    HKLM\software\wow6432node\microsoft\windows\currentversion\uninstall

All Answers

0

Now there are two ways in which this can be done:

1. Make sure the following registry entry is getting deleted. If not, remove it.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\[PrinterName].

Restart the spooler service:

net stop spooler

net start spooler

 OR

2. Use the command-line below:

rundll32 printui,PrintUIEntry /dl /b "printer name" 

Answered 01/19/2014 by: mmudre
Senior White Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ