### Locate mRemoteNG Log File Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/troubleshooting.html Paths to the mRemoteNG.log file for installed and portable versions. ```text %APPDATA%\mRemoteNG\mRemoteNG.log (example: `C:\Users\[username]\AppData\Roaming\mRemoteNG\mRemoteNG.log`) ``` ```text [location of mRemoteNG.exe]\mRemoteNG.log ``` -------------------------------- ### Locate user.config File Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/troubleshooting.html Paths to the user.config file for troubleshooting startup crashes. ```text %LOCALAPPDATA%\mRemoteNG\\\user.config ``` ```text %APPDATA%\mRemoteNG\\\user.config ``` -------------------------------- ### Configure CredSSP Registry Settings Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/howtos/vmrdp.html Run these commands in an administrative PowerShell console to resolve 'Unknown disconnection reason 3848' errors. ```powershell REG ADD "HKLM\System\CurrentControlSet\Control\Lsa" /v "DisableRestrictedAdmin" /t REG_DWORD /d 0 /f REG ADD "HKLM\System\CurrentControlSet\Control\Lsa" /v "DisableRestrictedAdminOutbound" /t REG_DWORD /d 0 /f ``` -------------------------------- ### Run mRemoteNG as a different user Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/external_tools_cheat_sheet.html Executes mRemoteNG with specific domain user permissions. ```text C:WindowsSystem32runas.exe /user:domainntuser “C:Program FilesmRemoteNGmRemoteNG.exe” ``` -------------------------------- ### Configure PSM Alternate Shell Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/howtos/cyberark-psm.html Set this command in the alternate shell field under the Miscellaneous section to initiate a connection through the Privileged Session Manager. ```bash psm /u target-user /a target-address /c connection-component ``` ```bash /c PSM-RDP ``` -------------------------------- ### Configure Windows PowerShell ISE Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/external_tools_cheat_sheet.html Launches the PowerShell ISE graphical environment. ```text args here ``` -------------------------------- ### Configure connection closing warnings Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/user_interface/options.html Defines the conditions under which mRemoteNG prompts the user before closing connections. ```text - ... when any connection closes - ... when closing multiple connections - ... only when exiting mRemoteNG - ... never ``` -------------------------------- ### Configure Windows PowerShell session Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/external_tools_cheat_sheet.html Launches a PowerShell session connected to a host without credential prompts. ```text -noexit $pw = “%password%” -replace ‘^’, ‘’; $password = ConvertTo-SecureString $pw -AsPlainText -Force; $Cred= New-Object System.Management.Automation.PSCredential (“%username%”, $password); Enter-PSSession -ComputerName %hostname% -credential $Cred ``` -------------------------------- ### Configure connection backup frequency Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/user_interface/options.html Defines the schedule for creating automatic backups of the connections file. ```text - Never backup connections - On Edit - On Exit - Daily - Weekly ``` -------------------------------- ### Configure Assembly Binding for Log4net Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/known_issues.html Add this configuration to mRemoteNG.exe.config to redirect assembly binding to the updated log4net version. ```xml ``` -------------------------------- ### Open Firewall Port 2179 Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/howtos/vmrdp.html Use this command to open port 2179 on the Hyper-V server to allow VMRDP traffic. ```powershell New-NetFirewallRule -DisplayName "Allow VMRDP" -Direction Inbound -LocalPort 2179 -Protocol TCP -Action Allow ``` -------------------------------- ### Query remote file system attributes Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/external_tools_cheat_sheet.html Retrieves disk space and capacity metrics for all drives on a remote server. ```text -NoExit Get-WmiObject Win32_Volume -ComputerName %hostname% | Format-Table Name, @{Name=”Size(MB)”;Expression={“{0:0,0.00}” -f($_.Capacity/1mb)}}, @{Name=”Free Space(MB)”;Expression={“{0:0,0.00}” -f($_.FreeSpace/1mb)}}, @{Name=”Free (%)”;Expression={“{0,6:P0}” -f(($_.FreeSpace/1mb) / ($_.Capacity/1mb))}} ``` -------------------------------- ### Grant Remote Access Permissions Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/howtos/vmrdp.html Run this PowerShell command on the Hyper-V server to grant the necessary access for remote VMRDP connections. ```powershell Grant-VMConnectAccess -VMName "VMName" -UserName "Domain\User" ``` -------------------------------- ### Retrieve Hyper-V VM ID Source: https://mremoteng.readthedocs.io/en/v1.77.3-dev/howtos/vmrdp.html Execute this PowerShell command on the Hyper-V server to find the ID of the virtual machine. ```powershell Get-VM | Select-Object Name, VMId ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.