application installation and login script

M

Mark Radant

Hi all

I must install an application on some user PCs (win2k professional). I
want to do so via login script, launching the installation from a
batch file but the user needs to have local admin privileges to
install the apllication.

How can i run the install from the login script with admin
privileges??

SU???

the AT scheduler?
 
J

Jerold Schulman

Hi all

I must install an application on some user PCs (win2k professional). I
want to do so via login script, launching the installation from a
batch file but the user needs to have local admin privileges to
install the apllication.

How can i run the install from the login script with admin
privileges??

SU???

the AT scheduler?
See tip 7111 in the 'Tips & Tricks' at http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
T

Torgeir Bakken (MVP)

Mark said:
I must install an application on some user PCs (win2k professional). I
want to do so via login script, launching the installation from a
batch file but the user needs to have local admin privileges to
install the apllication.

How can i run the install from the login script with admin
privileges??

Hi

If it doesn't matter if the password is in clear text:

Sanur Commandline Runas Automation Utility (free)
http://www.commandline.co.uk/sanur/

CPAU on the free win32 c++ tools page of
http://www.joeware.net


if it does:

Some 3rd party RunAs solutions that "hides" (encrypt) username/password
are listed in the link below (buy solutions). Can be run from network shares,
so nothing needs to be installed on the client computers.

http://groups.google.com/[email protected]


And from a recent post by Peter M.:

<quote>
I am currently using AutoIt V3 (http://www.hiddensoft.com/autoit3/)
It includes a command to run a command as a special user. You can
write a simple script and then compile it with autoit as an executable.
Protect this executable with a password and you are done.

AutoIt V3 ist still beta and under development, but the actual version
is stable and the functions you need (runasadmin,regwrite...) are
already implemented and working.
</quote>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top