techtedg Posted November 2, 2023 Posted November 2, 2023 The PC Dashboard desktop app cannot edit the local agent config for any agent that is version 9.0+, is there a new dashboard release coming? "Edit system settings" from the dashboard results in "unsupported config" error. Â On a side note, is there any other way to modify the agent config besides logging in and using the local manager app? I don't see a way to do that in the web app.
Administrators Anne Posted November 2, 2023 Administrators Posted November 2, 2023 Hi @techtedg Thanks for bringing this to my attention, I have brought it up with R&D and they are aware of the situation and are currently working on it Â
techtedg Posted November 2, 2023 Author Posted November 2, 2023 Thanks Stefan, is there any other way to edit agent configs?
Administrators Anne Posted November 2, 2023 Administrators Posted November 2, 2023 Hey @techtedg Yeas you should 100% be able to edit configs via the policies section
techtedg Posted November 2, 2023 Author Posted November 2, 2023 I can edit the policies that apply to multiple endpoints, but i can't edit individual agent configs like i can with the Dashboard app. Â We only need to edit the individual agent config when we need to change the agent's name in Pulseway. We name our agents "First Last (hostname)", and when we move a PC to another user we need to update the name. Is there a better way to do this?
Administrators Paul Posted November 3, 2023 Administrators Posted November 3, 2023 Hi @techtedg, You can definitely do this through an automation script. You can create a custom field called "AssignedUser" and make it be of system scope. Then assign the custom field to the systems you want to name (you don't have to do it for all systems, the script I have built below will only overwrite the computer name for systems that have a custom field value assigned). Then you will need to create a powershell automation script, add an input variable that is bound to the custom field you've just created and use the powershell script below: $AssignedUser = ''; # this will get automatically generated for you when you create the input variable, you don't need to add this line if ([string]::IsNullOrEmpty($AssignedUser)) { Write-Output "Missing AssignedUser custom field value, aborting..."; exit 0; } $newComputerName = "$AssignedUser $env:COMPUTERNAME"; Set-ItemProperty -Path 'HKLM:\SOFTWARE\MMSOFT Design\PC Monitor' -Name 'ComputerName' -Value $newComputerName; Write-Output "Computer display name changed to '$newComputerName'."; exit 0; Let me know how it goes -Paul
techtedg Posted November 3, 2023 Author Posted November 3, 2023 OK, we will look into that. I guess we just have to run the script and it will update the agent name with whatever we have put in the customer field for that agent. I like it! Â Any update on when there will be a new version of the Dashboard that support editing configs for v9+?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now