How to Remove Drm from ePub on Adobe Digital Editions (ADE)

Best DVD Video Software

How to Remove Drm from ePub on Adobe Digital Editions (ADE)

Now, here is a professional ePub DRM Removal published. You can decrypt tens of epub files'DRM with 1-click~


batch remove epub drm within one click


Here is a free method to remove drm from epub using Python Scripts:

It is easy to remove DRM protection from adobe EPUB files using free python scripts, here is the full guide with scripts download, support Mac, Linux and Windos.

Adobe Digital Editions offers an engaging way to view and manage eBooks and other digital publications. Use it to download and purchase digital content, which can be read both online and offline. User can transfer copy-protected eBooks from your personal computer to other computers, but you can't print your book or read it on others, the ebooks has ACSM extension, most of these have DRM system, this tutorial about how to remove DRM protection from ebook legally,so that you can copy and read your book freely.


Python is a general-purpose high-level programming language whose design philosophy emphasizes code readability. Python aims to combine "remarkable power with very clear syntax", and its standard library is large and comprehensive. Its use of indentation for block delimiters is unusual among popular programming languages.

Download python-2.6.2.msi


 Program/Script Needed:

Download Remove-ePub-drm-use-python-script.rar . This rar files Include: Python 2.6.2, Pycrypto for Window XP, ineptkey.pyw and inepteput.pyw .

If You are not Windows XP, you need to download Bython 2.6 here:, and download Pycrpto here:

1. Install Adobe Flash Player 


used to download Adobe Digital Editions(ADE), and download some free sample eBooks including entire books and preview chapters from leading publishers.


2. Install Adobe Digital Editions (ADE), Download here

Authorize your copy of Adobe Digital Editions.


3. Install Python  Download python-2.6.2.msi

4. Install PyCrypto  Download pycrypto-2.1.0.win32-py2.6.exe

5. Download ineptkey.pyw for Windows or ineptkeymac.pyw for OS X and ineptepub.pyw and put them into one directory. (rename the source file .pyw.txt file as .pyw, or you can download these three files(.pyw) here inept.rar)

ineptepub.pyw ineptkey.pyw

When you install all the programs, Remove epub drm now:

1. Run ineptkey.pyw. It will find the key and write it to hard disk as "adeptkey.der" in the same directory where ineptkey.pyw is.

key sucessfully retrieved to adeptkey.der

The adeptkey.der include all the epub drm keys file created.


2. Run ineptepub.pyw to remove epub drm.
A dialog windows with three parameters will pop up :

Automated inept epub decrypter


Key file ADEPTKEY.DER (filled automatically if the ADEPTKEY.DER-file and ineptepub.pyw reside in the same directory)
If not, click on the "…" button and select a key file.

Input file
Click on the "…" button to choose your EPUB ebook / input folder. You'll find it in "My Documents\My Digital Editions".
If you just can't find the EPUB ebook, open Adobe Digital Editions and find the path in the properties of the ebook.

Automated inept epub decrypter

Output file
Click on the "…" and enter a filename/output folder.

Automated inept epub decrypter

Click decrypt whole directory, then remove drm protected epub files all the folder.

Automated inept epub decrypter

Open your newly created DRM-free EPUB file with your favorite application (on whatever device you like)

The guide is also used to remove BBeB drm protections and all ePub drm on any devices.


Want to Converter ePub to Kindle,Nook or other eBooks? Free program Calibre can help you, Calibre is the best ebooks manager and converter, convert ebooks to any other types.


It's too busy to remove drm from epub? You can download a ePub Drm Removal(for Windows) to remove drm from epub, just one click!


EPUBEPUB (short for electronic publication; alternatively capitalized as ePub, ePUB, EPub, or epub, with "EPUB" preferred by the vendor) is a free and open e-book standard by the International Digital Publishing Forum (IDPF). Files have the extension .epub.

The ePub supported devices:

