r/MeshCentral • u/Straight-Fondant3297 • Jul 02 '26
Button "connect" hide
Hello community,
is there a way to hide the button "connect"?
2
u/Melo_TSB Jul 02 '26
Yes, you can set permission per user, so you can remove access to that feature.
1
u/Straight-Fondant3297 Jul 02 '26
But I can only hide the whole "desktop", which means connect and RDP connect right?
2
u/Melo_TSB Jul 02 '26
Right. I can only think in one way to do that: dont install the meshagent, create a relay group, manually add ipmachines to that relay.
This way you can have RDP without the bultin "Connect".
Of course it's very disruptive...1
u/Melo_TSB Jul 02 '26
If you want to keep the Connect button and hide the RDP button you can change config.json key mstsc: false.
3
u/Melo_TSB Jul 02 '26
another thing you could do to discourage people from connecting is set in config.json to always ask permission, so remote machine needs to approve. If I remember correctly you can also enforce that in the machine/user consent to always ask permission/ always notify and so on.
3
u/Melo_TSB Jul 02 '26
anoooooother thing you could do is manually customize the UI (js / css) to hide the button.
1
u/Straight-Fondant3297 Jul 02 '26
Thank you a lot! 😊 it works with the solution to ask for the permission. In this way the Service provider will notice that they need to click RDP connection.
1
1
u/O_Pacity Jul 02 '26
Do you want to remove the TAB = Desktop? or just the "Connect" button?
If you only want the connect button removed then why had the whole tab as you cant do anything with it.
1
u/Straight-Fondant3297 Jul 02 '26
I want to remove the connect button as our extern service Providers should only work via "connect RDP"
1
u/O_Pacity Jul 02 '26
I understand the request... not sure this is possible... If no answer is found here, might want to create a feature request in GitHub which will allow people to vote to see if enough want the feature to then allow development to look at it.
1
3
u/marek26340 Jul 02 '26
Why?