Tailscale fails with an error about creating an interface: cannot create a file when that file already exists

image

I have uninstalled, cleared files and reinstalled ut to no effect

This is being tracked in wgengine.NewUserspaceEngine: Error starting session: The system cannot find the path specified · Issue #1792 · tailscale/tailscale · GitHub. It appears to have been triggered by a recent Windows update, builds 21364 and 21370 have both been reported. Are you running one of these?

i can’t tell what build version it is because the program goes away as soon as I click after starting - but I downloaded tailscale-ipn-setup-1.6.0.exe

Can you please share the windows build version you are using? Given snip is for the Tailscale version.

sorry, how would i find that i am not sure I understand

windows 10?

Edition Windows 10 Home
Version 20H2
Installed on ‎2020-‎08-‎01
OS build 19042.928
Experience Windows Feature Experience Pack 120.2212.551.0

Can you please try to delete the Wintun device from your windows10 machine after tailscale uninstall and reinstall the Tailscale? one fo the customer tried this to delete the wintun device : https://www.online-tech-tips.com/computer-tips/unable-delete-network-adapter-windows-10/ incase it helps.

Thanks!! I think that fixed it

there were two wontons i removed both

thanks!

I just hit this after a recently Windows update while running v1.12.3 of Tailscale. Using the URL that @ darshinimashar provided worked great.

The problematic Wintun device was even showing a problem icon over it when I got into the Device Manager. All better :slight_smile:

hello, thanks, having the issue.
the difference is that i am not getting a dialog pop-up

Microsoft Windows [Version 10.0.22000.318] + ts.1.18.0

i tried:

  1. deleted the network adapter
  2. restart tailscaled service, which created a new adapter.
    from Network 23 to Network 24
tailscaled
logtail started
Program starting: v1.18.0-t22d969975-g7022e5a4c, Go 1.17.2-ts7037d3ea51: []string{"tailscaled"}
LogID: 7f4955c4e5832c2b14967633286e5d3c8c3279f545c8db049fcfcd4d6b0ded81
logpolicy: using dir C:\ProgramData\Tailscale
wgengine.NewUserspaceEngine(tun "Tailscale") ...
logtail: dialed "log.tailscale.io:443" in 200ms
Using existing driver 0.14
Creating adapter
Failed to initiate stub device creation: Cannot create a file when that file already exists. (Code 0x800700B7)
no TUN failure diagnostics for OS "windows"
wgengine.NewUserspaceEngine(tun "Tailscale") error: Error creating interface: Cannot create a file when that file already exists.
wgengine.New: Error creating interface: Cannot create a file when that file already exists.
flushing log.
logger closing down

now when i tailscale up i am asked to authenticate over and over again.

C:\data>tailscale up

To authenticate, visit:

        https://login.tailscale.com/a/6811a60a393a

Success.

C:\data>tailscale up

To authenticate, visit:

        https://login.tailscale.com/a/2fd1ddb1cd08

Success.

C:\data>tailscale status
Tailscale is stopped.