All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aelis Sagot <aelis.sagot@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: Windows issue: impossible to add tunnels when install after setting program files to folder on other disk via reg value edit
Date: Wed, 21 Jul 2021 22:20:28 +0100	[thread overview]
Message-ID: <CAM2QSmYNbXpkz55Ts5WJhGL3+Excy95LqTbu=YS0voScVP1nFQ@mail.gmail.com> (raw)

Reproduction:
-Clean windows install
-Be administrator
-2 physical drives
-Change reg value:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir
to OtherDriveLetter:/programs
-Install wireguard on windows
-try to add a tunnel
error: "Unable to import configuration: The system cannot move the
file to a different disk drive"

I tried to move the tunnel file directly into
OtherDriveLetter:\programs\WireGuard\Data\Configurations and it is
detected in the GUI
But then I get the error: "open <path to tunnel>. dpapi: The system
cannot find the file specified." when trying to activate that tunnel

             reply	other threads:[~2021-08-02 13:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 21:20 Aelis Sagot [this message]
2021-08-05 20:34 ` Windows issue: impossible to add tunnels when install after setting program files to folder on other disk via reg value edit Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM2QSmYNbXpkz55Ts5WJhGL3+Excy95LqTbu=YS0voScVP1nFQ@mail.gmail.com' \
    --to=aelis.sagot@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.