Git Product home page Git Product logo

remotedesktopmanage's Introduction

远程桌面管理工具

基于 MSTSC 连接 Windows 远程桌面,并对其进行封装实现管理多个远程桌面配置的小工具

关键字:AxMsRdpClient Dapper SQLite Winforms-Modernui

效果图如下:

效果-主界面

效果-打开远程连接

1、什么是 MSTSC (Microsoft terminal services client) ?

创建与终端服务器或其他远程计算机的连接,适用于 Windows XP 及以上的 Windows 操作系统

MSTSC 还有一种说法,Microsoft Telnet Screen Control ,即“微软远程桌面控制”。

PS. 相信对本项目感兴趣的朋友肯定熟悉下面微软的官方工具,本项目也是基于其 ActiveX 控件进行的封装,实现对远程桌面的管理与使用

MSTSC

2、赶紧来添加第一个远程桌面连接 ?

点击左下角的 添加远程主机 来,开启 是否为父级 选项,起个 名字保存 来添加您的一个父级(分组)节点,譬如

样例-添加父节点

再次点击点击左下角的 添加远程主机 来新建您的第一个连接,假定您已熟悉 MSTSC 相关设置,那么下面这个配置也难不住您了

样例-添加子节点

样例-显示新增的配置

单击此方块即可连接服务器,请确保网络无阻哦,一般来说 MSTSC 能连上,本工具同样可以

样例-正在连接

样例-连接成功

好了,基本上您已经掌握如何使用此工具了

3、还有其他功能应用?

  • 支持拖动页签头来改变其位置 (同时连接了多个远程可能会有些用)

  • 当你不想打开远程桌面,而只想打开远程服务器上的某个程序时,请在 仅启动程序 时填写需要启动程序的路径,如 C:\Windows\System32\calc.exe ,如果该目录已配置到环境变量的 PATH 中,如本示例使用程序名 calc 亦同

  • 右击页面头会有菜单选项,比如可执行 关闭 操作,右击连接方块或分组名(父节点)可进行 编辑删除 等操作

  • 切换主题,偶尔换换口味吧

  • 编辑时可以点击右上角的 复制 则保留该连接信息,点保存时换创建一个新的连接

  • 鼠标中键关闭页签 (远程桌面)

  • 键盘映射,当窗口处于活动状态远程桌面将获得键盘事件,当窗口不处于活动状态则本机获得键盘事件,建议点击远程窗口和本机任务栏来进行键盘映射的切换

以上功能均是出于我个人使用习惯,可能对您并不实用,所以文档也含糊一下啦,抱歉!

PS. 假如您对本项目有兴趣,欢迎提 Pull Request 一起来完善它

4、开始作死

下载最新的 Releases 程序玩一把? 请安装 .NET Framework 4.6.1 及以上版本后使用

因为 .NET Framework 向下兼容,所以电脑上只需装最新的 net48 即可,需要对低版本 .NET Framework 支持?

下载项目源码,修改 Framework 版本为 4.5 再编译,或者修改为 4.0 但需要单独引用 Microsoft.Bcl 编译后即可

本项目使用 WTFPL 开源协议,所以。。您怎么喜欢怎么来吧!

remotedesktopmanage's People

Contributors

xunki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

remotedesktopmanage's Issues

咨询项目

目前我这边有个项目,想要咨询作者像MSTSC是否可以写进主板里 我想自己设计一个盒子不用主机只通过自己的盒子接受信号,传送到显示屏

功能建议

1.配置好全局配置后,新增配置的时候能够默认使用全局配置(不然添加全局配置的意义在哪?)
2.增加全屏功能。远程连接到远端主机后,主机的显示只在局部控件里,缩放后看起来别扭。

can not connect to remote pc

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): 没有注册类 (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 System.Windows.Forms.TabPage.TabPageControlCollection.Add(Control value)
at RdpTest.MainForm.ConnectRemoteHost(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at MetroFramework.Controls.MetroTile.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3133.0 built by: NET472REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

RdpTest
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/%E5%AE%9E%E7%94%A8%E5%B7%A5%E5%85%B7/New%20Folder/RdpTest.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3151.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

Dapper
Assembly Version: 1.50.5.0
Win32 Version: 1.50.5.0
CodeBase: file:///D:/%E5%AE%9E%E7%94%A8%E5%B7%A5%E5%85%B7/New%20Folder/Dapper.DLL

Newtonsoft.Json
Assembly Version: 11.0.0.0
Win32 Version: 11.0.2.21924
CodeBase: file:///D:/%E5%AE%9E%E7%94%A8%E5%B7%A5%E5%85%B7/New%20Folder/Newtonsoft.Json.DLL

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Data.SQLite
Assembly Version: 1.0.109.0
Win32 Version: 1.0.109.0
CodeBase: file:///D:/%E5%AE%9E%E7%94%A8%E5%B7%A5%E5%85%B7/New%20Folder/System.Data.SQLite.DLL

System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1590.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

AxInterop.MSTSCLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/%E5%AE%9E%E7%94%A8%E5%B7%A5%E5%85%B7/New%20Folder/AxInterop.MSTSCLib.DLL

Interop.MSTSCLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/%E5%AE%9E%E7%94%A8%E5%B7%A5%E5%85%B7/New%20Folder/Interop.MSTSCLib.DLL

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

大佬死否考虑加入软件启动密码?

当添加多个节点后,其他人使用我的电脑数据泄露问题。即便是有人拷贝走了,也打不开。

如果软件被人逆向,强制跳过密码验证,是否可以

远程程序无法启动

按readme上添加了一个calc作为远程程序进行测试,但无法打开该远程程序,配置与提示如下。

image

image

可以外网远程吗?

穿透远程控制,比如家里控制公司的电脑,或者公司控制家里的电脑。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.