KACE K1000 and Microsoft TEAMS
Trying to push out a registry change via KACE using Scripting > Configuration Policies > Registry
MIcrosoft TEAMS program is already installed on user's workstation. We had users manaully set them to disable to auto-start.
How do I change it to do the reverse where it will auto-start?
Again we're using Kace K1000 and would like to push out a registry change on Windows 10 machines.
I dont think that this can be achieved via registry, however you should be able to get this done with PowerShell. I have a PS/Kace script that runs to DISABLE the auto startup. you should be able to reverse it and set it to auto start. Then run the script as you like
Teams stores the settings for each user in a .JSON file in the user appdata folder: C:\users\<user>\Microsoft\Teams\desktop-config.json
if you change this line from false to true then it will set auto startup to enabled
This PowerShell script will DISABLE the auto startup on the currently logged in user.
$configarray = Get-Content $path | ConvertFrom-Json
$configarray.appPreferenceSettings.openAtLogin = ‘false’
Set-Content $path ($configarray | ConvertTo-Json)
Write-Host "User Appdata:" $path
Write-Host "Desktop-Config Contents:" $configarray.appPreferenceSettings
@CentralL yes this is via KACE Script - Type: Online KScript
Windows Run As: Logged-in user
also just noticed that I have a second task on my script to delete an HKCU registry entry.
my dependency file is just a powershell file with the code I provided in my original comment. As mentioned before you should be able to copy that same code and switch the False statement to True to enable auto start