Development discussion of WireGuard
 help / color / mirror / Atom feed
* Windows client "Unable to create Wintun device"
       [not found] <2078146812.1909563.1573533502212.ref@mail.yahoo.com>
@ 2019-11-12  4:38 ` Richard Reiner
  2019-12-12  9:28   ` Simon Rozman
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Reiner @ 2019-11-12  4:38 UTC (permalink / raw)
  To: wireguard


[-- Attachment #1.1: Type: text/plain, Size: 644 bytes --]

On one of my machines, the Wireguard Windows client 0.0.35 was previously working well, but as of today whenever attempting to activate any tunnel it generates errors with log messages like:
  2019-11-11 17:32:48.033: [TUN] [tun22] Unable to create Wintun device: Unable to create Wintun interface: GetStringValueWait(NetCfgInstanceId) failed: Timeout waiting for registry value
An uninstall - reboot - reinstall has not corrected this/

The affected machine has received some Windows 10 updates recently as well as a VMware Player update.But another machine with the same software installed works fine.
Any thoughts or suggestions?


[-- Attachment #1.2: Type: text/html, Size: 2864 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Windows client "Unable to create Wintun device"
  2019-11-12  4:38 ` Windows client "Unable to create Wintun device" Richard Reiner
@ 2019-12-12  9:28   ` Simon Rozman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Rozman @ 2019-12-12  9:28 UTC (permalink / raw)
  To: Richard Reiner, wireguard


[-- Attachment #1.1.1: Type: text/plain, Size: 1731 bytes --]

Hi Richard,

 

I apologise for the delay. (Becoming my standard letter introduction these days. ☹)

 

Your error is saying that NetCfgInstanceId value did not appear in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\<id> registry key in 10 seconds. Can you check the registry key what's going on there, please?

 

Also, check the event log (System and Application and Service Logs\Microsoft\Windows\DeviceSetupManager) for any errors at the time you are attempting to activate the tunnel. Maybe there's some disabled service causing interface device creation to fail?

 

Maybe your Windows is attempting to access Windows Update for a newer version of Wintun driver first, triggering 10 second timeout in WireGuard?

 

Best regards,

Simon

 

From: WireGuard <wireguard-bounces@lists.zx2c4.com> On Behalf Of Richard Reiner
Sent: Tuesday, November 12, 2019 5:38 AM
To: wireguard@lists.zx2c4.com
Subject: Windows client "Unable to create Wintun device"

 

On one of my machines, the Wireguard Windows client 0.0.35 was previously working well, but as of today whenever attempting to activate any tunnel it generates errors with log messages like:

 

  2019-11-11 17:32:48.033: [TUN] [tun22] Unable to create Wintun device: Unable to create Wintun interface: GetStringValueWait(NetCfgInstanceId) failed: Timeout waiting for registry value

 

An uninstall - reboot - reinstall has not corrected this/

 

The affected machine has received some Windows 10 updates recently as well as a VMware Player update.

But another machine with the same software installed works fine.

 

Any thoughts or suggestions?

 

 


[-- Attachment #1.1.2: Type: text/html, Size: 7434 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4919 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-12  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2078146812.1909563.1573533502212.ref@mail.yahoo.com>
2019-11-12  4:38 ` Windows client "Unable to create Wintun device" Richard Reiner
2019-12-12  9:28   ` Simon Rozman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).