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

  • Home
  • SEARCH
  • 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 8591633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:34:16+00:00 2026-06-11T23:34:16+00:00

How will ProcessStartInfo.UseShellExecute affect my running process? Do i need special permissions from UAC

  • 0

How will ProcessStartInfo.UseShellExecute affect my running process?

Do i need special permissions from UAC to UseShellExecute?

Will it run on diffrent user?

Will it give me new permissions?

  • 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-11T23:34:17+00:00Added an answer on June 11, 2026 at 11:34 pm

    Windows has two distinct api functions to get a process started. The low-level one is CreateProcess(), it directly maps to a native api function. And there’s ShellExecuteEx(), a function that’s implemented by the shell (Explorer). It has a much higher level of abstraction.

    They are very different capabilities and that’s something you see back in the documentation for ProcessStartInfo. CreateProcess() can only start executable files but it has good support to control a console mode program, including the ability to redirect I/O and control the appearance of the console window. ShellExecuteEx() takes advantage of the capabilities added by the shell, file associations being the big one, so you can start the executable that’s registered for a specific filename extension.

    Both api functions have options to affect the way the process execute. You’ll see a close correlation between the properties of the ProcessStartInfo class and the Process Creation Flags supported by CreateProcess and the fields in the SHELLEXECUTEINFO structure that ShellExecuteEx() uses. But these features don’t overlap so that’s why you need to tinker with UseShellExecute.

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

Sidebar

Related Questions

I'm currently using a homegrown method to run a process as a different user
I have a process that needs to run under administrative privileges. I need the
i need to run console applications from another c# application,how to load & pass
I'm trying to run a batch file via VB and I need to wait
I open up a notepad from my program using Process.Start() but the new opened
This is code from a class library: proc.StartInfo = new ProcessStartInfo(CmdPath, +an -b); proc.StartInfo.RedirectStandardOutput
I have a command line executable that is run from a C# class library.
I'm trying to run a command via command prompt from an ASP.Net web application.
I'm working on a .NET Windows application that will use Process.Start to launch another
I'm making an application that will monitor the state of another process and restart

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.