Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - list the machines I can connect to via remote desktop.

Reply
 
Old 11-01-2008   #1 (permalink)
deostroll


 
 

list the machines I can connect to via remote desktop.

Need a wsh code that does this and also need to know how to do this
manually via dos commands.

My System SpecsSystem Spec
Old 11-02-2008   #2 (permalink)
Pegasus \(MVP\)


 
 

Re: list the machines I can connect to via remote desktop.


"deostroll" <deostroll@xxxxxx> wrote in message
news:c6b896e7-5349-48f7-9ff8-01b1fe989db2@xxxxxx
Quote:

> Need a wsh code that does this and also need to know how to do this
> manually via dos commands.
You could run this batch file:
@echo off
if exist c:\RDP.txt del c:\RDP.txt
for /L %%a in (1,1,254) do (
ping 192.168.1.%%a -n 1 | find /i "bytes="
if not ErrorLevel 1 (
nc -t -n 192.168.1%%a 3389 -v -w 1
if not ErrorLevel 1 echo 192.168.1.%%a >> c:\RDP.txt
)
)

You can download nc.exe from here:
http://www.securityfocus.com/data/tools/nc11nt.zip.


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
can't connect to remote desktop Vista General
Cannot remote desktop, do both machines need to be on same domain? Vista security
Remote Desktop won't connect Network & Sharing
Remote Desktop will not connect Vista General
Remote Desktop Won't connect Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46