/build/static/layout/Breadcrumb_cap_w.png

Move file to system32 and run

Hello,

I have looked over many questions but haven't found an answer.

We have some custom software and the developer has some interesting install procedures.

So, they want us to move an .msi and batch script to System32 and then run the batch as Administrator. I trust this developer so there's nothing fishy going on but trying to get Kace SMA to do this automatically is frustrating.

I've tried adding a line to the batch script to copy the .msi to System32 and then run it but it's not wanting to copy/move over due to permissions. I've tried making a shortcut and having the shortcut run as Administrator. That works but I haven't gotten SMA to run the shortcut, you have to manually go and run it.

Any suggestions?


Thanks,

Bradley


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: anonymous_9363 5 years ago
Red Belt
1
 I trust this developer

You trust a developer that can't get an MSI to install without it being run from System32?!? I wouldn't trust them to get out of bed without causing themselves serious injury! I've encountered some clueless vendors in my time but I think you may have hit pay-dirt with this bunch!

Posted by: SMal.tmcc 5 years ago
Red Belt
0

Top Answer

create 2 scripts

first runs as system that moves the files to system 32

the second runs as administrator to install.  You should be able to take the batch file and use that as a batch script.

use task chains to run one after the other. 



Comments:
  • Thank you! That worked. - Ballen 5 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