Personal #windows#security 2 min

Windows error: 0x80090006

Translation of the original in Catalan. Read it in: CatalàCastellano

You'll be asking yourselves, what a weird error, but if that has never come up on my machine and when it does I won't even know where it comes from. Well, it's not such a strange thing, it's not the first time it has happened to me, with the difference that now I know why it appears and I know how to fix it. The thing is that when, for example, we clone a windows and restore it on a partition that is not the 'same logical unit' (it doesn't have the same letter c:, d:, etc) the 'pindows' from hell crashes. But the most curious thing is that it seems everything works fine, it asks us for the user/pass and after entering it gives us a licence error... well, 'sudeu' about what it says, just notice if the error code is the one I've told you and then...

if you can re-install windows on the same 'logical unit' where you had it before, perfect, because you've already solved the problem. If that's not the case, don't worry!!! I've managed to solve it too.

As always you have to go and touch the registry and change some values, in order to tell the 'pindows' encryption system not to look for its .dll on the unit that is no longer there, but on the new one. Specifically you have to go to:

HKEY_LOCAL_MACHINE

->Software

->Microsoft

->Cryptography

->Defaults

->Provider

once at this point of the tree you have to review all the entries that are there looking for the fields: ImagePath you'll see that this field always refers to .dll files, in some cases the path and the unit are not specified, but in others they are, so in the ones that are specified you have to change the old unit for the current one.

References where I got the information from:

· XP cloning with Ghost 7.0?

· Cloning Windows XP Professional, Revisited!

· KnowID 1008: How to fix the Cryptographic Service in XP

But of course, many of you will ask how the hell I change the registry if I can't get into pindows, well here's the whole point of the article, explaining how to do that. Well then, as many of you will know there are tools to reset the passwords of pindows and so be able to get into systems where we have lost the password. These tools, for example, what they do is boot a linux and then edit the registry to change some values that change the password value. Besides being able to do this process automatically, these tools also allow us to change specific registry values that we ask them for.

So we already have the solution: boot the system with one of these tools and edit the registry from this temporary system, then reboot and everything is fixed. One of these tools is Offline NT Password & Registry Editor, Bootdisk / CD. Follow the instructions on the website to know how to make yourself a boot floppy that does that or a CD. To know how it works you can also find it on the same website and using a bit of imagination.

Come on, I hope this little 'TRICK' has been useful to you.