MscrmTools / XrmToolBox

An application that gather multiple tools to ease the customization and configuration of Microsoft Dynamics CRM/365/Dataverse/PowerApps
https://www.xrmtoolbox.com
GNU General Public License v3.0
574 stars 216 forks source link

How can I disable Check for Updates and data collection? #1113

Closed anique9999 closed 2 years ago

anique9999 commented 2 years ago

Hi, As a system administrator, is there a way to disable "check for updates" for this application [via installer arguments or through registry etc.]. Also wanted to know about disabling "Data Collect" option. image

I want it to be disable during installation setup only. Can you please help me?

MscrmTools commented 2 years ago

Hi @anique9999, thank you for reporting your need. I can add a new registry key usage to disable data collection.

anique9999 commented 2 years ago

Also wanted to know about disabling "Check for updates" option.

Thank you in advance

MscrmTools commented 2 years ago

I can also add a registry key for that

MscrmTools commented 2 years ago

@anique9999 Latest version can handle your needs: https://www.xrmtoolbox.com/documentation/for-it-administrators/disabled-xrmtoolbox-features/

anique9999 commented 2 years ago

Thank you so much.

Wanted to know one more thing, I want to restrict usage to specific tools only, and as per the https://www.xrmtoolbox.com/documentation/for-it-administrators/restricting-access-to-xrmtoolbox-and-plugins/ you have to create registry with that contains technical name of tools.

But I'm unable to find the technical name for the tools. How can I find these technical names of the tools [ex. Ribbon Workbench]?

BetimBeja commented 2 years ago

@anique9999 you can find the Technical Name of the tools in the related information section on the portal, Ribbon Workbench as an example here: image

MscrmTools commented 2 years ago

Actually, the technical name is the name of the C# class that exposes the tool... But you are correct, there is no way to find out easily what is this name. For open sourced project, you can check the name of the assembly. And you can also try to use the name of the dll file without extension

anique9999 commented 2 years ago

Hi,

Even after disabling the "Check for updates" option from the application via registry, I'm receiving this update prompt:- image

If I click on check for updates from app, it shows this prompt:- image

Can you please tell me how can I disable that update prompt?

MscrmTools commented 2 years ago

This update is about connection controls and is quite mandatory to be sure XrmToolBox can connect to environments. It is not an XrmToolBox update

anique9999 commented 2 years ago

Hi,

After setting the registry to disable data collection option. I can still see that data collection option is checked marked in application. Note:- I'm using version 1.2022.4.55

image

MscrmTools commented 2 years ago

@anique9999 Can you open new issue or a discussion instead of using old issues, please?

As for your question, the registry key is not linked to that setting. And the registry key will always win over the in app setting