Sign in to follow this  
Followers 0
kingooo

please help me

26 posts in this topic

#1 ·  Posted (edited)

hi

how are you

I have 2 query about registry editor

1-how to combine some registry file in autoit and automaticlly this script execute this file in registry editor and without getting registry file when i execute this script

query2- if i have this key in registry editor

HKEY_CURRENT_USER\Control Panel\anykey\xxx\reg_sz\yes

i want code execute next step :

if that key ia existing now delete this key

and if that key is not existing , exit form tool and do not work any thing

please, help me

Edited by kingooo

Share this post


Link to post
Share on other sites



There are 3 commands for just this task. Have a look at RegRead, RegWrite and RedDelete in the helpfile :graduated:


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

There are 3 commands for just this task. Have a look at RegRead, RegWrite and RedDelete in the helpfile :graduated:

thanks,

i know this commands and also i know command for combine file in script (fileinstall)

but i want correctly ansewr and codes in script

please see in orginal guery and help me

Share this post


Link to post
Share on other sites

What have you tried?

i want make tool to reset safe mode setting via registry therefor if you can help me that is very good for me

i wait you to give me codes to solve my problem in orginal topic

Share this post


Link to post
Share on other sites

So you want us to write you code for your limited information question?

As mentioned above - RegRead, RegWrite and RegDelete are up to all the tasks you have asked about.

You'll need to read all values (RegRead), do your comparisons (Check help file for If, Then. and 'Operators'), delete the old values(RegDelete), and rewrite the new values(RegWrite).

RegRead

If = "this" Then

RegDelete

RegWrite

EndIf

Give it a shot and let us know how it goes.

Share this post


Link to post
Share on other sites

So you want us to write you code for your limited information question?

As mentioned above - RegRead, RegWrite and RegDelete are up to all the tasks you have asked about.

You'll need to read all values (RegRead), do your comparisons (Check help file for If, Then. and 'Operators'), delete the old values(RegDelete), and rewrite the new values(RegWrite).

RegRead

If = "this" Then

RegDelete

RegWrite

EndIf

Give it a shot and let us know how it goes.

thank you very much for help me

but i have one query about combined some registry file in autoit script

Share this post


Link to post
Share on other sites

You could use fileinstall as you mentioned before to include the file in your script (which is will save the file on the hard drive when the script is run) then you can use run or shellexecute on the reg file, but with regwrite there is no need to do that.

Personally I would open the reg file in notepad and add a regwrite to the script for each registry entry. Then there is no need to create the file on the computer and run it.


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

You could use fileinstall as you mentioned before to include the file in your script (which is will save the file on the hard drive when the script is run) then you can use run or shellexecute on the reg file, but with regwrite there is no need to do that.

Personally I would open the reg file in notepad and add a regwrite to the script for each registry entry. Then there is no need to create the file on the computer and run it.

please help me in this reg file

http://www.mediafire.com/file/8fg36f...a/registry.rar

i want add this file to registry editor

Share this post


Link to post
Share on other sites

Have you even tried to use RegWrite to insert these values? Or search the examples forum - i've seen .reg to .au3 converters posted.

Share this post


Link to post
Share on other sites

i am very sorry :graduated:

the registry file is in below link

http://www.mediafire.com/?8fg36fvbeqm3ana

Share this post


Link to post
Share on other sites

You will find no more help on this. The registry entry you want to include in your code is a crack for kerpasky


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

You will find no more help on this. The registry entry you want to include in your code is a crack for kerpasky

in the fact, i am new in this forum and the main registration reason in this web is to get more information and i want some person to help me

i wait you and wait any one to help me in my problem in orginal topic about how to combine some registry file in script and automatically this reg file execute when i click this script tool.

Edited by kingooo

Share this post


Link to post
Share on other sites

Look

Share this post


Link to post
Share on other sites

Look

please help me

i am beginner in autoit

i do not understand fast therefore you can give me ready codes

reg file is in next link

http://www.mediafire.com/?8fg36fvbeqm3ana

i am wait your answer

thank you very much

Share this post


Link to post
Share on other sites

The link that I gave you is a UDF (User Defined Function) that you use to convert Regfiles to AutoIT. With this function you can convert any regfile to AutoIT script. I'm trying to show you how to solve your problem rather than just providing you the answer...Oh Hell

