邮件服务器-邮件系统-邮件技术论坛(BBS)

标题: [Server Core] 在 Core 下启用 Remote Deskop [打印本页]

作者: goxia    时间: 2008-1-7 09:50
标题: [Server Core] 在 Core 下启用 Remote Deskop
Server Core 支持多种管理方式,并且支持 Remote Desktop,这样以来我们便可以方便的通过远程桌面对 Server Core 进行管理,Remote Desktop 的启用依旧需要通过命令行来执行,使用“cscript”命令调用“scregedit.wsf”这个系统预置的脚本来启用 Remote Desktop,初次之外我们还可以通过这个脚本来启用更新服务启用后我们还需要在防火墙中例外 Remote Desktop,这样外部才允许连接本机的 Remote Desktop,为此我们需要执行以下步骤:
代码
1、启用 Remote Desktop
cscript c:\windows\system32\scregedit.wsf /ar 0
cscript c:\windows\system32\scregedit.wsf /cs 0
注意:关于参数 /cs 和 /ar 的说明可以直接运行 cscript c:\windows\system32\scregedit.wsf 来获取。
2、配置防火墙例外允许访问 Remote Desktop
netsh advfirewall firewall set rule group="remote desktop" new enable=yes






欢迎光临 邮件服务器-邮件系统-邮件技术论坛(BBS) (http://bbs.5dmail.net/) Powered by Discuz! X3.2