Author Topic: Retrieve a value after PC format  (Read 550 times)

0 Members and 1 Guest are viewing this topic.

Coder

  • Swamp Rat
  • Posts: 754
Retrieve a value after PC format
« on: August 08, 2019, 01:49:46 PM »
Hello guys,

I wrote a few data to a registry for my first small trial routine to a friend of mine and after the trial version was expired, he formatted his PC and the routine starts working over once again.  :cry:

Is there a way to work around this issue ?

Thanks in advance.

Lee Mac

  • Seagull
  • Posts: 12241
  • London, England
Re: Retrieve a value after PC format
« Reply #1 on: August 08, 2019, 02:01:11 PM »
No data stored locally will survive a format of the OS; one possible solution is to have your program 'phone home' by contacting a web server to validate the license.

VovKa

  • Swamp Rat
  • Posts: 1118
  • Ukraine
Re: Retrieve a value after PC format
« Reply #2 on: August 08, 2019, 02:05:23 PM »
Is there a way to work around this issue ?
of course
there is no need to format the hard drive
tell your friend that he can use a registry spy (classified*)
it will show what values your app is writing to the registry
then he can simply delete them

i hope i've understood your question correctly ;)
« Last Edit: August 08, 2019, 04:00:26 PM by VovKa »

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #3 on: August 08, 2019, 02:31:22 PM »
Thank you Lee for your confirmation and suggestion.

Vovka, please modify your reply and remove the spy details since that would be a nightmare to programmers and thanks for letting me know this before I dive deeper into registry field.  :lol:

Thanks.

VovKa

  • Swamp Rat
  • Posts: 1118
  • Ukraine
Re: Retrieve a value after PC format
« Reply #4 on: August 08, 2019, 03:59:27 PM »
before I dive deeper into registry field.  :lol:
of course there are also file monitors :)
being a paranoid i make snapshots of my registry and filesystem now and then
i may say these protection methods are weak

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #5 on: August 08, 2019, 04:31:45 PM »
of course there are also file monitors :)
being a paranoid i make snapshots of my registry and filesystem now and then
i may say these protection methods are weak
Can I ask you what is the best protection method that you trust and depend on?
You destroyed my wishes of security with your replies and have no place to hide.  :laugh:

Lee Mac

  • Seagull
  • Posts: 12241
  • London, England
Re: Retrieve a value after PC format
« Reply #6 on: August 08, 2019, 04:33:07 PM »
Is there a way to work around this issue ?
of course
there is no need to format the hard drive
tell your friend that he can use a registry spy (classified*)
it will show what values your app is writing to the registry
then he can simply delete them

i hope i've understood your question correctly ;)

 :-D

MP

  • Seagull
  • Posts: 17370
Re: Retrieve a value after PC format
« Reply #7 on: August 08, 2019, 04:46:21 PM »
OMG hilarious.  :lol:
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

VovKa

  • Swamp Rat
  • Posts: 1118
  • Ukraine
Re: Retrieve a value after PC format
« Reply #8 on: August 08, 2019, 05:25:01 PM »
what is the best protection method that you trust?
freeware

VovKa

  • Swamp Rat
  • Posts: 1118
  • Ukraine
Re: Retrieve a value after PC format
« Reply #9 on: August 08, 2019, 05:34:59 PM »
You destroyed my wishes of security with your replies and have no place to hide.  :laugh:
your wishes could've destroyed your whole business :)

i can not suggest the best protection method because i do not know what are you trying to achieve

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #10 on: August 08, 2019, 05:41:17 PM »
You destroyed my wishes of security with your replies and have no place to hide.  :laugh:
your wishes could've destroyed your whole business :)

i can not suggest the best protection method because i do not know what are you trying to achieve
No business yet with programming because I think I have a very long way with this to go.
I wanted to know if possible as long as the registry is not that safe. What is the other way that can be safe for saving my routine from being cracked?
That's it.
Thank you.

Master_Shake

  • Swamp Rat
  • Posts: 1439
Re: Retrieve a value after PC format
« Reply #11 on: August 08, 2019, 05:57:19 PM »
There is no way really unless its 100% server side hosted. Just remember, locks only keep honest people honest.

VovKa

  • Swamp Rat
  • Posts: 1118
  • Ukraine
