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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:12:16+00:00 2026-05-22T15:12:16+00:00

I added the Manifest file with the element <requestedExecutionLevel level=requireAdministrator uiAccess=false /> I built

  • 0

I added the Manifest file with the element

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

I built the project and it keeps crashing when a non-administrator runs it.

Unhandled Exception: System.Security.SecurityException: Request for
the permissi on of type
‘System.Security.Permissions.RegistryPermission, mscorlib, Version=2.
0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand,
StackCrawlMa rk& stackMark, Boolean isPermSet) at
System.Security.CodeAccessPermission.Demand() at
Microsoft.Win32.RegistryKey.CheckSubKeyReadPermission(String
subkeyName) at
Microsoft.Win32.RegistryKey.CheckOpenSubKeyPermission(String
subkeyName, B oolean subKeyWritable) at
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at
LotusTrustedSites.RegistryKeyExtensionMethods.GetOrCreateSubKey(RegistryKe
y registryKey, String parentKeyLocation, String key, Boolean writable)
at LotusTrustedSites.ReportDownloader.Main(String[] args) The action
that failed was: Demand The type of the first permission that failed
was: System.Security.Permissions.RegistryPermission

The assembly or AppDomain that failed was: MyApp, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null The method that caused the
failure was: Microsoft.Win32.RegistryKey
GetOrCreateSubKey(Microsoft.Win32.RegistryKey, Syste m.String,
System.String, Boolean)

  • 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-22T15:12:17+00:00Added an answer on May 22, 2026 at 3:12 pm

    Of course it fails. You told it to require administrator access, and non-administrator accounts don’t have the ability to provide that. Did you expect it to run with administrator privileges for non-admin users? That would be a major security flaw in Windows if it were possible.

    If you need an app to run as an administrator that is accessible to non-admins, the only way I know to do it is to install the app as a scheduled task, and set the task to run using an admin account. Non-admins should still be able to see and run this task, and it will use the supplied admin credentials.

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

Sidebar

Related Questions

I added this is my manifest file - <receiver android:name=.ServiceReceiver> <intent-filter> <action android:name=android.intent.action.PHONE_STATE />
Ok so I've added the permission to the manifest file and paired my devices
I added a text file to a testapp's solution and I want to read
I am trying to build an ASP.NET project, but Visual Studio keeps giving me
I'm working on a mobile site for the iphone. I've added a cache manifest
Using HTML5 and the Site.Manifest file, is it at all possible to create a
I have created jar file for my project. It is running successfully. There is
I have a component library. It has a manifest file that looks like this:
Added: Working with SQL Server 2000 and 2005, so has to work on both.
Added : I am conducting a study for a new system we're going to

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.