Terminals is a secure, multi tab terminal services/remote desktop client. It uses Terminal Services ActiveX Client (mstscax.dll). The project started from the need of controlling multiple connections simultaneously. It is a complete replacement for the mstsc.exe (Terminal Services) client. This is official source moved from Codeplex.
Other
1.25k
stars
235
forks
source link
After a fresh install, crash when attempting VMRC Connection #156
Issue:
Error window says "Sorry, Terminals was unable to connect to the remote machine. Try again, or check the log for more information." The log seems to mention issues accessing HKEY_CLASSES_ROOT\TRM. The registry key HKEY_CLASSES_ROOT\TRM does not exist on my machine currently.
Log:
INFO 2018-02-09 15:19:59,373 119ms Terminals Main - -------------------------------Title: Terminals 4.0.1 started Version:4.0.1.16210 Date:6/24/2017 5:00:22 AM-------------------------------
INFO 2018-02-09 15:19:59,406 151ms Terminals Main - Start state 1 Complete: Unhandled exceptions
INFO 2018-02-09 15:19:59,407 153ms Terminals gGeneralProperties - CommandLine:"C:\Program Files (x86)\Terminals\Terminals.exe"
INFO 2018-02-09 15:19:59,408 154ms Terminals gGeneralProperties - CurrentDirectory:C:\Program Files (x86)\Terminals
INFO 2018-02-09 15:19:59,410 155ms Terminals gGeneralProperties - MachineName:BENWW10
INFO 2018-02-09 15:19:59,410 156ms Terminals gGeneralProperties - OSVersion:Microsoft Windows NT 6.2.9200.0
INFO 2018-02-09 15:19:59,411 156ms Terminals gGeneralProperties - ProcessorCount:4
INFO 2018-02-09 15:19:59,411 156ms Terminals gGeneralProperties - UserInteractive:True
INFO 2018-02-09 15:19:59,411 157ms Terminals gGeneralProperties - Version:4.0.30319.42000
INFO 2018-02-09 15:19:59,411 157ms Terminals gGeneralProperties - WorkingSet:24064000
INFO 2018-02-09 15:19:59,412 157ms Terminals gGeneralProperties - Is64BitOperatingSystem:True
INFO 2018-02-09 15:19:59,412 158ms Terminals gGeneralProperties - Is64BitProcess:True
INFO 2018-02-09 15:19:59,412 158ms Terminals Main - Start state 2 Complete: Log General properties
INFO 2018-02-09 15:19:59,413 159ms Terminals Main - Start state 3 Complete: Set application properties
INFO 2018-02-09 15:19:59,451 197ms Terminals Main - Start state 4 Complete: Parse command line
INFO 2018-02-09 15:19:59,452 198ms Terminals Main - Start state 5 Complete: User account control
INFO 2018-02-09 15:19:59,453 199ms Terminals Main - Start state 6 Complete: Set Single instance mode
INFO 2018-02-09 15:19:59,508 254ms Terminals Main - Start state 7 Complete: Initilizing Persistence
INFO 2018-02-09 15:19:59,510 255ms Terminals Main - Start state 8 Complete: Configuration upgrade
INFO 2018-02-09 15:19:59,512 257ms Terminals TryLoadFile - Loading History from: C:\Users\benw\AppData\Local\Robert_Chartier\Terminals\Data\History.xml
ERROR 2018-02-09 15:20:00,201 947ms Terminals Register - Error accessing registry
System.UnauthorizedAccessException: Access to the registry key 'HKEY_CLASSES_ROOT\TRM' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Terminals.ProtocolHandler.CreateTrmRegistrySubKey()
at Terminals.ProtocolHandler.Register()
INFO 2018-02-09 15:20:03,346 4092ms Terminals SaveHistory - History saved. Duration:10 ms
FATAL 2018-02-09 15:20:03,364 4110ms Terminals Connect - Connecting to VMRC
System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at Terminals.Connections.VMRCConnection.Connect()
Issue: Error window says "Sorry, Terminals was unable to connect to the remote machine. Try again, or check the log for more information." The log seems to mention issues accessing HKEY_CLASSES_ROOT\TRM. The registry key HKEY_CLASSES_ROOT\TRM does not exist on my machine currently.
Log:
INFO 2018-02-09 15:19:59,373 119ms Terminals Main - -------------------------------Title: Terminals 4.0.1 started Version:4.0.1.16210 Date:6/24/2017 5:00:22 AM------------------------------- INFO 2018-02-09 15:19:59,406 151ms Terminals Main - Start state 1 Complete: Unhandled exceptions INFO 2018-02-09 15:19:59,407 153ms Terminals gGeneralProperties - CommandLine:"C:\Program Files (x86)\Terminals\Terminals.exe" INFO 2018-02-09 15:19:59,408 154ms Terminals gGeneralProperties - CurrentDirectory:C:\Program Files (x86)\Terminals INFO 2018-02-09 15:19:59,410 155ms Terminals gGeneralProperties - MachineName:BENWW10 INFO 2018-02-09 15:19:59,410 156ms Terminals gGeneralProperties - OSVersion:Microsoft Windows NT 6.2.9200.0 INFO 2018-02-09 15:19:59,411 156ms Terminals gGeneralProperties - ProcessorCount:4 INFO 2018-02-09 15:19:59,411 156ms Terminals gGeneralProperties - UserInteractive:True INFO 2018-02-09 15:19:59,411 157ms Terminals gGeneralProperties - Version:4.0.30319.42000 INFO 2018-02-09 15:19:59,411 157ms Terminals gGeneralProperties - WorkingSet:24064000 INFO 2018-02-09 15:19:59,412 157ms Terminals gGeneralProperties - Is64BitOperatingSystem:True INFO 2018-02-09 15:19:59,412 158ms Terminals gGeneralProperties - Is64BitProcess:True INFO 2018-02-09 15:19:59,412 158ms Terminals Main - Start state 2 Complete: Log General properties INFO 2018-02-09 15:19:59,413 159ms Terminals Main - Start state 3 Complete: Set application properties INFO 2018-02-09 15:19:59,451 197ms Terminals Main - Start state 4 Complete: Parse command line INFO 2018-02-09 15:19:59,452 198ms Terminals Main - Start state 5 Complete: User account control INFO 2018-02-09 15:19:59,453 199ms Terminals Main - Start state 6 Complete: Set Single instance mode INFO 2018-02-09 15:19:59,508 254ms Terminals Main - Start state 7 Complete: Initilizing Persistence INFO 2018-02-09 15:19:59,510 255ms Terminals Main - Start state 8 Complete: Configuration upgrade INFO 2018-02-09 15:19:59,512 257ms Terminals TryLoadFile - Loading History from: C:\Users\benw\AppData\Local\Robert_Chartier\Terminals\Data\History.xml ERROR 2018-02-09 15:20:00,201 947ms Terminals Register - Error accessing registry System.UnauthorizedAccessException: Access to the registry key 'HKEY_CLASSES_ROOT\TRM' is denied. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions) at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey) at Terminals.ProtocolHandler.CreateTrmRegistrySubKey() at Terminals.ProtocolHandler.Register() INFO 2018-02-09 15:20:03,346 4092ms Terminals SaveHistory - History saved. Duration:10 ms FATAL 2018-02-09 15:20:03,364 4110ms Terminals Connect - Connecting to VMRC System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) at System.Windows.Forms.AxHost.CreateInstance() at System.Windows.Forms.AxHost.GetOcxCreate() at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state) at System.Windows.Forms.AxHost.CreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.ControlCollection.Add(Control value) at Terminals.Connections.VMRCConnection.Connect()