[Installing an EXE package remotely and silently during a rollout] - Computers



Search Tech-Forums - link takes you to our Forum's search page.

Note: The following is only a text archive!


To view the actual forum discussion, please visit our website at http://www.tech-forums.net

Pages:1



Installing an EXE package remotely and silently during a rollout

(Click here to view the original thread with full colors/images)



Posted by: downinfront

Some time ago I was required to roll out a personal firewall client to wireless notebooks and other desktops. A EXE package was assembled which required no user input. Now all that was required was an application to deploy it without notice to the user. There would be no black boxes and dialog boxes appearing. Also another requirement was it must run in administrator context. Quite a tall order. One such utility fits the bill. A utility from the popular web site [url]http://www.sysinternals.com[/url] is included in the PSTOOLs package. This tool package is free to download and use.

So making use of the PSEXEC utility with the -c switch it was possible to copy the EXE package onto the remote computer and execute it without any user intervention. So its possible to install not only application packages but also critical hotfixes using the silent switches of hotfixes. This is a great utility for help desks and remote administrators.
For Example psexec \\remotepc -c "c:\mydeployment\pwfirewall.exe"
PSEXEC - Utilities like Telnet and remote control programs like Symantec's PC Anywhere let you execute programs on remote systems, but they can be a pain to set up and require that you install client software on the remote systems that you wish to access. PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. PsExec's most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems.

usage: psexec \\computer [-u username [-p password]] [-s] [-i] [-c [-f]] [-d] program [arguments]

-u Specifies optional user name for login to remote computer.
-p Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.
-s Run remote process in the System account .
-i Run the program so that it interacts with the desktop on the remote system.
-c Copy the specified program to the remote system for execution. If you omit this option then the application must be in the system's path on the remote system.
-f Copy the specified program to the remote system even if the file already exists on the remote system.
-d Don't wait for application to terminate. Only use this option for non-interactive applications.
program Name of the program to execute.
arguments Arguments to pass (note that file paths must be absolute paths on the target system)



Posted by: bla!!

I know this is quite old, but does psexec have any encryption with it? That's the only reason we chose UltraVNC over other tools...



Posted by: downinfront

we use ultravnc as well now, good choice





vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited.


PPC Management
vB Easy Archive Final - Created by Xenon