Page 1 of 1
All About .reg file
Posted: Thu Nov 13, 2014 10:02 am
by Rhez
HELLO GUYS,
I'm creating a project in vb.net that will create a .reg file and silently add it to the registry.
I know how to create .reg file but I don't know how to silently add it to the registry .
Is it possible to create a .reg file and directly add it to the registry ? If that so, how can I do that ?
boogy; I will put your name on my project as soon as I finish it as contributor to my project. boogy;
SUMMARY PROBLEM :
* Add silently .reg file to registry file
* If possible create .reg file directly to Registry
Thanks for reading this and your awesome for helping me (in advance) clapper; clapper;
Re: All About .reg file
Posted: Thu Nov 13, 2014 10:10 am
by benji_19994
Your not creating malware are you :S
Re: All About .reg file
Posted: Thu Nov 13, 2014 10:43 am
by Rhez
creating malware ?
I just want to edit the license of my software in another program ..
If I will create malware then why I would like to place the name of those who help me there ?
Re: All About .reg file
Posted: Thu Nov 13, 2014 10:52 am
by benji_19994
I was just asking lol if its changing the license then there should be no issue in the user getting a notification to change registry keys or just make it a requirement that the user has to have UAC or ran as an administrator thats the only way i know
Re: All About .reg file
Posted: Thu Nov 13, 2014 11:12 am
by visualtech
Hey #Rhez,
Regarding licensing, you can use some sort of RSA encrypted licensing file and store it in AppData or the current working directory! It should work as expected. [Trust me, 5 years of research in this field]
Should you need any code, PM me!
Cheers!
Re: All About .reg file
Posted: Thu Nov 13, 2014 1:37 pm
by Rhez
visualtech wrote:Hey #Rhez,
Regarding licensing, you can use some sort of RSA encrypted licensing file and store it in AppData or the current working directory! It should work as expected. [Trust me, 5 years of research in this field] Should you need any code, PM me!
Cheers!
Thanks for that tips sir
But I just want all my work go to be easy.
I'll make a .reg file just like this
[HKEY--BLAHBLAHBLAH]
"name"=" FreeUSER "
"key"="ABCD-EFGH-IJKL-MNOP"
...
just like that then silently add it to the registry. Can anyone help ?
Re: All About .reg file
Posted: Thu Nov 13, 2014 1:54 pm
by CodenStuff
Re: All About .reg file
Posted: Thu Nov 13, 2014 4:27 pm
by visualtech
Well, you CAN use that, but should you? The user can change it! Have some sort of private/public (Asymmetric) algorithm to check the signature of the key!
Re: All About .reg file
Posted: Fri Nov 14, 2014 12:18 am
by mandai
Rhez wrote:
just like that then silently add it to the registry. Can anyone help ?
You can import the data with regedit in silent mode:
Code: Select all Dim psi As ProcessStartInfo = New ProcessStartInfo()
psi.FileName = "regedit.exe"
psi.Arguments = "/s file.reg"
Process.Start(psi)
Re: All About .reg file
Posted: Fri Nov 14, 2014 3:54 am
by Rhez
mandai wrote:Rhez wrote:
just like that then silently add it to the registry. Can anyone help ?
You can import the data with regedit in silent mode:
Code: Select all Dim psi As ProcessStartInfo = New ProcessStartInfo()
psi.FileName = "regedit.exe"
psi.Arguments = "/s file.reg"
Process.Start(psi)
Thanks to all of your IDEA ^_^ .. Specially on sir
CodenStuff and the tips of sir
visualtech ( I am newbie in this field , thanks for the help. My problem is fix )