Results 1 to 8 of 8

Thread: Restricting changes to parts of the registry?

  1. #1

    Thread Starter
    Hyperactive Member stilekid007's Avatar
    Join Date
    Apr 2005
    Location
    DUDE! I'm your neighbor! HELLO!!!
    Posts
    388

    Restricting changes to parts of the registry?

    Hello,

    I have a program that makes a registry setting and I need to restrict the user from being able to delete it. Is there any way to do this?

    Thank you!
    Stilekid007

    ______________________________________________
    I RATE ALL HELPFULL POSTS!

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Restricting changes to parts of the registry?

    No I don't think so.

  3. #3
    Hyperactive Member Frodo_Baggins's Avatar
    Join Date
    Feb 2004
    Location
    Sao Paulo, Brazil
    Posts
    397

    Re: Restricting changes to parts of the registry?

    Technically, you could have a program running in the background that checks the registry entry, say, every minute or so. If the setting differs from the previous value stored in a variable in that program, then the program could re-write the value in the registry...
    If you need help coding it, I can help...
    Ash Nazg durbatuluk, Ash Nazg gimbatul, Ash Nazg tharkathuluk, Agh barzum-ishi krimpatul.

  4. #4

    Thread Starter
    Hyperactive Member stilekid007's Avatar
    Join Date
    Apr 2005
    Location
    DUDE! I'm your neighbor! HELLO!!!
    Posts
    388

    Re: Restricting changes to parts of the registry?

    Hey - thats not a bad idea. See the reason I asked was becuase I am making a trial program that will expire in 15 days but the user could delete the registry setting and then restart the trial. So I don't really want to have my program install a program that runs 24/7.

    Thank you for the suggestion. I really appreciate it!
    Stilekid007
    Quote Originally Posted by stilekid007
    I RATE ALL HELPFULL POSTS!

  5. #5
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    Re: Restricting changes to parts of the registry?

    You could also make your program check the entry when your program starts and if it isn't there, make your program display a message and unload.

    -Sir Loin

  6. #6
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: Restricting changes to parts of the registry?

    well see, the only way to do this is to have an online database so they cant crack it. Or have it save to a really remote part of the registry, so that they cant find it. I think thats your best bet.

  7. #7

    Thread Starter
    Hyperactive Member stilekid007's Avatar
    Join Date
    Apr 2005
    Location
    DUDE! I'm your neighbor! HELLO!!!
    Posts
    388

    Re: Restricting changes to parts of the registry?

    Yea 2emix thats exactly what I was thinking.

    I am making to different types of trial programs and I will see which one I like best

    Stilekid007
    Quote Originally Posted by stilekid007
    I RATE ALL HELPFULL POSTS!

  8. #8

    Thread Starter
    Hyperactive Member stilekid007's Avatar
    Join Date
    Apr 2005
    Location
    DUDE! I'm your neighbor! HELLO!!!
    Posts
    388

    Re: Restricting changes to parts of the registry?

    Sir Loin thats something I might be able to work on a little and see if I can't come up with something. Thanks for the suggestion!
    Stilekid007
    Quote Originally Posted by stilekid007
    I RATE ALL HELPFULL POSTS!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width