# Unlock PPT Presentation Files using Python

> Use Python code to remove encryption and write protection from PPT presentations.

Source: https://products.aspose.com/slides/python-net/unlock/ppt/
Updated: 2026-07-30



## Remove Encryption from a PPT Presentation with Python

Aspose.Slides for Python via .NET can remove encryption or write protection from a PPT presentation. After you load an encrypted file with the correct password, call `remove_encryption()` to save an unencrypted copy.

### Remove Password Encryption from PPT with Python

```py
load_options = slides.LoadOptions()
load_options.password = "123123"

with slides.Presentation("encrypted-presentation.ppt", load_options) as presentation:
    presentation.protection_manager.remove_encryption()
    presentation.save("unencrypted-presentation.ppt", slides.export.SaveFormat.PPT)
```

### Remove Write Protection from a PPT Presentation with Python

```py
with slides.Presentation("write-protected-presentation.ppt") as presentation:
    presentation.protection_manager.remove_write_protection()
    presentation.save("unprotected-presentation.ppt", slides.export.SaveFormat.PPT)
```

## How to Remove a Password from PPT with Python

These are the steps to remove protection from PPT files.

Set the password through `LoadOptions.password`, and load the PPT file into a `Presentation` instance.

Call `ProtectionManager.remove_encryption()` to remove encryption. For write-protected files, call `ProtectionManager.remove_write_protection()` instead.

Call `Presentation.save()` with `SaveFormat.PPT` to save the unlocked presentation.

## Other Supported Formats