# Apple iPad (using iBooks)
# iPhone and iPod Touch (using Lexcycle Stanza , Glider or iBooks on iOS 4.0+)
# Sony Reader
# Android devices (using WordPlayer, FBReader, Aldiko)
# Barnes & Noble nook
# Hanlin eReader
# BeBook
# Bookeen Cybook Gen3, Cybook Opus
# iRex Digital Reader 800, 1000
# PocketBook Reader
# Ctaindia's eGriver Ebook Reader


PDFRemoveDrmfromePubonAdobeDigitalEditions.pdf   PDF RemoveDrmfromePubonAdobeDigitalEditions.doc

Keys: Remove Drm from ePub,Remove Drm from Adobe,Remove ePub Drm,Remove Adobe Drm,Strip Drm from ePub,Strip ePub DRM,Crack Drm from ePub,Crack ePub Drm

09/10/2010 19:13:55
what happens when in the final step an erro message " Error: problem decrytping session key "
09/28/2010 09:00:46
It works! Thanks!
10/3/2010 22:05:11

Furious after book download to PC from Angus&Robertson here in Australia would not let me transfer to my Blackberry, I combed the web, not being a competent hacker or python programmer.
Your amazingly helpful instructions and downloads helped like a dream, and I was then able to convert to PDFs using Calibri.
I am very grateful to those selfless hackers like yourself who give of their time and expertise for the benefit of us knuckleheads.

Thank you.

10/4/2010 12:35:37
it works thank you
10/5/2010 01:26:19
Hi, I am having some problems. I use a Mac with OS X (Ver. 10.6.4) installed. I have already successfully downloaded Python and Pycrypto to my computer. However, when I wanted to run the scripts, (ineptkey and ineptepub), I couldn't. I tried double clicking them, even after changing the file extension to .pyw from the .txt file that they originally came in, but they would not run. Am I doing something wrongly? Please help!
10/16/2010 21:57:10
Yes it works, thank you very very much. now where can I find people to share and swap my epubs?
10/17/2010 16:35:51

Worked perfectly on a Windows 7 installation. It was so fast that I didn't believe it had done anything.

DMR is evil! When I pay good money for an eBook, I want the flexibility to view and archive the material as I see fit.  Now I can use the ePub books (that I legally have a right to view) with my favourite eBook reader and on all my mobile devices.

Thank You!!

10/28/2010 02:37:46
Everything is okay until I run the Automated Inept epub script.  Points to the correct input path with two downloads with EXT ACSM and the output path.  Click <Decrypt> button, but nothing happened - no decrypted files in the output directory?  Don, can you clarify this?  Many thanks in advance for your time.
11/1/2010 11:30:15


using Win 7
the first script worked and created the ".der" file

however the second script is not doing anything , no GI+UI is showing up

i am using Python 2.7 and crypto for the 2.7 as well,

Win7 32 Bit

any idea ?

11/4/2010 15:35:07
Hi using windows xp
Everything works ok until final step an error message "error: problem decrypting session key"
Can you help
11/11/2010 12:26:09
I have downloaded all the necessary files etc but when it comes time to decrypt an ebook, an error message shows up stating my ebook is not a zip file. The ebook I downloaded is from my school and is pdf protected...I am trying to remove the drm but I am having difficulty. Any suggestions will greatly be appreciated. Thanks.
11/14/2010 09:52:17
These scripts work a treat on my XP. Thanks a lot for the hard work!!
11/28/2010 13:18:15
Windows Vista user. What happens when in the final step an error message " Error: problem decrytping session key "
12/1/2010 15:40:24
Hi - I have the same issue as Dawnflight.  The .pyw downloads are .txt files.  They won't double click.  How can I make this work?
12/2/2010 19:36:01

How about renaming the .txt file to ineptkey.pyw? If you get a decryption key error you have to create the adeptkey.der file with the newest ineptkey again.

Btw. the aineptepub script of course doesn't work the the acsm files. These files are only download files for ADE. You have to at least open the foo.acsm file one time with ADE to download the real encrypted pdf.

