Remove application

Support and questions for using and managing Chocolatey NuGet inside of Labtech
Post Reply
cabare
Posts: 1
Joined: Fri Nov 12, 2021 2:46 pm
2

Remove application

Post by cabare »

I am unable to remove googlechrome by double clicking when the application name is empty. How can I fix this?

Image

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Remove application

Post by Cubert »

I am surprised it allowed you to do that.


If you have an On premis Automate server then it is simple with a single SQL command.

Code: Select all

DELETE FROM plugin_sw_chocolateyii_approved_apps WHERE AppCMD = 'googlechrome' and Application = '';
If Application IS NULL and not just blank then

Code: Select all

DELETE FROM plugin_sw_chocolateyii_approved_apps WHERE AppCMD = 'googlechrome' and Application IS NULL;

You can run both commands safely and only the application approval for the blank name and app command matching googlechrome will be removed.


If you are cloud based then you by default do not have SQL access to host. How ever you can goto our web portal and get the SQL query analyzer that does allow this kind of access. Then just copy the commands into the plugin and execute to resolve.

Lastly there is a Automate Script Work Around.

Create a one line script that executed a SQL command and past the SQL command into script. Then run script once against any agent and that will cause a SQL update.

Afterwards relaunch the global view of plugin to see if the entry is gone.

Post Reply

Return to “Chocolatey For Labtech”