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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:07:14+00:00 2026-05-30T00:07:14+00:00

There is application that can be started properly by Windows 2008, lets call it

  • 0

There is application that can be started properly by Windows 2008, lets call it App1.

When the same application is started by another application (Launcher), App1 crashes in secur32.dll.
Research indicated environment in those 2 cases was different.

When application crashes, it’s environment has one extra variable __COMPAT_LAYER=ElevateCreateProcess.

Setting __COMPAT_LAYER=asInvoker on a global system level didn’t resolve the issue.
Adding App1 and Launcher to registry at HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers also doesn’t resolve it.

Both programs have the following permission in their manifests: requestedExecutionLevel level=”asInvoker” uiAccess=”false”

UAC is turned off. Windows updates are up to date.
The only solution that helps is injecting another program in between that clears the __COMPAT_LAYER or sets it to asInvoker.

What can possibly be the cause of ElevateCreateProcess and how to avoid it? Thank you.

  • 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-30T00:07:16+00:00Added an answer on May 30, 2026 at 12:07 am

    As it turns out the issue was prompted by calling GetUserName during dll init which crashes on Vista. Related post is https://groups.google.com/group/microsoft.public.win32.programmer.kernel/browse_thread/thread/ae1b1e4ecbb6b123/1e9fefd4c8b12452

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

Sidebar

Related Questions

Ignoring the IE case, are there any other browsers that can't understand the application/xhtml+xml
Is there something like a panel that I can use in a MFC application.
I've recently started creating a WPF application, and am just hoping that someone can
Is there any application that will read a MySQL database table and generate a
Is there a good application (that has some kind of gui) for testing memory
Is there an application out there that Generates an HTML form from a PDF
Is there a way to Minimize an external application that I don't have control
is there a way to capture application that was previously active, before my application
In the application that I am working on, there is tabular data (for the
In an application that has multiple webviews, is there any way to have the

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.