12/12/2010 03:39:06
Great guide, and the rar package with the software was really helpful. Thanks!
12/13/2010 10:25:45
I tried several times to remove DRM from my adobe digital editions book that is an epub. I keep getting an error message saying that it is not an ADEPT epub. Can you interpret this? What should I do?
Thanks for any help. Mary
12/16/2010 14:34:44
worked like a charm with epub i just purchased from borders as a test -- the guide was excellent, many thanks!!
12/27/2010 10:29:25
I followed all the instructions, but nothing happens when I click the "decrypt whole directory" button. it doesn't seem that the process is running.  help
12/27/2010 11:47:43
Can I just tell you how flipping fabulous you are? I have spent 4 days trying to get my ebooks, that I paid for and own, over to my droid x.  Thank you thank you thank you.  
12/27/2010 15:54:50

Fabulous, I had purchased a epub book from Borders to read on my iPad, but the Borders app kept crashing. I already had been using Calibre to convert all my .lit files to epub for iPad.  This worked perfectly - I have Windows 7.

12/27/2010 17:16:41
When I run aineptepub I got message "Problem decrypting section key". It occurs if I use the epub file on "my digital edition' directory or on the same directory of aineptpub. Maybe i'm being inept (no pun intended) in select the file. What can I do?
12/28/2010 13:43:20
Everything went fine until I've had decrypted the epub+drm into epub without drm. The file that is created has now the extention "*.jb.decrypted" and cannot run on my ereader, windows tells my it is a epub file. So, what is the problem and how can we fix it? HELP! Thank you, you are great!
12/29/2010 18:41:28
Having the same problem as others. After running aineptepub.pyw I get Error in: "ebook.epub"problem decrypting session key. Any thoughts on what I am doing wrong? adeptkey.der is showing up in the directory and in aineptepub.pyw.
12/30/2010 09:14:39

This works great in Windows 7. However, in spite of the claim that it works in Linux, I am unable to run it in Ubuntu with Python and PyCrypto installed.

I would appreciate a clear step-by-step for Linux as, I'm sure, the Mac OSX guys would too.

12/31/2010 15:55:30
I followed all the instructions, but nothing happens when I click the "decrypt whole directory" button. it doesn't seem that the process is running. Using windows 7. help
01/1/2011 22:05:21
I have tried this on 2 machines, 2 different OS and get the message problem decrypting session key that several others have mentioned. I think I've followed the instructions but have obviously done something incorrectly. Can you please provide any info you have on a resolution for this error?  Thanks for the help!!
01/2/2011 16:46:18
I have tried this several times since I upgraded my version of ADE.  It worked great before my ADE update - now I am getting the problem decrypting session key errors.   Suggestions?
01/3/2011 04:59:51
I have followed all steps (used Python 2.6.6).
I get the adeptkey.der all right but nothing happens when I double click ineptepub.pyw.
I hope you can offer a suggestion. Thanks in advance.
01/3/2011 13:41:00
I tried this on 4 different pc's.. all gave the same error "Error: problem decrytping session key ". I think this is a bogus fix.. They hope peple will get annoyed or desperate and buy the product advertised above " ePub Drm Removal".
01/4/2011 06:12:48
Absolute and total failure.  Does not work at all.  Followed instructions to the letter three separate times and it WILL NOT REMOVE THE DRM.  Removing the files now.
01/7/2011 16:29:17
Works well, after modifying the code in on mac os.
Incredible fast.
Thanks, now I can tranfser my books to my beloved kindle :)
01/7/2011 16:40:07
- It works
- You rock
- Let me know where to send your beer of choice :)
01/13/2011 08:30:35

It worked ok with the drm protected epub I've bought and downloaded from This epub I could read with Adobe Digital Editions, but not on my Foxit eSlick e-reader (it does not support epubs-with-drm).
Thanks for this "how to"!

