Ylianst / MeshCentralAssistant

Tray icon tool for the MeshCentral Agent. It displays the state of the agent, you can start and stop the agent and request help.
https://meshcentral.com
Apache License 2.0
36 stars 26 forks source link

Customised service name of Agent, Assistent does not recognise the Agent #9

Open hunter-nl opened 3 years ago

hunter-nl commented 3 years ago

When I have an Agent branded and the service name is not meshagent, then the Assistent thinks agent is not installed.

vitko-bg commented 3 years ago

Same here - when agent is customized, MC Assistant does not recognise the customized agent.

vitko-bg commented 3 years ago

Any update?

Ylianst commented 3 years ago

I just finished work on an updated MeshCentral Assistant that will detect and work on customized agents. If multiple mesh agents are detected with different branding, there is now a "Agent Select" menu where you can select that agent you want MeshCentral Assistant to connect to.

image

I am finishing it up now and will post a link. It will also be in the next version of MeshCentral v0.8.17.

Ylianst commented 3 years ago

MeshCentral 0.8.17 has been published with the new MeshCentral Assistant that supports customized agents. Let me know if that works.

hunter-nl commented 3 years ago

Great! It works, except two cosmetic issues.

When there is no other mesh agent but only one customised agent, why the second entry "Mesh Agent" is shown in the Agent Select option?

Second issue. The tooltip of the icon is showing the not customised agent string. See image image I expect there to be shown the selected Agent name.

vitko-bg commented 3 years ago

MeshCentral 0.8.17 has been published with the new MeshCentral Assistant that supports customized agents. Let me know if that works.

Please advise where I can download the new working MeshCentralAssistant. Have downloaded from https://meshcentral.com/info/tools/MeshCentralAssistant.exe updated my MC2 server to latest 0.8.17, and Assistant still show Agent not installed.

vitko-bg commented 3 years ago

Found it on MC2 server - meshcentral / node_modules / meshcentral / agents / MeshCentralAssistant.exe Please ignore previous post

vitko-bg commented 3 years ago

@Ylianst - a big THANK YOU! Just a question in regards to title bar on MeshCentral Assistant - shall I open another issue in regards to- image Can the value marked in red be taken from

"agentCustomization": { "displayName":

instead of

"agentCustomization": { "serviceName":

? or shall I keep this issue in current thread?

And also I support @hunter-nl with the tooltip/mouseover the icon.

Ylianst commented 3 years ago

Now that the new MeshCentral Assistant is out with built-in agent capability and many changes, I will need to come back and look at customization again.

Ylianst commented 3 years ago

MeshCentral v0.8.56 was just published with customization support. Let me know if that works. This is for the built-in agent.

MC2-AssistantBranding

hunter-nl commented 3 years ago

Screenshot 2021-06-05 at 12 59 37 When there is a custom branded agent (or not) installed, then it should not show Mesh Agent as a selection.

Ylianst commented 3 years ago

@hunter-nl Ok, I need to check that. "Mesh Agent" should only show if the agent is installed.

hunter-nl commented 3 years ago

@Ylianst Only if custom agent is installed, it should show the title name of the customised agent. Not the additional "default" title item in the Agent Select list.

Setyz commented 12 months ago

Hi @Ylianst ,

I'm grateful for your efforts on our behalf. The software is truly impressive, and the customization features perform precisely as planned.

However, I encountered a challenge I couldn't resolve using the assistant. When I established a remote connection to the computer, I found myself unable to execute PowerShell or CMD commands as an administrator. I attempted to follow tutorials, but my attempts were unsuccessful. Additionally, I encountered difficulties installing applied drivers for applications that require administrative privileges. Unfortunately, installing an agent is not a viable solution due to the diverse range of customers I provide support to.

I would greatly value your assistance in addressing this issue.

pieer3991 commented 2 months ago

Could agent mode be selected?

si458 commented 2 months ago

@pieer3991 if i remember, the mode is set from the registry

HKEY_CURRENT_USER\SOFTWARE\Open Source\MeshCentral Assistant\SelectedAgent it defaults to ~ for direct connect, but you then set it to the servicename to run as a certain agent

but you can also run assistant.exe -agentname:servicename to run it with the certain agent selected

pieer3991 commented 2 months ago

image And this case?

si458 commented 2 months ago

@pieer3991 best thing to do is click it, let it set it, and siaplay correctly, then check the registry to see what value its set it to

pieer3991 commented 2 months ago

Every time I close and reopen the value goes back to ~ even though I have changed it

si458 commented 2 months ago

@pieer3991 try downloading the MeshCentral Assistant System Tray, Monitor only version and use that

pieer3991 commented 2 months ago

Yes, it works, thank you.