说明 命令
Windows远程登陆本地账户 LOCALACCOUNT\username
添加IP到网卡上 netsh interface ipv4 add address “本地连接 2” 103.124.194.10 255.255.255.0
FTP连不上添加进程 C:\Windows\System32\svchost.exe
将H:\ceshi文件全部拷贝到F:\autotomcat\ xcopy H:\ceshi*.* F:\autotomcat\ /s /e /c /y /h /r
修改远程端口 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
批量添加IP for /l %i in (2,1,128) do netsh interface ip add address “以太网” 103.104.172.%i 255.255.255.0