My brother formatted my PC, removed the older version of windows 7 and installed a new version. Before he formatted it, I encrypted some files using EFS in windows 7, I was using an account name: AAAA. I do not have the certificates from the older windows version. Can I open the old file that were encrypted using EFS?
No. Without the private key and certificate associated with the original user (or possibly the Administrator account recovery agent key/cert) you will not be able to decrypt your files. Having a user with the same account name and password won't be enough since a specific EFS key pair is used for the encryption.
If you don't have backups of the original Windows installation with user data then I'm afraid your files will remain inaccessible.
Simple answer it is not possible. You must have related certificates and User account. Although you create User name which is same to previous account it will not allow to open your files.
I don't think certificate recovery is successful in your case. No answer for your situation because you have already lost key of your door. but you are not able to break.
I think you can take more details by refering this link