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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:33:41+00:00 2026-06-14T11:33:41+00:00

My software stores some values in HKCU\Software\mysoftware which has never been a problem. However,

  • 0

My software stores some values in HKCU\Software\mysoftware which has never been a problem. However, I now also store some values in HKCU\Software\mysoftware\Licenses – ie a subdirectory of the existing data. However, 24 hours later those values simply disappear.

I put logging in my software to check it wasn’t deleting the keys and there are no log entries, which is quite expected as the software isn’t even running. Somebody suggested using process viewer (from Microsoft) which can trace registry events: however, that gave up working (too many events, even though I’m only watching HKCU\Software\mysoftware registry events) so I’m still no closer to finding what is deleting those keys!

I use Avast! anti-virus which somebody else suggested could be a culprit. The actual keys are of the form REG_SZ with “[keyname]=[base64string]”. Nothing fancy, around 150 characters. A few hours after the software is closed I can use registry editor to see those values. But sometime later, they’re gone! I rarely reboot.

So what else could be deleting the keys?

UPDATE

Here’s the Delphi 6 code:

procedure XXX;
var
    registry : TRegistry;
    code : string;
begin
    try
        registry := TRegistry.Create;
        if registry.OpenKey(REGISTRY_ROOT, true) then begin
            code := [...a base64 string, around 150 chars on average...];
            registry.WriteString(simname, code);
        end;
    finally
        FreeAndNil(registry);
    end;
end;
  • 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-14T11:33:42+00:00Added an answer on June 14, 2026 at 11:33 am

    Still no closer to finding a solution; however, all I can think of (suggested elsewhere) is that it’s the anti-virus confining the application to a sandbox, though there’s no notification of such.

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

Sidebar

Related Questions

Our software has data to store, so it also install MYSQL, a root user
A stupid third-party software that we use stores datetime as varchar for some good
We make distributal software that stores some data (attachments) in a) a database or
I've been doing some research on STM (software transactional memory) implementations, specifically on algorithms
Been tasked to write some asset tracking software... Want to try to do this
I'm developing a software in Java which continuously takes screenshots of the desktop, stores
I'm looking for [free] server software to store hierarchal data efficiently. My key challenge
My software is getting some strings in UTF8 than I need to convert to
Can software be written (for some specific programming language, platform, etc.) that will inform
Our software has a swing panel that's used to list jdk installation paths. For

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.