Because I read here no reactions on the "Error: problem decrytping session key" message, I will make a guess.
The Remove-ePub-drm-use-python-script.rar file includeds 2 epubs-with-drm. When I try to remove drm from these example files, I get the same error message.
My guess is that first-step ineptkey.pyw gets the key from Adobe Digital Editions (and not from the epubs). And that therefore second-step
ineptepub.pyw only is able to remove drm from your own ADE epubs and is not able te remove drm from the included sample epbus.

01/14/2011 06:42:59
I have also followed the instructions to the letter, on both an old XP machine and a Mac.
Everything seems to work, I get the adeptkey file, and then run ineptepub, chose the key, chose the folder that contains my adobe digital editions ebooks, chose an output folder, click decrypt and then nothing. Absolutely nothing happens.
Can anyone help?
01/14/2011 13:16:05
When I double click either the ineptkey.pyw or the ineptepub.pyw each gives a tiny glips of the "hourglass" then nothing. Am I supposed to have something else running?  ??
01/14/2011 21:14:12
"Absolutely nothing happens."?
if you can create the adeptkey.der file, you can also remove drm from epub files.
But he ineptepub.pyw just remove drm from ADE protected epub, when the folder contains a epub not protected, the script will stop.
The ePub Drm Removal can skip the none-drm epub to remove all drm protected epub, you can download it to have a try!
01/15/2011 21:48:26
Thanks so much.... paid good money for a book from Kobo, then found I could not read it anywhere other than at my PC... Sorted!
01/17/2011 08:23:54
I can't seem to create the adeptkey.der file. When I attempt to run ineptkey.pyw nothing seems to happen and my Digital Editions folder files are unchanged (still have DRM).
01/17/2011 21:56:26
there's a slight error in the decrypt pdf. a few pages don't display. anyway to fix it?
01/18/2011 20:08:41
This works! I couldn't open up an e-book, well I couldn't retrieve an e-book because the ascm file on my laptop wasn't able to retriev the info, so I downloaded the book on my desktop, retrieved the book there, transferred the epub book to my laptop, and lo, and behold, it opened up there, as well as on my e-reader. Amazing! Thank you, thank you. I intend to make a contribution to my library, as it's not my intent to use this work around to steal. I just wanted to be able to read things on my netbook, and now I can! Adobe, and my library couldn't find a fix for my inability to read DRM protected books on my laptop; now I can.
03/2/2011 17:45:20
Just tried the scripts. When I run ineptkey.pyw, I get a dialog that includes: ADEPT Key, Error: Failed to decrypr user key (sic). This is on an XP system, ADE I hope you have a suggestion. Thanks
03/7/2011 02:03:34
Created key, removed restrictions from two books from four I bought. On one some unspecified error, on another something about header. Any suggestions?
03/9/2011 06:19:47

I installed it and it worked perfect on my own netbook with my own ebooks. The I got a few ebooks from a friend and I can't decrypt those, keep getting the message that a lot of people get: " Error: problem decrytping session key "

I also gave the unzipped package to another friend to install it but he has the same problem: " Error: problem decrytping session key "

Any suggestions?

03/10/2011 11:14:04
how do you fix "problem decrypting session key"? I see that many have asked but I do not see the answer posted anywhere
03/10/2011 21:05:08
I'm sorry to ask this, but has anyone every gotten a reply from one of these posts? I'd really like to get some help, but I'm not sure anyone who knows things is listening... I posted a question a while ago - trying to run ineptkey.pyw, I get a strange error "Failed to decrypt user key (sic)". Any chance anyone know what is happening? Or what I might tell that would give a hint...
03/12/2011 07:35:10
My god what a geat HowTo!!
Now I can finally read my LEGALLY bought epub books in my Kindle! Fantastic! (Windows 7 user)
03/21/2011 10:30:57
OMG I hate this DRM! If this works I'll post again and thank you. I understand why they're doing this, but I OWN THE CONTENT and I feel like I'm being punished by their ineptitude
03/21/2011 10:39:59

Everything appears to work except for the error I get:

Error in: [book name] not an ADEPT EPUB


