Can keyfiles be used to access a volume if the password is forgotten

We would like to know if we can create keyfiles of an existing volume in order to use the keyfiles to open the volume if the user forgets the password.  Some time back an EE commented on keyfiles with similar topic bit haven't been able to find it.   Can this be done? (trying to safeguard access to the volume if the users forget)
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
depends on what you used to encrypt the drive
Truecrypt/VeraCrypt can use keyfiles as the password.
rayluvsAuthor Commented:
When created I didn't use keyfiles, just a long password
Dmitri FarafontovLinux Systems AdminCommented:
GameOver, data is gone sorry.
Cloud as a Security Delivery Platform for MSSPs

Every Managed Security Service Provider (MSSP) needs a platform to deliver effective and efficient security-as-a-service to their customers. Scale, elasticity and profitability are a few of the many features that a Cloud platform offers. View our on-demand webinar to learn more!

rayluvsAuthor Commented:
No, I haven't lost the password.  My concern is more on contingency plan if the user forgets the password; it's more directed to if I can use keyfiles to access a volume if the password is forgotten.

That said,
  • If the user by any chance forgets their password, is there a way by using just keyfiles that I can recover the TC drive with only that, the keyfiles?
  • If so, does the TC drive must have been created keyfiles at the creation of the volume first in order to access by just keyfiles?
  • If we can access a volume with just keyfiles, can we create keyfiles of an existing volume?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rayluvsAuthor Commented:
Yes, looks interesting and will try it in a small TC volume, but noticed say " before you allow a non-admin user to use the volume." - does that mean if the volume has been  opens and closed for some time, this process it's not successful?
Dmitri FarafontovLinux Systems AdminCommented:
I guess you need to be open to generate a backup header first.
rayluvsAuthor Commented:
ok...trying it
Dmitri FarafontovLinux Systems AdminCommented:
Sounds good!
rayluvsAuthor Commented:
Just tested with a 100mg volume and worked.

Thank you.

I thought that by creating keyfile from a current volume we could've recover a lost password.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.