# Open .xlsm files

**URL:** https://forum.duplicati.com/t/open-xlsm-files/17546
**Category:** Support
**Created:** [March 15, 2024, 11:12pm UTC](https://forum.duplicati.com/t/open-xlsm-files/17546 "2024-03-15T23:12:41Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [March 16, 2024, 12:41pm UTC](https://forum.duplicati.com/t/open-xlsm-files/17546/2 "2024-03-16T12:41:35Z")

</div>

> [@Mike\_K](#):
>
> Is it possible to back up open files

Yes but Windows rules and Duplicati install limitations make it somewhat awkward to get this.

> <https://github.com/duplicati/duplicati/issues/1738>
>
> The installer should have an option to install Duplicati as a service.
> 
> This wou…ld also need to change the start menu link to start the trayicon with \`--no-hosted-server\`.
> \## 
> 
> 
> \<bountysource-plugin\>
> 
> \---
> Want to back this issue? \*\*\[Post a bounty on it!\](https://www.bountysource.com/issues/33456741-update-windows-installer-to-offer-the-choice-of-installing-the-windows-service?utm\_campaign=plugin&utm\_content=tracker%2F4870652&utm\_medium=issues&utm\_source=github)\*\* We accept bounties via \[Bountysource\](https://www.bountysource.com/?utm\_campaign=plugin&utm\_content=tracker%2F4870652&utm\_medium=issues&utm\_source=github).
> \</bountysource-plugin\>

[snapshot-policy](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#snapshot-policy) is how one gets Windows VSS snapshots to allow reads of such locked files:

> This setting controls the usage of snapshots, which allows Duplicati to backup files that are locked by other programs. If this is set to `off`, Duplicati will not attempt to create a disk snapshot. Setting this to `auto` makes Duplicati attempt to create a snapshot, and fail silently if that was not allowed or supported. A setting of `on` will also make Duplicati attempt to create a snapshot, but will produce a warning message in the log if it fails. Setting it to `required` will make Duplicati abort the backup if the snapshot creation fails. On Windows this uses the Volume Shadow Copy Services (VSS) and requires administrative privileges.

and that last part is awkward. Even an Administrator group account does not get full privileges active all the time, as that’s a risk. Instead Windows pops up a window before they’re enabled.  
[The UAC user experience](https://learn.microsoft.com/en-us/windows/security/application-security/application-control/user-account-control/how-it-works#the-uac-user-experience) has “Do you want to allow this app to make changes to your device”

So one option is to endure the prompt, for example start Duplicati from Start menu search and “Run as administrator” assuming your account type is Administrator, or you have one available.

Another option is right-click of desktop shortcut and use Properties → Shortcut → Advanced to check “Run as administrator” box.

The Internet has some awkward Task Scheduler tricks to elevate, but I won’t get into that option.

To avoid a UAC prompt each time (and get more power), set up [Duplicati.WindowsService.exe](https://duplicati.readthedocs.io/en/latest/07-other-command-line-utilities/#duplicatiwindowsserviceexe).  
[Duplicati Tutorial 02 Install Duplicati as a Service](https://www.youtube.com/watch?v=fZ_ukxbEyG0) is old, but still pretty close, for an initial install.  
[Migrating from User to Service install on Windows](https://forum.duplicati.com/t/migrating-from-user-to-service-install-on-windows/660/46) is a lot of setup, but some is extras, such as getting the TrayIcon back (if you like it). If you don’t care for it, then don’t bother setting that up.

---

_[View the full topic](https://forum.duplicati.com/t/open-xlsm-files/17546)._
