远程打开windows xp的telnet和rdp

今天想要打开公司电脑上的远程桌面。

没有做过这种活已经超过5年了,手生得厉害,并且Windows XP和Windows 2000 Server的流程也不太相同,所以留下这篇文章当笔记吧。

  1. 自然需要vpn进入公司内网
  2. 由于目前家里的系统只有Ubuntu,所以还需要另外一台内网的电脑进行协助,已经打开了Remote Desktop的(Telnet也可以,不过显示上会有一些问题)
  3. net use \\<my-computer-ip>\ipc$ /user:<my-username>
  4. 改变服务的Disabled状态。
    sc \\<my-computer-ip> config tlntsvr start= auto
  5. sc \\<my-computer-ip> start tlntsvr
  6. sc \\<my-computer-ip> config termservice start= auto
  7. sc \\<my-computer-ip> start termservice
  8. net use \\<my-computer-ip>\ipc$ /delete

相比之下,Windows XP要比2000简单多了。后者需要上传一个可执行文件并使用at命令来启动。现在只需用sc启动两个服务而已。果然Windows是一个极度危险的东西。

注1:请注意start=和auto之间的空格。

注2:其中tlntsvr和termservice分别是Telnet和Terminal Services服务的Key Name。可以用sc getkeyname “terminal services”查到。

PS. 今天去田林那边看了看房子,真是烂得不行了。继续考察……

Related Posts

on July 12th, 2009 | No Comments »

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>