tig / mcec

Robust remote control of Windows PCs over the network.
https://tig.github.io/mcec/
MIT License
78 stars 13 forks source link

Feature Request: Removing TCP/IP Server & Client Monitoring #20

Closed briangun1 closed 3 years ago

briangun1 commented 3 years ago

I'm designing a Crestron-based RS-232 control system, and am looking to install MCEC to monitor for serial commands. The TCP/IP features will cause MCEC to be flagged by the client's network security team, so I'm requesting a version of MCEC with only serial monitoring capability.

tig commented 3 years ago

Hi Brian,

Simply ensure the "Enable Client" and "Enable Server" checkboxes are unchecked. All TCP/IP functionality will be disabled.

image

image

briangun1 commented 3 years ago

Great. Is there a way to disable the TCP/IP server by default? As of right now it is enabled when you install the application.

tig commented 3 years ago

Sort of:

Settings are stored in %USERPROFILE%\AppData\Roaming\Kindel Systems\MCE Controller\MCEController.settings. It is an XML file.

If you were to

  1. Create a MCEController.settings file that looked like this:
<?xml version="1.0" encoding="utf-8"?>
<AppSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ActAsClient>false>/ActAsClient>
  <ActAsServer>false</ActAsServer>
</AppSettings>
  1. Install MCE Controller
  2. Copy the MCEController.settings file above into %USERPROFILE%\AppData\Roaming\Kindel Systems\MCE Controller\
  3. Run MCE Controller, both client & server would be disabled.

Will this work?

briangun1 commented 3 years ago

That solution hopefully should satisfy them. Does the MCEController.settings file get overwritten once a user checks the box to enable the client / server?

tig commented 3 years ago

IIRC it gets written whenever ok is pressed in the settings dialog and when app exits (to save window post).

-cek Via mobile; expect brevity, typos, and dangerous driving.


From: briangun1 @.> Sent: Thursday, May 27, 2021 7:53:10 AM To: tig/mcec @.> Cc: Charlie Kindel @.) @.>; Comment @.***> Subject: Re: [tig/mcec] Feature Request: Removing TCP/IP Server & Client Monitoring (#20)

That solution hopefully should satisfy them. Does the MCEController.settings file get overwritten once a user checks the box to enable the client / server?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/tig/mcec/issues/20#issuecomment-849701711, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEO6CRDZBPXSDHZ2Z6BRILTPZMFNANCNFSM45SSYKLA.

briangun1 commented 3 years ago

That seems to be correct - I made the file read-only and that's when the errors popped up. I think this will work for our purposes. Thanks!