# Local disk credentials issue

**URL:** https://forum.duplicati.com/t/local-disk-credentials-issue/15739
**Category:** Support
**Created:** [February 20, 2023, 12:40pm UTC](https://forum.duplicati.com/t/local-disk-credentials-issue/15739 "2023-02-20T12:40:05Z")
**Posts on this page:** 1
**Showing post:** 12

<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: [February 21, 2023, 11:18am UTC](https://forum.duplicati.com/t/local-disk-credentials-issue/15739/12 "2023-02-21T11:18:16Z")

</div>

> [@oneiro](#):
>
> However it is possible run Duplicati as service?

Along with the manual information on the service, there’s an old video which might help the setup.

[Duplicati Tutorial 02 Install Duplicati as a Service](https://www.youtube.com/watch?v=fZ_ukxbEyG0) (specifics might be outdated, or maybe debated)

Also:

> [@ts678](#):
>
> A service is most easily set up before starting to backup, but there are also migration guides.
> 
> [Migrating from User to Service install on Windows](https://forum.duplicati.com/t/migrating-from-user-to-service-install-on-windows/660) (v3 is the latest version of migration steps)

[[SOLVED] Is it ok that I see 5 processes of Duplicati in Windows Task manager?](https://forum.duplicati.com/t/solved-is-it-ok-that-i-see-5-processes-of-duplicati-in-windows-task-manager/3948)  
image at top is similar to what your Task Manager would show for SYSTEM service and a user  
running TrayIcon (preferably in `--no-hosted-server` mode, otherwise you’ll have two servers).

Your separation aim makes setup a bit more complicated, but I’m not sure I totally understand it especially when a VM is thrown into the mix. Are you trying to give VM user access to host disk, controlled by ACLs? For a file-level backup of files inside VM, Duplicati must run there, but a file destination would need to be accessible by Duplicati. You can go to a network destination where  
network is between the VM and its host. That would mean malware in the VM would need to find equivalent access in order to destroy backup. It’s possible, but less risky than open file access…

How to protect network-based backups is discussed in many other topics with no perfect answer.

EDIT:

While Windows can run a variety of network servers, perhaps you could consider access by SMB, basically continuing with your current username and password scheme, but using as it’s intended, however I’m not well equipped to solve issues if any arise, and I’m not sure how separation works.

I think things like drive letter mappings are per user login session, however Duplicati started as the  
user at their login probably shares their login session. Duplicati run as service would probably not, however SMB from a service is sometimes difficult because it’s not quite a normal user situatation.

---

_[View the full topic](https://forum.duplicati.com/t/local-disk-credentials-issue/15739)._
