🔓 Unprotect Excel Sheets in Seconds (When You Don't have the Password)
ฝัง
- เผยแพร่เมื่อ 13 พ.ค. 2024
- In this video, I will show you a simple way to unprotect worksheets in any Excel file without the need for any software or website.
It's pretty easy and takes less than a minute.
Download the example file - www.dropbox.com/scl/fi/1zvawx...
Read the article here - trumpexcel.com/unprotect-exce...
☕ If you find my Excel videos useful and would like to support me, you can buy me a coffee - www.buymeacoffee.com/SumitB
✅ Free Excel Course (Basic to Advanced) - trumpexcel.com/learn-excel/
✅ Free Dashboard Course - bit.ly/free-excel-dashboard-c...
✅ Free VBA course - bit.ly/excel-vba-course
✅ Free Power Query Course - bit.ly/power-query-course
✅ Best Excel Books: trumpexcel.com/best-excel-books/
Subscribe to get awesome Excel Tips every week: th-cam.com/users/trumpexc...
#Excel #ExcelTips #ExcelTutorial #SumitBansal
It's been ages since I learned something novel about Excel. Thank you.
Thanks for the tutorial.
You can also keep the code, without having to delete it, and change the numbers 1 to 0 (turning off the password) in the section:
sheet = "1" by sheet = "0"
objects="1" by objects="0"
scenarios ="1" by scenarios ="0"
Thanks Sumit!
Thanks for the tip Iván 👍
You’re a genius. This came at the perfect time. Thank you.
Its good to hear this still exists as I have been using it for 8 years and wondered if they ever going to plug it :) it actually helped me gain a lot of respect in the company.
Fantastic as always. Thanks a bunch!!
Excellent information. I’m now a subscriber ❤
Absolutely BRILLIANT! Thanks for sharing!
Glad you found the video helpful 🙂
Awesome. Thank you.
Genius, thank you Sumit!
Amazing one Sumit. Thanks for sharing.
Very glad to know this! Thanks Sumit 👍👍👍
Great trick ! Thx Sumit !!!
Excellent Production Summit!
Thanks Chandeep.. Good to see you in the comments section 🙂
Clever yet quite simple (when you know how). Thank you.
Very interesting. Thank you.
Many thanks for sharing
I don't need to listen to the content to give a like, I have been following trump excel for years now, the content quality is such great that giving a like at the end is like playing devil's advocate.
Thankyou for all your qualitative content.
🤗
Nice, easily convinced to subscribe after watching one video by you!
Great Work! Thanks Summit!!!!!
Thank you very much, it's so simple
Thank you very much!
Very useful, thanks!
Thank you a lot! great tip!!
Wow! Amazing! Thanks a lot!
Thanks a lot.
That was a great tool
Simply WOW 😲
Thank u it’s finally done
Thank you Sumit for showing this trick !!!, Bit surprise, with this trick, suddenly felt like, no data is secure. However your explanation is pretty clear. Thank you.
Cool. I use to unlock sheets by running a macro but I've since lost that code. Good to have a backup method. Thank you
Wuiiii Genius trik
thanks for sample file
I can follow your video
thanks very much!!!
superb 🙏thanks a lot.
Great video. Thanks a lot
Glad you found the video helpful 🙂
Great tips I will try mine too and let you know the result
thank you!
good stuff!
thanks a lot, dear sir
HI Sumit, is there any way to open a password protected Excel file?
Wow Really 👌
excellent
Sneaky but it works:)
That's cool 😎
Good
Brilliant tutorial!!! But, does this also work on word, ppt etc.?
This is great! I forgot the password of a sheet the other day and had to recreate it 🤦♀ is there a way to unprotect a workbook like that too?
Wow!
Nice one. Can you also do it for protected VBA code?
And whilst you watched this, I cleaned out your entire bank account 😂😂
How to open a password protected file, if you forgot the password?
Yeah that will be far more interesting to know
That would be a challenging task...
@@SSPanesarthere is macro that do it as brute force
@@piksodriver gr8 to here that.
Either use hashcat or johntheripper.
I've mainly used johntheripper for cracking zip files, but they can do many more file types.
This is a really useful video, thank you. I am curious why you need to make a copy of the .xml file and take it outside the main folder to edit it when you’ve already made a copy of the whole file?
I made a copy and placed the XML file outside the ZIP folder, as within the ZIP folder, it doesn't allow me to open the file in Notepad or Wordpad.
Pl also show how to unprotect a protected MS word doc
Very nice. Well done. Is it the same procedure when the file is password protected to open ?
It works only when you have the worksheets that are protected. Won't work when the entire file is locked or the VBA project is locked
Any similar method for Word documents?
Does this work for encrypted VBA too? (Xlsm with a protected VBA script)
Though you made it appear simple. I have some challenges. I have a file which is protected as xlsm. I was unable to convert this file into zip file. The second challenge was that though the file was xlsx and it did get converted into zip file. The xml file in the folder worksheet could not be converted into word pad.
Please advise how to handle this.
Numpang nitip gorengan.
I’m wondering if looking at the code if there is a way to see what the original password is without deleting it. I assume it is inherent in the HashValue. Any way of translating the HashValue to the actual password?
I tried researching on that a little bit but couldn't figure out how to get the original password back
@@trumpexcel OK. Thanks!
A hash is a one-way transform. You cannot translate it back to the original password I'm afraid
@@peter.mccullagh Thanks. Makes sense for security purposes.
Brilliant 💯
Was was the password: "SHA-512"?
No, this wasn't the password 🙂
This will work on Word protected file?
How come MS make such option which is easily tampered with? What is the use of giving password to the worksheet if it can be tampered like this....Though good information......
Todo seguro, analógico o digital, tiene o llega a tener su cerrajero
Is there also a way to unprotect the entire workbook, when it got protected with "Protect Workbook" command in the "Review" section of the Ribbon?
No, there's no way to do that without brute forcing the AES encryption.
Can we do it for vba codes.
OMGGGGG 👏👏👏👏
a note sometimes error messages can occur, when reopening, the renamed file, but the content is still accessable
Does it work for Mac Excel?
I do it as shown in the video, but when I open it, the files that are there like sheet1, sheet2, sheet3 are not displayed
Awesome video!!! Time for a coffee break Mr. Bansal
Thanks Ted 😊☕
Do you think this would work with VBA security too? I know, I’m too lazy to try after a long day!
I'm pretty sure it doesn't work with VBA security as they are binary files rather than XML files.
@@alanmonaghan9194 that was helpful. Thanks!
You can also remove sheet passwords by brute force because they are hashed into 8 bits (as I recall). This means there are many other passwords which will open the sheet. Just write a program (in VBA or anything else) to test random passwords until you find one that unlocks the sheet. It usually takes only a minute or two. (This is completely different encryption to that used to protect whole workbooks, which is extremely difficult to crack).
This used to work but Microsoft changed the hash algorithm a few years ago. Notice in the part where the sheet protection code is removed, there's a bit that mentions SHA-512. That's the new algorithm.
cannot work in window 8.1 or previous version of windows, i tested with 7zip and WinRAR, the files doesn't appear
Will this work for a .xls file as well?
Seems to be working only with xlsx file format. With XLS, it doesn't open the ZIP folder for me
Hi Sumit, I can't seem to download the excel file shown in the video. It downloads the pdf of 51 tips.
You can get the file from here - www.dropbox.com/scl/fi/1zvawx0zpvi4jn9dk3i4j/Call-Center-Dashboard.xlsx?rlkey=n2u8rp8h2vil4r3gboh4yzo42&dl=1
@@trumpexcel Thank You very much
That's for the oldest possible version of excel?
isn't there something for a newer file, where the data is encrypted?
I did this with Excel M365 file. Works well for all the new versions
Now, how do I get into a password protected spreadsheet?
After i changed the extension to zip, i cant open the zip file. It says is invalid. Anyone has the same issue?
It need to be a .xlsx file (new Excel format) not a .xls file. if you have a .xls file you need to covert it first into a .xlsx file.
How to open protected vba excel sheet
If the VBA project is locked, there is a separate process for it. Will make a video on that too.
Scary
Does it work with pdf files as well?
No, this is only for protected Excel worksheets
@@trumpexcel can you make a video for opening protected pdf?
Why is mine .dat instead of .xml?
It's a feature not a bug.
Excel has 3 levels of protection. I have a macro that unlocks two of them in seconds.
This is even simpler.
Just saved my bacon
"The Compressed (zipped) Folder ... is invalid" when I try opening the zip file.
It seems to work for everyone but It dose not work for me. I don't know what I am doing wrong with it.
I converted excel file into Zip but after zip folder created it’s again same excel file inside the folder
By chance did you right click on the excel file and choose to send to zip? That would give the symptom of what happened to you. Instead ensure filename extensions are turned on so that you can see the .xlsx at the end of your filename then rename the file by replacing the .xlsx to .zip
Same problem
@@stephenl5693 did but still same issue
Thank you for all that you do.
This is a touchy subject - you're essentially showing how to hack a way around password-protected data.
You used the reasoning of a "forgotten password" or "inheriting an Excel file from someone that is no longer accessible".
It's like teaching how to bypass a home's security "just in case one loses their house keys".
You understand that this information can/will be used to by a criminal element.
Again, thank you for sharing your videos - I've learned a great deal in the past.
This video is not one I can support/promote though.
The real complaint is to Microsoft for this disappointing Excel flaw.
The idea is to share a way in case people get stuck (which happens a lot). The security of Excel files is pretty week, and I always mention this whenever I talk about protecting Excel sheets and files using built-in measures. The security is more about making sure people don't accidentally end up changing the formulas or data. For someone who needs to really password protect a file, they should always go for more than the built in solution. But I respect your sentiment.
@trumpexcel... In that case where genuine reason to protect the vba files are absolutely crucial, can you please share a video how to protect them beyond standard / built-in methods ? Your help without any doubt is very much appreciated
My worksheet doesn't show .xml instead, it stated .bin
It's likely that in your file, the VBA code is locked. Is it an XLSX file?
@@trumpexcel It is in xlsm
protecting a worksheet is not the same as encryption. It you save a excel spreadsheet with a password, removing the xml tag would do nothing.
Yes, this method is only when thr worksheet is protected. Doesn't work when the entire file or the VBA code is protected
Trust an Indian to figure this out... there's actually an easier way but I am not gonna say how.
This is like the stupidest video I've ever come across. Firstly, when you change xlxs into zip, you're not converting ANYTHING. An xlxs file *IS* a zip archive, just because it has an extension that's associated with Excel doesn't mean anything. Secondly, removing some xml from a worksheet is something I'd have thought everyone knew. Now, let's see you do that with a Excel file that's password protected from opening. Good luck breaking/brute forcing the AES for that archive.
How to open a password protected file, if you forgot the password?