China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 11:32
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] Calling on experts: one batch file to handle remote control, come discuss fast View 878 Replies 1
Original Poster Posted 2010-04-25 01:35 ·  中国 广东 深圳 电信
新手上路
Credits 4
Posts 4
Joined 2010-04-23 01:56
16-year member
UID 165283
Gender Male
Status Offline
telnet is remote control under DOS
For remote desktop and control you need to enable 3389
How can this be done with one batch file on a LAN

Write a batch file and you can do remote control

Based on the control allowed by WINDONS

This is impossible to implement


But I want to make it possible

Is your test environment a LAN or the Internet

Both LAN and Internet
There should be an expert who can do it

What functions do you want to achieve


telnet remote control
I can do it manually, but now the requirement is one batch file to handle the process I do manually


telnet can be enabled with net start telnet

I already know all this


Then what is your manual process



Using TELNET as an example, turn on the related services
Turn off the firewall
Then go into gepedit.msc and adjust it so blank passwords and the like can be used to log in


Carry out the above operations on the local machine?

This is for a local area network


If it's the Internet, then you need to know the public IP. If there is no router, then you can get on directly. If there is one, then go into the router and map port 23

If the above is for the local machine, it can be done like this
@echo off
net start telnet
net stop sharedaccess
net user test$ test /add
net localgroup administrators test$ /add


I can do this too ah

Then what exactly do you want to achieve



Can 3389 do it?


2003 can

All can, but different versions require a reboot

Then can the corresponding external IP for the LAN be uploaded to a specified FTP or mailbox
What I want is one batch file to achieve remote control

I've been looking for many days and still haven't gotten a result. Hope the experts here can point me in the right direction

[ Last edited by qq121682776 on 2010-4-25 at 01:38 ]
Floor 2 Posted 2010-04-26 02:42 ·  中国 广东 深圳 电信
新手上路
Credits 4
Posts 4
Joined 2010-04-23 01:56
16-year member
UID 165283
Gender Male
Status Offline
Forum Jump: