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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:20:47+00:00 2026-06-11T01:20:47+00:00

I attempted to run the C++ code at http://msdn.microsoft.com/en-us/library/windows/desktop/aa366531(v=vs.85).aspx , however, it failed with:

  • 0

I attempted to run the C++ code at http://msdn.microsoft.com/en-us/library/windows/desktop/aa366531(v=vs.85).aspx, however, it failed with:

Cannot enable the SE_LOCK_MEMORY_NAME privilege;
please check the local policy.

My OS is Win7 x64.

  • 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-11T01:20:48+00:00Added an answer on June 11, 2026 at 1:20 am

    The problem is that the required group policy is disabled by default under Windows 7 x64.

    Step 1: Find the name of the group policy, in control panel, that matches SE_LOCK_MEMORY:

    The following page describes the group policy rights that are required for a process to enable SE_LOCK_MEMORY_NAME:

    • MSDN: Authorization Constants then follow link to Privilege Constants.

    Note: the column after “SE_LOCK_MEMORY” states “User Right: Lock pages in memory.”. This is the name of the “Local Security Policy” that we want to set in the next step.

    Step 2: Set the group policy described as “Lock pages in memory”:

    The following pages describe how to add the “SE_LOCK_MEMORY” privilege to a username by changing group policy:

    • MSDN: Enable the Lock Pages in Memory Option (Windows)
    • Yahoo: enable group policy for SE_LOCK_MEMORY_NAME

    Note: You must reboot for this new policy to take effect (something that is not mentioned on the MSDN help page).

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

Sidebar

Related Questions

I was following http://code.google.com/p/dart/wiki/BuildingDartium#Build and attempted to build dartium in Release mode and encountered
I attempted to run Clean Code according to this link, however nothing is happening.
I am new to development. I followed step by step instructions from http://code.google.com/apis/maps/articles/flashmapinwpf.html to
I am trying to use the gtm-oauth kit (http://code.google.com/p/gtm-oauth/wiki/GTMOAuthIntroduction) for OAuth2. As instructed by
I am attempting to view the source of http://simpledesktops.com/browse/desktops/2012/may/17/where-the-wild-things-are/ using the code: String URL
I'm attempting to use the code from http://www.codeproject.com/Articles/20165/CheckBox-Header-Column-For-DataGridView in order to add a CheckBox
I'm attempted to install the bzip2-ruby gem on Windows 7 x64. Now I don't
I'm following the guide here: http://webtempest.com/how-to-allow-image-uploads-in-rails-on-heroku/ And I am getting an error whenever I
Using this railscast http://railscasts.com/episodes/127-rake-in-background?autoplay=true as an example/inspiration (i.e. I'm not trying to implement the
I wrote some code using the Microsoft CryptoAPI to calculate a SHA-1 and got

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.