Jump to content

Recommended Posts

  • Replies 43
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Normally you should be able to delete that key with no problems even without administrator privileges, but you have to face a fact that some application is keeping it protected for its own reasons.

Just post the code of what you have tried and add proper error checking. Post the results (return value, @error and @extended).

Neither of suggested scripts have all that.

Your turn.

♡♡♡

.

eMyvnE

Posted

Language barrier is one thing, being (acting as) an idiot is another.

It would be really interesting to see who will be the person to "Add Example".

...I'll be watching.

♡♡♡

.

eMyvnE

Posted (edited)

Me like cookies.

Seriously though, what are you trying to say?

Me Need Delete reg Address But Not Delete Autoit & right clcik sclect delete send error.

*edit*

and because this is going nowhere

#RequireAdmin

RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved")
Sleep(100)
MsgBox(0,"errors","error= "&@error&@CRLF&"extended= "&@extended)
Edited by kaotkbliss

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!

Posted

Me Test Not Work.

Posted Image

Posted Image

#RequireAdmin

RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved")
Sleep(100)
MsgBox(0,"errors","error= "&@error&@CRLF&"extended= "&@extended)
Posted

Take out the Sleep() and see what you get or use this to test

#RequireAdmin

RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved")
$Err = @Error
$Ext = @Extended
Sleep(100)
MsgBox(0,"errors","error= "&$Err&@CRLF&"Extended= "&$Ext)

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

Didn't think it would but it did get us the proper error.

2 - if unable to open requested main key

And I still say it's a permissions issue you are having.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

Actually, error code is "-2" -> if unable to delete requested key/value

Maybe you have some anti-spyware, antivirus, etc. on that PC and this software is blocking your RegDelete. Please, check it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...