Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3305008
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:07:19+00:00 2026-05-17T21:07:19+00:00

Application2 was orginally developed an application for WinXP. Now I have to contend with

  • 0

Application2 was orginally developed an application for WinXP. Now I have to contend with User Account Control (UAC) on Win7. The Application2 runs fine on Win7 as long as the user is logged into an Administrator account and they select “Run as administrator.” However, I am trying to evaluate whether it is possible to refractor Application2 so that it does not require an Administrator account and “Run as administrator.” I would also like to avoid any dialog boxes requiring users to make a choice if possible.

Application2 features that currently require “Run as administrator”

  1. Create System Data Sources (ODBC)
  2. Read/write/delete registry keys
  3. Copy/delete files in C:\Program Files\MyApp
  4. Encypt/decrypt files in C:\Program Files\MyApp
  5. Start .exe processes located in a shared folder on a remote machine
  6. Start VBScript processes that install Office Add-ins and read/write/delete registry keys
  7. Copy/delete/modify files in C:\Program Files\MyApp\MyData

Number 6 can be solved by relocating this folder to My Documents (its location is stored in the registry*), or granting the user “Full control” permissions to C:\Program Files\MyApp\MyData, or letting Win7 make the necessary modifications in the VirtualStore folder.

Numbers 3 and 4 is more difficult to deal with because Application1 has to read files in C:\Program Files\MyApp. Application1 will not be using “Run as administrator,” and I need to do more research to figure out how the VirtualStore folder can be used to bridge the gap between Application2 and Application1.

As for the other points, I am trying to figure out options:

  1. Please let me know if/how it is possible to perform these actions under a non-Administrator user account and without “Run as administrator.”
  2. Please let me know if any of the actions are impossible without being an Administrator.
  3. Feel free to point out any technical mistakes that I may have made in the contents of this question.
  4. Again, I am trying to avoid dialog boxes during application runtime.

*Thinking out loud here: I would need to delete C:\Program Files\MyApp\MyData after copying to C:\My Documents\MyData, and I would need to modify the registry key storing the folder path, maybe these steps could be done during installation.


Discoveries

On Windows 7, even without “Run as administrator” you can:

  1. Create/delete User Data Sources
  2. Create/modify/delete files in C:\Users\Public\Documents or C:\Users\currentuser\Documents
  3. Create/delete registry keys in HKEY_CURRENT_USER

Furthermore, I believe it is dangerous to have a Windows 7 application without a UAC Application Manifest file. Because, if you don’t have one, Windows 7 decides for you whether to run the application in Compatibility Mode or not. If you have one, you can specify how your application needs to run.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:07:20+00:00Added an answer on May 17, 2026 at 9:07 pm

    No, you can’t do these things without getting elevated. The point of UAC is not to stop you from doing this, it is to let the user know that you’re about to do this. An obvious and valuable property of UAC is that it doesn’t provide a backdoor to do these things anyway without the user knowing about it. This is not a problem, it is a feature.

    What you describe doesn’t strike me as something that needs to happen frequently. This should not wear out the user. If that’s an issue, you can run it from a scheduled task using an admin account.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that has been running fine since its launch over a
i have done developed a sample application with the help of tutorials posted on
So I have an MS Access application originally in a 2002-2003 format. Developed on
I have a java web application, which runs on a number of servers. Some
I have an application that is developed in a Windows environment. The application itself
I have developed a set of apis that live on an asp.net mvc application,
I have an application that is now running on PHP 5.3 that was originally
I have an application that was originally written in Borland C++ and used a
It is a windows application. Originally I have a dataset for a dropdown menu
Application, have a TextBlock and two Buttons, the text is displayed TextBlock by clicking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.