MeshCentral
MeshCentral copied to clipboard
Clipboard Functionality Opens Command Prompt Briefly.
When using MeshCentral's clipboard functionality to copy and paste content between devices, an unexpected behavior occurs. Upon attempting to copy, a command prompt window briefly opens and then closes. This behavior is unexpected and does not align with the intended functionality of clipboard operations.
Steps to Reproduce:
- Open MeshCentral and connect to a remote device.
- Attempt to copy text and click on get or set clipboard.
- Observe that a command prompt window briefly opens and then closes unexpectedly.
Operating System: Windows
I am attaching the video for the reference.
This is expected (tho not intentionally) behavior on windows, because we are using the system task scheduled to dispatch a process into the user's desktop session, so that it could interact with the correct clipboard buffer. This has the unfortunate side effect of momentarily displaying the command prompt window.
Hi @krayon007 Thanks for your reply I'm interested in finding a way to avoid the command prompt window from being displayed. Is there any method or workaround to run this process in the background, eliminating the brief command prompt window appearance while still ensuring correct clipboard buffer interaction?
I appreciate your insights and any suggestions you may have to address this issue.
Thank you!
I'm guessing if the task is changed to run a script by running cmd.exe /MIN it would have the window minimized in the task bar. Not sure exactly how it's done here.