Hi Troubleshooter24 and everyone,
See if this helps:
Fist get the computer/server names you want to target in a text file. Something like below will do the trick:
net view > computers.txt
That will create a computer.txt text file with the computers available at the moment
From the command prompt type the following:
for /F “tokens=1″ %i in (computers.txt) do call vnc %i /user domain\admin password /log /vnc
This will read in each computer name and pump that result into the command following the DO statement.
Now, just wait and watch the process push VNC out to the cilents.