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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:14:58+00:00 2026-06-12T18:14:58+00:00

i created a winform application. my program needs administrator permissions to work, so i

  • 0

i created a winform application.

my program needs administrator permissions to work,
so i added app.manifest file with the following privileges:

<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
    <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>

i added the program to the windows 8 autostart so it should autostart.
when i change the app.manifest to the following line, it loads successfully at start of windows.

<requestedExecutionLevel level="asInvoker" uiAccess="false" />

how can i start my program with windows and still keep its administrator permission?

thanks,
shlomi

  • 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-12T18:14:59+00:00Added an answer on June 12, 2026 at 6:14 pm

    Either separate the functionality that needs high privileges and put it in a Windows Service (you can set the account under which the server starts or the SYSTEM account by default). OR start your application using scheduled tasks (here you can also choose the account/privileges under which your application runs)

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

Sidebar

Related Questions

This is related to Alternate Application.Run Winform In Program.cs File I have created textfile
I created a Winform in VB.NET, and I added a Splitter control to allow
I'm using VS2010 (C#) for a WinForm database program. I've created a dataset, myds,
I have created a C# WinForms application. On my computer the following works: DateTime.ParseExact(13/05/2012,
I have several controls in a winform application that I added databindings to using
I have a C# WinForm application. This program is designed to create and open
Possible Duplicate: C# WinForm Application - UI Hangs during Long-Running Operation I created a
I've just created a Winform in C# that uses WaTiN. The program works fine
I have created a textBox control on run-time for my winform application. The control
i created WiX installer project for deploying my .net winform app on a customer

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.