How to uninstall printer application? (any script to delete icon in devices and printers)
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
Answers (1)
Please log in to answer
Posted by:
mmudre
10 years ago
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"
For which operating system are you uninstalling the application from?
Are you using an endpoint management tool to perform the uninstall? - Casino_Ed 10 years ago
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 - Casino_Ed 10 years ago