Akarillon Posted September 9, 2011 Posted September 9, 2011 (edited) I have been searching for 5 hours now, and I can't find any information about how to send DOS-commands to another computer remote without having the script on the computer. And I could go another way by editing Registry by remote, but I don't know how or if I can add users(domain) to be an administrator account. (I know this is not really that related to AutoIT, but it is part of my script). All help will be appreciated Kind Regards, Akarillon Edited September 13, 2011 by Akarillon Challenge accepted!
hannes08 Posted September 9, 2011 Posted September 9, 2011 Hi Akarillion, running scripts on remote computers can be achieved by using psexec from Microsoft / Sysinternals. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Akarillon Posted September 9, 2011 Author Posted September 9, 2011 Lovely Will test it on monday when I get to work =) Challenge accepted!
Akarillon Posted September 12, 2011 Author Posted September 12, 2011 This is the most awesome tool I have ever seen Thanks<3<3<3 Will make my work a whole lot easier Challenge accepted!
Akarillon Posted September 12, 2011 Author Posted September 12, 2011 Hello again, I reopened this post because I need help with a DOS line I am trying to send to another computer. The program works great. example: psexec \\hostname cmd (this starts the service and after 5-10 seconds it is ready) then I want it to do this command after loading is done: net localgroup administrators username /add but when I try these two commands together it wont start the second command. both & and && wont work. Any help? =) Challenge accepted!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now