03/22/2011 13:52:58
This is great, easy and safe.  Windows 7 may require you to run the download in admin mode, which solved the only problem I had.  Works like a charm.
03/23/2011 09:27:14

Thanks for the instructions - much to my surprise I managed to do this!

Next challenge is to get these books (originally purchased for Kobo eReader)converted to Kindle format :)

04/2/2011 20:15:56
Works fine. Make sure you follow the instructions exactly.
04/7/2011 19:42:41

I installed on OS X but when I run aineptepub.pyw, and click on "Decrypt Whole Directory, if fails with the error:

No such file or directory: '/Users/bob/Documents/Digital Editions\\The_Kidnapping.epub'.

Instead of the "\\", it should be a single forward slash.  How can I correct this?

04/26/2011 17:44:45
Works perfectly in Linux. Thank you for allowing me to use the books that I paid for! I'm not buying any more books from the SONY reader store after my gift cards run out.
05/12/2011 00:40:41

This does not work with filenames with special characters under linux. My guess is that it fails to implement UTF8 support in some way.

Error in ??????ü.epub[Errno 2] No such file or directory '/home/user/temp/drmremove\\xc3\xa6\xc3\xb8\xc3\xa4\xc3\xab\xc3\xb6\xc3\xbc.eub'

Any contact info for the author? :P

05/12/2011 00:49:14

Your comment system have character encoding issues to, obviouly.

ineptepub.pyw, version 5.2
Copyright ? 2009-2010 i?cabbages

works fine without this error, so I guess it has something to do with how the script you links to gets the file list. Unfortunately, I don't speak Python.

I am running Python 2.7.1 on linux. (Seeing as python 2.6.X is no longer maintained by my (or any recent?) distro.

07/3/2011 07:27:09

There is a bug in aineptepub.pyw that affects Mac OS X (and possibly other *nix). The script checks if it is a Windows or *nix system but always return a windows system.

The quick and dirty fix for Mac-users is to comment out line 319-324 and insert the following two lines:

The section should look like this when you are done.

#        if re.match('//',inpath):
#            inpath=inpath+'//'
#            outpath=outpath+'//'
#        else:
#            inpath=inpath+'\\'
#            outpath=outpath+'\\'

10/5/2011 20:56:53
what happens when in the final step an error message " Error: problem decrytping session key "
01/6/2012 13:39:56
worked as it supposed to... great help - thanks for this...
03/8/2012 04:46:10
OMG IT WORKED! thanks so much, ive come around so many sites abou tmy problem but only yours really worked! x
09/3/2012 03:20:57
Not works. return error about privacy key on new pdf's.
09/15/2012 09:45:18
Thanks a lot. It works fine.
09/15/2012 09:46:11
Thanks a lot. It works fine.
09/1/2013 17:55:22

Firstly, the instructions fail to mention that the decrypted ebooks may only be read on certain readers.  I found ebook, free open sourced reader, worked best on android--but think is on many devices.

Secondly, some books work and other do not.   Trying epubee, the fail too, however, this program puts out a log.  I believe it said something didn't match a following part.  One book was 2 megs, and the garbage decrypted book was only one quarter of 2 megs.

I wonder if an alternative py would work on these failed books.

09/1/2013 17:54:53

Firstly, the instructions fail to mention that the decrypted ebooks may only be read on certain readers.  I found ebook, free open sourced reader, worked best on android--but think is on many devices.

Secondly, some books work and other do not.   Trying epubee, the fail too, however, this program puts out a log.  I believe it said something didn't match a following part.  One book was 2 megs, and the garbage decrypted book was only one quarter of 2 megs.

I wonder if an alternative py would work on these failed books.

08/19/2014 18:14:18

Under Ubuntu 12.04/Linux I receive an error:

python ineptkey.pyw

Traceback (most recent call last):
  File "ineptkey.pyw", line 31, in <module>
    from ctypes import windll, c_char_p, c_wchar_p, c_uint, POINTER, byref, \
ImportError: cannot import name windll