Bypassing uninstall password
Edit:
Thank you for taking your time. I am trying to uninstall the Bitdefender Endpoint Security. It is a legacy installer with the following uninstall path: C:\Program Files\Common Files\Bitdefender\SetupInformation\{8EA2F37E-E3E4-45AB-BAD3-6E3F38F60258}\installer.exe . Basically, no matter how I try to uninstall it I can't get by the password prompt.
Answers (4)
Figured I'd make an account just to answer this cuz it's very irritating, and this is the highest-ranking google result that I can reply to.
I saw one solution pointing to a 'business/pro' uninstaller, but that uninstaller required certain paramaters like... surprise... the uninstall password. Then I saw a solution with a password reset executable from BitDefender. It supposedly needed to run in safe mode. So I did that, running as administrator, and it seemed to complete successfully... but the next time I tried to uninstall, there was the password prompt.
I tried uninstalling from safe mode, but no prompt or confirmation ever came up. You can double click the entry in the list of programs, or right click and choose uninstall.. nothing happens.
Finally, the solution for me was the ugly, brute force method.
I rebooted into safe mode, navigated to C:\program files\bitdefender\ (whatever the folder is called) and simply shift+deleted it. A single file failed to delete for me, something like "bitdefendercontext.dll" which I think is a file that allows bitdefender options to appear when you right click. I ignored this single file, I couldn't delete it even with Unlocker (I think in safe mode, unlocker doesn't work).
Still in safe mode... I then ran regedit and clicked at the very top, and did ctrl+F to search for the string 'bitdef' without quotes ... this will find bitdefender mentioned in the registry, and wherever it appeared, I'd delete it.*** Be careful here, the usual registry disclaimer applies: if you delete the wrong thing you can screw up your PC.
If you aren't familiar with the registry this is mildly risky. But basically, on the left are keys (which look like little folders) and on the right are values (which look like little files with descriptions next to them). Generally, if bitdefender appears as a value on the right, along with a handful of other items... you can probably safely delete the key (folder) on the left containing this bitdefender item. But if bitdefender appears as just one product in a list of other, unrelated products (e.g. defender, or windows, or whatever).. .don't delete the entire key/folder on the left, only delete the bitdefender value on the right.
Anyway if you delete all bitdefender registry items, and their associated keys, you should prevent the PC from trying to run the (now deleted) bitdefender programs when you reboot.
Some registry entries point to specific bitdefender files contained in C:\windows\system32 that you can delete, like the endpoint service (I think it was called bdepsvc.dll).
Again, be careful not to delete the wrong thing. A lot of bitdefender files start with "BD" but not all of them. For example BDEunlockwizard (and several other BDE files) are related to Bitlocker, which is windows built-in encryption feature. Don't mess with that.
To clean up bitdefender services from the list of services, go back to the registry and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services and if you see bitdefender keys here, you can nuke them. To clean up bitdefender automatic startup items, go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and delete bitdefender related values on the right side. Don't delete the Run key/folder itself, on the left.
To double check there's no other unwanted startup items, click the start menu and type msconfig to see a list of startup items.
If you wanna delete a file, and can't get permission to delete it, and unlocker isn't available... another trick is to right click, properties, go to security tab, then take ownership of the file with your own username. Then from the same security tab, change permissions to 'full control' for your username. This is also the fix if you get some crap about "you need permission from TrustedInstaller".
After doing all this and rebooting into normal mode, bitdefender is gone, no errors popped up, seems to be ok.
Comments:
-
Hi Ian,
perhaps it's something like the Symantec that requires a password to disable and de-install services.. but until an answer is provided we will never know... - Pressanykey 8 years ago
Thanks again for your help. Unfortunately, all I have is this old install file when it was initially rolled out. I hope that it is useful.
https://www.dropbox.com/s/ivkmlgldno7v5zw/EndPointSecurity3.6.exe?dl=0
When it was initially rolled out there was a BitDefender server that managed the deployment and all updates and then pushed the agent to all machines. So it wasn't even rolled out through Kace. Unfortunately, the server is not accessible anymore, so i can't uninstall it with the deployment tools BitDefender wants us to remove it with. That's why I thought there could be a way to remove it through Kace. Let me know if you need anything else.
Comments:
-
I know it's a long shot, but have you tried contacting the vendor? If I have time over the weekend I'll have a look at what you have on drop-box. I suspect that the services that are running (usually a couple of 'main' services and a watchdog service) are all protected from being shut down and therefore cannot be de-installed, and the password is required for this...
If it was rolled out be the bit-defnder server, I suspect that the server console allowed the creation of the set-up package which contains the password, which would have been set on install. - Pressanykey 8 years ago-
Thanks, Phil. I do have the password, i just don't know how to encode it in Kace. And yes, it was rolled out this way. I guess we found some other uninstall file that doesn't require a password, but it leaves a lot of stuff behind in the registry. Maybe we will try it instead. - SunsDevils 8 years ago
-
So, I've had a quick look at what you have provided. The setup.exe contains an embedded msi, so theoretically it should be possible to make it silent. I'll have a play on a virtual machine and let you know. - Pressanykey 8 years ago
-
Thank you very much for your help. I really appreciate it. - SunsDevils 8 years ago
that's a bit silly isn't it? How about you let us know:
1. What software is it?
2. What type of package is it (msi or legacy installer)
Have you tried the -? switch?
Cheers
Phil - Pressanykey 8 years ago