Batchfile in admin mode
hi,
From our headquaters i received a batch file that calls an xml installation file. The batchfile starts the xml with some extra parameters (report path, sourcepath, etc). The problem is that i need to start the batchfile with administrative rights or the installation don't work.
As i need to install this on about 600 clients (most of them are remote) i'd like check if someone knows a way how i can do this with user interferance.
Thx
BaldEagle
From our headquaters i received a batch file that calls an xml installation file. The batchfile starts the xml with some extra parameters (report path, sourcepath, etc). The problem is that i need to start the batchfile with administrative rights or the installation don't work.
As i need to install this on about 600 clients (most of them are remote) i'd like check if someone knows a way how i can do this with user interferance.
Thx
BaldEagle
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
rpfenninger
18 years ago
Hi baldeagle
There are several ways to achieve this. However we need a little more information about your environment. Do you have a software deployment mechanism. Do you use .msi packages?
You could - for example, it depends on how complicated that batch file is - execute that thing within an msi.
Or if you'd like to start the execution of the batch file by putting it into a login script.
Then the tool TQC Runas could be helpful as you can script the command line you want to be executed together with the account name with administrative rights as well as the password in an encrypted (!) file.
For more infos check: http://www.quimeras.com
Hope that helps
Roland
There are several ways to achieve this. However we need a little more information about your environment. Do you have a software deployment mechanism. Do you use .msi packages?
You could - for example, it depends on how complicated that batch file is - execute that thing within an msi.
Or if you'd like to start the execution of the batch file by putting it into a login script.
Then the tool TQC Runas could be helpful as you can script the command line you want to be executed together with the account name with administrative rights as well as the password in an encrypted (!) file.
For more infos check: http://www.quimeras.com
Hope that helps
Roland
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.