From owner-freebsd-virtualization@freebsd.org Mon Dec 14 16:43:13 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF790A4309C for ; Mon, 14 Dec 2015 16:43:13 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F4561EBA for ; Mon, 14 Dec 2015 16:43:13 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by obc18 with SMTP id 18so135116313obc.2 for ; Mon, 14 Dec 2015 08:43:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ara-ler-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=wlHrl8+YF0SqPe5W9/LICGVHtjJaizHqWpMCIzuLSCo=; b=ltLzpkHgfNIvLMSMTCJR3VRty1SkGZHDtuMCwTHOAksPVsJq9UtVv4eAZW1f8M6w8j ETUM37S4xSOBXHEiNNwPGXJ2zi3hioo/2GWmZitCQOFjYNADvEGd89qO6Ie1T6wXfaBn yxWTfcEG6MEF603Wh2hbIjKKWZXQR7DNdYW+ZrvnIZNcLXrek5EjtRltXT3ZjIk1ZU43 aW/29Sflm1GOO7IOcwUIOT2XGiICnCMDkKSsi4OwU9sqvytp1CCLT+dujrY540lfKb9B +dXl08IO5yf5EJuZTy1CvK/ClsNo1XVwAQ/d7KrE5F28OlBEEDk02ZBlqTuk0ZKbS686 C3gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=wlHrl8+YF0SqPe5W9/LICGVHtjJaizHqWpMCIzuLSCo=; b=Rhhe/u8sTLlqsTQcQuk133/qMbr5UvQmDMhCPWMyPXVenY9JFe7PfRDBqrl6lgkelp 6LovuohWok3E3j3pZgg6CPZr9hBj9ffR9L+VhzJuO7y7jh64VX9zaBoDwPvtv+GzPdw6 z4UyexElUMMUhJ6ZQ45vBZBYGlFUAYqL55P/+brZmgDJEm5ji3sIAkySCInk7kDUfRA5 7b6N06/TEI81itb9xnPzHnufHmAlMv/3jxvEieixgJvU5hTORuDKjnmWCZX397Gp7lwo eyzfKebMgIPzLMJNEm9BYwN8ni5tpv6lYwaDtkKP1t60/EInR2m63Di+YYiWCZXGhzhu knYQ== X-Gm-Message-State: ALoCoQlS6FgDg7qZnZ/lZPzc7sQfFrACIjWisyUuLFEX75zzMyl/noKjQ0dNMZHmaVI+XVpjTFiP8c30fznPj9rfKzGiGOgflg== X-Received: by 10.60.74.100 with SMTP id s4mr26675240oev.36.1450111392402; Mon, 14 Dec 2015 08:43:12 -0800 (PST) Received: from debian.ara-ler.com ([50.243.135.133]) by smtp.gmail.com with ESMTPSA id gi5sm15432897obb.6.2015.12.14.08.43.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 08:43:11 -0800 (PST) Date: Mon, 14 Dec 2015 09:43:09 -0700 From: Sergey Manucharian To: freebsd-virtualization@freebsd.org Cc: Peter Grehan Subject: Re: Windows support in bhyve Message-ID: <20151214164309.GB5410@debian.ara-ler.com> References: <561187FB.8040506@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <561187FB.8040506@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2015 16:43:13 -0000 Excerpts from Peter Grehan's message from Sun 04-Oct-15 13:11: > As of r288524, bhyve has preliminary support to run Windows in headless > mode using UEFI firmware. > > Since it's headless, the install process consists of modifying the > Windows install ISO to include an 'unattend' XML script that automates > the install, and also inserting the virtio network driver currently > required by bhyve. > > This has been tested with 64-bit Windows Server 2k12r2 and 2k16 tp3, and > Windows 10. The server versions are recommended since they have serial > console support, whereas the desktop install is a black-screen experience. > > ISO repack instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_iso_repack.txt > > Install/run instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_install.txt > > Please give this a try and report back on how it goes. > That's really cool! Thanks for the instructions! I've installed Windows Server 2016 with no issues on a ZFS volume. Works fine. I can get the command prompt, set up IP address and so on. However I cannot get Remote Desktop connection working. I tried to (re)enable it from the command line: C:\Windows\system32>reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f The operation completed successfully. C:\Windows\system32>reg add "hklm\system\currentControlSet\Control\Terminal Server" /v "AllowTSConnections" /t REG_DWORD /d 1 /f The operation completed successfully. C:\Windows\system32>net start Termservice The Remote Desktop Services service is starting. The Remote Desktop Services service was started successfully. C:\Windows\system32>ipconfig Windows IP Configuration Ethernet adapter Ethernet: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::2cb4:3a4d:dff5:9f0c%3 IPv4 Address. . . . . . . . . . . : 192.168.4.5 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.4.1 But rdesktop cannot connect: $ ping 192.168.4.5 PING 192.168.4.5 (192.168.4.5): 56 data bytes 64 bytes from 192.168.4.5: icmp_seq=0 ttl=128 time=0.314 ms $ rdesktop 192.168.4.5 ERROR: 192.168.4.5: unable to connect Any ideas? Thanks, Sergey