Jump to content

Remote file execution....


Recommended Posts

Posted

I have a VB app that will enter the logon ID and Computer name into the required fields for several .bat files. One will clean temp and cache files, and another is the bat file that pushes the software and commands to the actuall computer to be executed. I am trying to find a way to have the bat file execute once placed on the machine without having to take control or manually executing the file from it. I have looked for commands and utils. but dont want to install services or software on the remote pc to do so. The only option I can think of is to do a remote task schedule but the Soon command schedules the task for the next day.. Any ideas?


Posted

I don't know how your script actually works and what are you actually looking for and is it coming to restricted environment, but here are a couple of tools I use.

Maybe the most popular command line remote execution tool is psexec.exe witch you can find from Sysinternal's PStools

I have also used this open source remote execute command line tool with success.

http://talhatariq.wordpress.com/2006/04/14...-source-psexec/

If you have an open environment without the restricted user policies. "All Local Admins" you can put the executable that you want to execute to the runonce regedit path. Then it runs on the next logon.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...