sandia-minimega / minimega

minimega
GNU General Public License v3.0
148 stars 66 forks source link

[miniccc] Access denied to \\.\Global\cc serial port on Windows 10 #1418

Closed activeshadow closed 4 years ago

activeshadow commented 4 years ago

Has anyone else seen this and had any luck overcoming it? I get an Access Denied error in the logs from line 183. I have confirmed that the VirtIO Serial driver is installed in the Windows 10 VM.

I'm running miniccc as SYSTEM on boot, so I'm assuming it's not a permissions issue. Perhaps something else is connected to the serial port? That or maybe miniccc needs to be whitelisted.

I've confirmed this same setup works just fine in a Windows Server 2008 R2 VM.

mkunz7 commented 4 years ago

Works fine for me https://ku.nz/miniclass/module11.html make sure your miniccc binary is the same version the server is running

miniccc2 miniccc

activeshadow commented 4 years ago

Thanks @mkunz7 for going the extra mile and verifying! I'll do some additional testing and report back here. More to come.

activeshadow commented 4 years ago

OK, after testing again with an updated copy of miniccc.exe, I no longer see the Access denied issue and am showing cc_active = true for the Windows 10 VM.

Thanks again @mkunz7 and sorry for taking up some of your time to verify this!