Raul Posted August 6, 2007 Posted August 6, 2007 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?
geezery Posted August 6, 2007 Posted August 6, 2007 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 PStoolsI 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
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