Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi i need to run a batch file into a list of rdps by code.
i use wmi and somehow blocked by firewall or something
then test psexec and also failed.

for now i hope to run psexec after connecting each rdp, using the current connection.
but still got no idea about it.
please help

What I have tried:

WMIC [/node:ip] /user:usern pass] command
and also check every feature of its setting. all the time got "RPC server not available"

PSexec [-i sessionid .... or ...\\node -u user -p pass][ -c -d shell.bat]

rdp commands...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900