This installation also needs to be run from mapped drive.  I would
really like to run this in GPO via VB Script.  If anyone knows the best
way to this, lemme know.

-Devon

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Jessop
Sent: Tuesday, July 19, 2005 11:50 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Logon script with Admin rights

There is simple way of doing this that works if
a) the .exe has a quiet option (-q for example) with no gui output
b) it is not necessary to install the program from a logon script


Simply install the program from another machine using psexec.exe 
i.e
logon remote machine with sufficient privileges and run
psexec -c \\remotemachine "install.exe -q"
where install.exe is the installation program

This method has several advantages if you put it in a script
1) It can easily be extended to install over a range of computers
2) You can get feedback as to whether it has installed or not. 

As Rick points out preparing .msi files has it's drawbacks, not least
of which is access to a clean machine to prepare it on.


Regards

Peter Jessop
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

-----------------------------------------
__________________________________
This message and any attachments are solely for the intended recipient
and may contain confidential or privileged information.  If you are not
the intended recipient, any disclosure, copying, use or distribution of
the information included in the message and any attachments is
prohibited.  If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments.  Thank You.

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to