Cannot decrypt important file

DeleteOnClick, EncryptOnClick, FindOnClick, HashOnClick, PatchOnClick, ScrambleOnClick, UndeleteOnClick
Rector1
Newbie
Newbie
Posts: 2
Joined: Fri Jul 06, 2012 6:15 pm

Cannot decrypt important file

Postby Rector1 » Fri Jul 06, 2012 6:36 pm

I was trying out EncryptOnClick and somehow I encrypted in appdata/roaming/microsoft/clr security config/v2.0.50727.312, a file called security.config.cch

When I try to decrypt it, I'm told the file already exists and do I want to overwrite it.

If I say yes and try to do so, I am told: \AppData\Roaming\Microsoft\CLR Security Config\v2.0.50727.312\security.config.cch.EOC: Cannot access target file or folder. [113]

If I say no, I don't want to overwrite it and then try to decrypt, I am told: The file was not decrypted as it would overwrite an existing file.

I believe this is the only file encrypted.

I tried to do a system restore but it failed through "a catastrophic error" which is obviously something to do with the encrypted file as I've restored the system about six times previously without any problems.

I'd be grateful if anyone could offer some helpful advice.

(I have the correct password, by the way, this isn't a problem with a wrong or lost PW.)

Dave Wilkins
2BrightSparks Staff
2BrightSparks Staff
Posts: 1879
Joined: Thu Jan 04, 2007 10:02 am

Re: Cannot decrypt important file

Postby Dave Wilkins » Sun Jul 08, 2012 11:52 am

At a guess, Windows prevented it deleting the unencrypted version of the file (which it would normally do). You thus have an encrypted and unencrypted version in the same place. On the one hand, you try to decrypt over the top of the unencrypted file, and Windows stops you doing so (presumably for the same reason it prevented it being auto-deleted during the encryption stage). OTOH, if you say No when it prompts for overwrite, it cancels itself (there's not much else it can do).

If you copy or move the encrypted file to somewhere else (make an empty folder, maybe), it should decrypt fine, because there's no unencrypted version there to snarl things up. What you can then do with the result, I'm not sure. That's outside the scope of our support. The rules are probably known only to MS, given that it looks like that file is part of MS security config.

Moral: do not play with parts of the system. Use it for data you created...

Rector1
Newbie
Newbie
Posts: 2
Joined: Fri Jul 06, 2012 6:15 pm

Re: Cannot decrypt important file

Postby Rector1 » Mon Jul 09, 2012 11:48 am

I tried a system restore a second time and it worked, fortunately. :lol:

Then although the file was still encrypted, to my surprise I found I was able to decrypt it when I tried again! =D>

The problem arose late at night when I was dog-tired and clicked on the wrong file. I realised I'd goofed almost immediately but by then, alas, the file was encrypted. :roll: I shall double check anything I intend to encrypt in future.

Thanks for your reply and suggestion. :wink: I'd have tried it had I not lucked in a little earlier.

PS: Sorry about all the smiley faces but it's the first time I've tried them and I got a bit carried away. :oops:

steward00
Newbie
Newbie
Posts: 1
Joined: Sat Sep 22, 2012 10:51 am

Nice

Postby steward00 » Sat Sep 22, 2012 11:02 am

Do what Winzip does, and prefill the password entry (and confirmation) field with the last-used password? Perhaps whether to do this should be a configuration option.


Return to “OnClick Utilities”



Who is online

Users browsing this forum: No registered users and 1 guest