How can I detach an xxx.exe file in a Windows 7 environment with UAC?

15 pts.
Tags:
LotusScript
Microsoft Windows 7
UAC
I want to distribute a compiled AutoIT script via a Notes database to PCs running Windows 7 and UAC. [1] Are there "safe" folders into which an executable can be detached so that it can be executed later via a Shell statement? [2] Is there any way to prevent the user from having to deal with interference from UAC when the file is detached? I'd like the process to be relatively seamless and to require as little user intevention as possible; preferably none. [3] Can anything be done using WMI classes or other Windows features "under the covers"?

Software/Hardware used:
Notes 6.5 or 8.5 and Windows 7.

Answer Wiki

Thanks. We'll let you know when a new response is added.

No there are no “safe folders”. That would pretty much defeat the point of UAC as every virus would simply install into that folder.

Some things which will avoid UAC needing to be activated.

  1. Don’t have setup or install in the app’s name
  2. Don’t reference anything in the C:\Windows folder
  3. Don’t try to install anything
  4. Don’t try to write to the registry unless it’s to the apps own tree in the registry
  5. Don’t try and write to C:\Program Files

Other than that it’s going to be some trial and error to get it working without UAC.  Also don’t forget that not all your employees will be local admins so be sure to take that into account as well.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following