RegWrite('HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates\CDE75C88D30AD570C99ECC2C261D6065CA1D3412', 'Blob', 'REG_BINARY', '0x448000000100000004000000BC9D2C4C4980000001000000B807000043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310039002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310038002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310037002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310036002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310035002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310034002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310033002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310032002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310031002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310030002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300039002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300038002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300037002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300036002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300035002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300034002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300033002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300032002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300031002E0064006100740000004880000001000000700000005446424E55776C6A5246557A55477473427A514265484A4E4944426D634564704C55566E54565655637A644D524870616646414B616B687A5356634C4D7742705A5656545256703151474E6E65515646417A674B64475978556D6B4850586F3465533568503373753054382F4C673D3D0480000001000000040000002464494C058000000100000010000000485F6152C2D828EC000000000000000002800000010000000400000001000000030000000100000014000000CDE75C88D30AD570C99ECC2C261D6065CA1D34120880000001000000700000005446424E55776C6A5246557A55477473427A514265484A4E4944426D634564704C55566E54565655637A644D524870616646414B616B687A5356634C4D7742705A5656545256703151474E6E65515646417A674B64475978556D6B4850586F3465533568503373753054382F4C673D3D09800000010000005007000043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310038002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310037002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310036002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310035002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310034002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310033002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310032002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310031002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310030002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300039002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300038002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300037002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300036002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300035002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300034002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300033002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300032002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300031002E006400610074000000458000000100000010000000502143B39EB2F9A9000000000000000020000000010000000E0100003082010AA0030201020212313173696B051303045503060C300E311030300906052B0E03021D05003010310E300C060355040313056B69733131301E170D3130303732323134323733385A170D3130303732323134323733385A3010310E300C060355040313056B6973313130819F300D06092A864886F70D010101050003818D0030818902818100B80BC6285906C496427658AF8F3C9C8628F00BB94022E1BB3F778E9D085DB3C82B391FB4343A2B16090439A8CB0BB52435EB36310332BC0A3B781057AA94EF63A2D7655B3A66B5A8DBB0D281AB08565F12C1569340C759AD147B960C6C4ED2C7CCB6625652A424544709B0165322D199B2797B2F99405F568FFAD7C1653B0F350203010001')

Share this post


Link to post
Share on other sites

The link that I gave you is a UDF (User Defined Function) that you use to convert Regfiles to AutoIT. With this function you can convert any regfile to AutoIT script. I'm trying to show you how to solve your problem rather than just providing you the answer...Oh Hell

RegWrite('HKLM\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates\CDE75C88D30AD570C99ECC2C261D6065CA1D3412', 'Blob', 'REG_BINARY', '0x448000000100000004000000BC9D2C4C4980000001000000B807000043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310039002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310038002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310037002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310036002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310035002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310034002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310033002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310032002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310031002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310030002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300039002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300038002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300037002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300036002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300035002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300034002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300033002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300032002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300031002E0064006100740000004880000001000000700000005446424E55776C6A5246557A55477473427A514265484A4E4944426D634564704C55566E54565655637A644D524870616646414B616B687A5356634C4D7742705A5656545256703151474E6E65515646417A674B64475978556D6B4850586F3465533568503373753054382F4C673D3D0480000001000000040000002464494C058000000100000010000000485F6152C2D828EC000000000000000002800000010000000400000001000000030000000100000014000000CDE75C88D30AD570C99ECC2C261D6065CA1D34120880000001000000700000005446424E55776C6A5246557A55477473427A514265484A4E4944426D634564704C55566E54565655637A644D524870616646414B616B687A5356634C4D7742705A5656545256703151474E6E65515646417A674B64475978556D6B4850586F3465533568503373753054382F4C673D3D09800000010000005007000043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310038002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310037002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310036002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310035002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310034002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310033002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310032002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310031002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000310030002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300039002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300038002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300037002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300036002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300035002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300034002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300033002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300032002E006400610074003B0043003A002F00500072006F006700720061006D0044006100740061002F004B006100730070006500720073006B00790020004C00610062002F00410056005000310031002F00420061007300650073002F0062006C0030003000300031002E006400610074000000458000000100000010000000502143B39EB2F9A9000000000000000020000000010000000E0100003082010AA0030201020212313173696B051303045503060C300E311030300906052B0E03021D05003010310E300C060355040313056B69733131301E170D3130303732323134323733385A170D3130303732323134323733385A3010310E300C060355040313056B6973313130819F300D06092A864886F70D010101050003818D0030818902818100B80BC6285906C496427658AF8F3C9C8628F00BB94022E1BB3F778E9D085DB3C82B391FB4343A2B16090439A8CB0BB52435EB36310332BC0A3B781057AA94EF63A2D7655B3A66B5A8DBB0D281AB08565F12C1569340C759AD147B960C6C4ED2C7CCB6625652A424544709B0165322D199B2797B2F99405F568FFAD7C1653B0F350203010001')

thank you very much my sir

but i will give you tow reg file to convert them

ok my sir

Share this post


Link to post
Share on other sites

http://www.mediafire.com/file/34g7m8cdbg44gkg/registry.reg

http://www.mediafire.com/file/zubjw5u7vevd4zq/registry.reg

please help me to conver this 2 reg files to autoit

Share this post


Link to post
Share on other sites

http://www.mediafire.com/file/34g7m8cdbg44gkg/registry.reg

http://www.mediafire.com/file/zubjw5u7vevd4zq/registry.reg

please help me to conver this 2 reg files to autoit

up

up :graduated::(:D:D

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0