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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:40:07+00:00 2026-05-24T21:40:07+00:00

WriteProcessMemory() doesnt work for me as I get an access denied error. I am

  • 0

WriteProcessMemory() doesnt work for me as I get an access denied error.

I am currently launching the process using

CreateProcess(wcImageName, wcCommandLine, NULL, NULL, false, DEBUG_PROCESS, NULL, NULL, &stStartupInfo, &stProcessInfo);

How do I modify this to gain write access?

I am launching this process on the same machine. How can I get write access without providing username and password?

  • 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-24T21:40:08+00:00Added an answer on May 24, 2026 at 9:40 pm

    Make sure you are calling WriteProcessMemory with correct handle, and in the debugger loop. You may read this article.

    When you create process, you do have full rights – and when you launch with DEBUG_PROCESS or DEBUG_ONLY_THIS_PROCESS you have more rights!

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

Sidebar

Related Questions

I tried using both ReadProcessMemory() and WriteProcessMemory() in my application,but in both cases I
I've got a running process which is using 'Test.dll'. I would like to know
I'm trying to read a process memory using the following code: void readdata(HANDLE phandle,
i need to use EM_GETTEXTRANGE with WriteProcessMemory and ReadProcessMemory in c# i already get
I've been trying to get the text of items in listview another process. I
I'm looking for a method for storing the process memory, and restore it later
I'm using C (not C++) and I'm unsure how to avoid using global variables.
Lets assume I've allocated the address where my codecave is placed using VirtualAllocEx (it
I am trying to create a code coverage tool using Delphi 2007. My general
How do I WriteProcessMemory with an int value?

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.