MeshCentral: Mesh agent error on Windows Server 2022

Describe the bug I could not launch the mesh agent on a customer’s Windows Server 2022 x64.

To Reproduce Steps to reproduce the behavior: Try to launch a Service & Interactive Mesh Agent on a x64 Windows Server 2022. It could fail on the console window immediately. But I have also cases of same OS/bits that works correctly.

Expected behavior Should launch and show the initial GUI to install.

Screenshots Sorry, no much to show

Server Software (please complete the following information):

  • OS: Windows Server 2012
  • Virtualization: on Hyper-V Server
  • Network: LAN
  • Version: 1.1.10
  • Node: 16.15.1

Client Device (please complete the following information):

  • Device: PC
  • OS: Windows 10
  • Network: LAN
  • Browser: Google Chrome
  • MeshCentralRouter Version: not applicable

Remote Device (please complete the following information):

  • Device: Server
  • OS: Windows Server 2022
  • Network: Remote over WAN
  • Current Core Version (if known): Agent just downloaded from my 1.1.10 meshcentral

Additional context On the console there is the following output: [2023-09-08 03:50:28 PM] [AD262CB981431433] ..\microscript\ILibDuktape_ScriptContainer.c:1667 (0,0) uncaught: 'cannot read property \x27split\x27 of null'

Your config.json file

{
	"settings": {
		"Cert": "XXXXXX",
		"Port": 555,
		"RedirPort": 81,
		"_minify": true
	},
	"smtp": {
		"host": "192.168.2.3",
		"port": 25,
		"from": "XXXXX@YYYYYYYYY",
		"tls": false,
		"tlscertcheck": false,
		"tlsstrict": false
	},
	"domains": {
		"": {
			"assistantCustomization": {
				"title": "XXXXXXXXXX - Helpdesk",
				"image": "XXXXX.png",
				"filename": "XXXXXXX-helpdesk"
			}
		}
	}
}```

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 18 (1 by maintainers)

Most upvoted comments

we also dont know if this is a VM or a physical server running Server 2022 and if its a VM, whats the underlying hypervisor? esxi, hyperv, virtualbox, proxmox?

OP’s problem? He says it in his first post, Win2022 VM on Win2022 HyperV.

As for Sandbox, that uses HyperV on your local machine.

@tomsik-radek how do u setup the ‘windows sandbox’ what OS did you use? i just cant replicate it here at all…

https://learn.microsoft.com/en-us/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-overview

Turn on Windows Features On or Off -> Windows Sandbox

Host machine runs Windows 11 Pro