To test RDP for multiple machines

Do we have any automated way to check rdp for  50 + machines/vms -windows 2k3,2008,2012 at same time.

just need to make sure if rdp is fine after reboot.

any automated fast and free utility can help to check for RDP connectivity status and ping as well for multiple windows machines ?
patronTechnical consultant Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
To check RDP means to go at least until the authentication, and that's a bit difficult to automate. Other than that we can only check if the port is open.
patronTechnical consultant Author Commented:
can we take all server name from text/csv file to be loaded in admin pack with same cred like from same domain ?
and then if its possible to check in quick way
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
use, telnet, and telnet to port 3389, unless you have Tevron CitraTest, which enables you to test RDP.
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
Checking with credentials requires 3rd-party software.
patronTechnical consultant Author Commented:
any name please
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
We use DameWare to start RDP with parameters like host and credentials. The executing machines require a DameWare license.

The ActiveX RDP plug-in might still work, then an e.g. PowerShell script can be used for free.
patronTechnical consultant Author Commented:

Pls share the powershell solution if we can try ?
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
I was wrong with the PowerShell solution. It just generates a RDP file with scripted settings, and starts a RDP session. Not really useful ...
patronTechnical consultant Author Commented:
okay ,Thanks
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
So would you like to fall back to check for RDP port open only?
patronTechnical consultant Author Commented:
pls share automated way for that  and will that be okay to consider if rdp port is open,rdp should be fine ?
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
No, an open RDP port is an indication, but no proof, that RDP works. as there is a lot more running if you try to authenticate, and that is the part which might fail. Checking the port is a maybe 50% proof.
For batch checking a port, I would use netcat (e.g. from
.CMD batch sample:
@echo off
setlocal EnableDelayedExpansion

for /F "tokens=*" %%S in (C:\Temp\ServerList.txt) do (
  set ping=n
  set RDP=n
  ping -n 2 %%S >nul && set ping=y
  if !ping! == y netcat.exe -z -w 1 %%S 3389 && set RDP=y
  echo Server %%S ping: !ping!  RDP: !RDP!

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
patronTechnical consultant Author Commented:
patronTechnical consultant Author Commented:
Thanks,but still looking for better tool can automate if rdp is fine for multiple machines after reboot
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
=  Tevron CitraTest, but it's not FREE!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.