Re: Retrieve a value after PC format
« Reply #12 on: August 08, 2019, 06:33:03 PM »
What is the other way that can be safe for saving my routine from being cracked?
i do not have an answer to your question
i do not sell programs
therefore i do not protect them

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #13 on: August 08, 2019, 06:38:14 PM »
What is the other way that can be safe for saving my routine from being cracked?
i do not have an answer to your question
i do not sell programs
therefore i do not protect them
It's okay, I hope my question was not bothering to you all.
I have learned a lot from your kind replies, thanks a lot for your time.

VovKa

  • Swamp Rat
  • Posts: 1118
  • Ukraine
Re: Retrieve a value after PC format
« Reply #14 on: August 08, 2019, 06:53:19 PM »
thanks a lot for your time.
you are most welcome, Coder

BIGAL

  • Bull Frog
  • Posts: 286
  • 30 + years of using Autocad
Re: Retrieve a value after PC format
« Reply #15 on: August 10, 2019, 01:10:40 AM »
You may have to work the percentages how many out there would even know how to change stuff in the registery. let alone even how to find a registery snooper. Have more than one level of security. Say your using lisp you can add a security check code to all your code in a few seconds if you know old fashioned DOS then compile. Use the hard disk ID stops copying. But new pc means re-issue code.

Lee's suggestion of ping a server is probably best.
A man who never made a mistake never made anything

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #16 on: August 10, 2019, 09:08:19 AM »
one possible solution is to have your program 'phone home' by contacting a web server to validate the license.
Hello.
Sorry I did not get the point that clearly, can you please explain the procedure if that is not bothering at all?
Thank you.

BIGAL

  • Bull Frog
  • Posts: 286
  • 30 + years of using Autocad
Re: Retrieve a value after PC format
« Reply #17 on: August 11, 2019, 12:51:02 AM »
Basically web server means you have access to a www.yourwebserver. It can then check say against a Hard disk id and client name held in a file on the server. If don't match don't run.
A man who never made a mistake never made anything

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #18 on: August 11, 2019, 06:16:54 AM »
Basically web server means you have access to a www.yourwebserver. It can then check say against a Hard disk id and client name held in a file on the server. If don't match don't run.
Thank you.
I think you have posted a broken link!

ronjonp

  • Needs a day job
  • Posts: 6995
Re: Retrieve a value after PC format
« Reply #19 on: August 12, 2019, 10:03:11 AM »
Basically web server means you have access to a www.yourwebserver. It can then check say against a Hard disk id and client name held in a file on the server. If don't match don't run.
Thank you.
I think you have posted a broken link!
It was just an example  :wink:

Windows 10 x64 - AutoCAD /C3D 2020

Custom Build PC

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #20 on: August 12, 2019, 11:18:51 AM »
It was just an example  :wink:
I searched the YouTube for a similar subject but with no avail.  :-(

ronjonp

  • Needs a day job
  • Posts: 6995
Re: Retrieve a value after PC format
« Reply #21 on: August 12, 2019, 11:41:32 AM »

Windows 10 x64 - AutoCAD /C3D 2020

Custom Build PC

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #22 on: August 12, 2019, 02:59:20 PM »
Have a look here: https://www.theswamp.org/index.php?topic=45238.msg504330#msg504330
Thank you for your kind reply.
I have no idea what to do with that at the meantime so maybe in another time when I gain more experience in lisp then will investigate further.

Thanks again and have a great day.

BIGAL

  • Bull Frog
  • Posts: 286
  • 30 + years of using Autocad
Re: Retrieve a value after PC format
« Reply #23 on: August 13, 2019, 05:30:31 AM »
You must have access to a web server you could use something like "Go Daddy"

I have a registered web name so next step is to buy server space. Then I will have my own web page. Some internet providers will give you a limited amount of space say 2 GB as part of your monthly internet fees. This is enough for a web page and saving files.

If you look at the example link you would get the program to look for a certain file that say has the hard disk id saved in it. So running on another pc would not work.
« Last Edit: August 13, 2019, 05:33:33 AM by BIGAL »
A man who never made a mistake never made anything

Coder

  • Swamp Rat
  • Posts: 754
Re: Retrieve a value after PC format
« Reply #24 on: August 13, 2019, 07:17:55 AM »
Hello BIGAL,

Do you mean is that the user needs to be connected with the internet when using ( my program ) then the program would check the serial number by connecting right to my web server then once the user is authorized and listed into a certain txt file then allow otherwise disallow?

Is this it?

BIGAL

  • Bull Frog
  • Posts: 286
  • 30 + years of using Autocad
Re: Retrieve a value after PC format
« Reply #25 on: August 17, 2019, 06:10:16 AM »
Correct !
A man who never made a mistake never made anything