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 8692589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:20:35+00:00 2026-06-13T00:20:35+00:00

I need to (on user demand) run an admin process several times from my

  • 0

I need to (on user demand) run an admin process several times from my app.
I would like for users to enter admin credentials only once – so I would have to somehow store the credentials.

However I heard it’s not possible to do this because of the way that UAC is designed.

Any other suggestions?

  • 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-06-13T00:20:36+00:00Added an answer on June 13, 2026 at 12:20 am

    You can not store admin credentials. Instead, run your admin process once, and leave it elevated and running in the background in case you need to do more things. You can communicate with it via NamedPipes or sockets.

    For an example of how you could use WCF to communicate, there is a very simple example here: http://bloggingabout.net/blogs/dennis/archive/2007/04/20/wcf-simple-example.aspx

    You should probably create the WCF ServiceHost on the admin process.

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

Sidebar

Related Questions

I need to store user credentials in my app. I can store and retrieve
I would like to be able to run an on demand backup of a
I need the user to enter a URL within my form. However, URL is
I need to implement a view where I need the user to answer several
i have a text field in Contact screen and the user need to enter
In my iPhone app I'd like to monitor if the user enters some particular
I would like to take advantage of: Page.User.IsInRole(CustomRole); Page.User.Identity.IsAuthenticated when working inside Page methods,
I wish to Sync or download multiple files from server on user demand in
I need user to define all the environment variables needed for my program in
I need the user to be able to upload multiple files to my server,

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.