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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:09:10+00:00 2026-05-14T20:09:10+00:00

I know how to launch a process with Admin privileges from a process using:

  • 0

I know how to launch a process with Admin privileges from a process using:

proc.StartInfo.UseShellExecute = true;
proc.StartInfo.Verb = "runas";

where proc is a System.Diagnostics.Process. But how does one do the opposite?

If the process you’re in is already elevated, how do you launch the new process without admin privileges? More accurately, we need to launch the new process with the same permission level as Windows Explorer, so no change if UAC is disabled, but if UAC is enabled, but our process is running elevated, we need to perform a certain operation un-elevated because we’re creating a virtual drive and if it’s created with elevated permissions and Windows explorer is running unelevated it won’t show up.

Feel free to change the title to something better, I couldn’t come up with a good description.

  • 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-14T20:09:11+00:00Added an answer on May 14, 2026 at 8:09 pm

    We ended up using the sample from this Code Project article: High elevation can be bad for your application: How to start a non-elevated process at the end of the installation

    It seems to work so far, I gather it injects into RunDll32.exe, my C++/Win32 is fairly weak so I didn’t look too much into the actual implementation, just it’s use. Confirmed that it works in Vista and Win7 both x86 and x64 (at least for us, x86 and x64 require different dll’s which is checked for at install time and the proper one is used).

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

Sidebar

Ask A Question

Stats

  • Questions 493k
  • Answers 493k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Your code: public static User FindUser(User[] users, int noteid) {… May 16, 2026 at 10:48 am
  • Editorial Team
    Editorial Team added an answer If you need to expose check_stuff as public (as well… May 16, 2026 at 10:48 am
  • Editorial Team
    Editorial Team added an answer I want to know any other better way for including… May 16, 2026 at 10:47 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

i'm using CreateProcessAsUser in c# to launch a process by a service my service
I have a long running process and I need it to launch another process
I have a python program that uses subprocess.Popen to launch another process (python process
I would like a Win32 process to launch an external script and be able
I know I am doing a small mistake. I am using LinearLayout and I
I know I can remove the last element from a set: s.Remove(s.MaximumElement) But if
I'm trying to write an Outlook Addin in C# using Visual Studio 2010 and
I was discussing load-balancing with a colleague at lunch. I admit that I know
Is there any way of writing pexpect like small program which can launch a
The default ASP.NET web server that launches from within Visual Studio (Casini) is a

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.