Navishkar Sadheo
asked on
Run batch file an administrator remotely
Dear Experts
Please can someone assist me. I would like to run a batch file on remote machines as an administrator. The batch file is located on a share that is accessible to everyone.
I am  trying to use psexec.
I am trying this but it doesnt seem to be working:
PS C:\Users\navishkars\Deskto p\PSTools> .\PsExec.exe \\agent47-pc -u mydomain\admin-navishkars -p password cmd "\\dbnfiles\Software\DB2-O DBCClient\ 1_clidrive rcopyandin stall.bat"
Please can someone assist me. I would like to run a batch file on remote machines as an administrator. The batch file is located on a share that is accessible to everyone.
I am  trying to use psexec.
I am trying this but it doesnt seem to be working:
PS C:\Users\navishkars\Deskto
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.