Hi, I am it admin in our company and I want to deploy a Windows application through Intune. I was wondering if there is any cli command to enter to install (and then remove)? I want to force some settings as admin. In particular, I want to set toggl auto update to always on. Thanks
Hi there! It took us a while, but we have something that might work. I’m afraid it is a bit technical, and I haven’t found a way to make it more user-friendly.
We’re talking about two things here. One is installation and the other is settings.
Installation can be done via CLI using Winget. However, we are not officially maintaining this at the moment. The latest version there is 8.4.0. (currently, we are on 10+)
There is also an option to install silently from the installer. Not sure if it works if there’s already something installed.
As far as the setting to update things automatically, if you could run an SQL on a database, you would be able to find the relevant file in C:\Users<user>\AppData\Local\Toggl Track<hash>\database.sqlite
and run the following SQL on that:
UPDATE AppData
SET Value = 'True'
WHERE Key = 'InstallUpdatesAutomatically';
INSERT INTO AppData (Key, Value)
SELECT 'InstallUpdatesAutomatically', 'True'
WHERE NOT EXISTS (
SELECT 1 FROM AppData WHERE Key = 'InstallUpdatesAutomatically'
);
Please let me know if that helped.