esSJae's Virtualization Blog

Virtualization and other IT topics

VMware Workstation 12.5 now available

Posted by essjae on September 14, 2016

What’s New

  • Support for Windows 10 Anniversary Update
  • Support for Windows Server 2016

Also included are bug fixes, security updates, and performance improvements.

Full Release Notes here: http://www.vmware.com/products/workstation.html

Download: http://www.vmware.com/products/workstation.html

 

Posted in Uncategorized, Virtualization, VMWare, Windows 10, Windows 2016, Windows 2016 | Tagged: , , , | Leave a Comment »

VirtualBox 5.1.6 Available

Posted by essjae on September 13, 2016

VirtualBox 5.1.6 (released 2016-09-12)

This is a maintenance release. The following items were fixed and/or added:

  • GUI: fixed issue with opening ‘.vbox’ files and it’s aliases
  • GUI: keyboard grabbing fixes (bugs #15771 and #15745)
  • GUI: fix for passing through Ctrl + mouse-click (Mac OS X hosts only; bug #15714)
  • GUI: fixed automatic deletion of extension pack files (bugs #11352 and #14742)
  • USB: fixed showing unknown device instead of the manufacturer or product description under certain circumstances (5.1.0 regression; bug #15764)
  • XHCI: another fix for a hanging guest under certain conditions as result of the fix for bug #15747, this time for Windows 7 guests
  • Serial: fixed high CPU usage with certain USB to serial converters on Linux hosts (bug #7796)
  • Storage: fixed attaching stream optimized VMDK images (bug #14764)
  • Storage: reject image variants which are unsupported by the backend (bug #7227)
  • Storage: fixed loading saved states created with VirtualBox 5.0.10 and older when using a SCSI controller (bug #15865)
  • Storage: fixed broken NVMe emulation if the host I/O cache setting is enabled
  • Storage: fixed using multiple NVMe controllers if ICH9 is used
  • NVMe: fixed a crash during reset which could happen under certain circumstances
  • Audio: fixed microphone input (5.1.2 regression; bugs #14386 and #15802)
  • Audio: fixed crashes under certain conditions (5.1.0 regression; bug #15887 and others)
  • Audio: fixed recording with the ALSA backend (5.1 regression)
  • Audio: fixed stream access mode with OSS backend (5.1 regression, thanks to Jung-uk Kim)
  • E1000: do also return masked bits when reading the ICR register, this fixes booting from iPXE (5.1.2 regression; bug #15846)
  • BIOS: fixed 4bpp scanline calculation (bug #15787)
  • API: relax the check for the version attribute in OVF/OVA appliances (bug #15856)
  • Windows hosts: fixed crashes when terminating the VM selector or other VBox COM clients (bug #15726 and others)
  • Linux Installer: fixed path to the documentation in .rpm packages (5.1.0 regression)
  • Linux Installer: fixed the vboxdrv.sh script to prevent an SELinux complaint (bug #15816)
  • Linux hosts: don’t use 32-bit legacy capabilities
  • Linux Additions: Linux 4.8 fix for the kernel display driver (bugs #15890 and #15896)
  • Linux Additions: don’t load the kernel modules provided by the Linux distribution but load the kernel modules from the official Guest Additions package instead (bug #15324)
  • Linux Additions: fix dynamic resizing problems in recent Linux guests (bug #15875)
  • User Manual: fixed error in the VBoxManage chapter for the getextradata enumerate example (bug #15862)

Posted in VirtualBox, Virtualization | Tagged: , , , | Leave a Comment »

VirtualBox 5.1.2 released today

Posted by essjae on July 21, 2016

This a maintenance release.

VirtualBox 5.1.2 (released 2016-07-21)  Download here: https://www.virtualbox.org/wiki/Downloads

This is a maintenance release. The following items were fixed and/or added:

  • VMM: several fixes
  • GUI: fixed screenshot if the VM is started in separate mode
  • GUI: fixed issue with double-click/opening registered file types (.vbox and .vbox-extpack) on Mac OS X (bug #15648)
  • GUI: fixed a bug which made it impossible close some error/warning messages using the close button
  • GUI: weakened the control over the VM window behavior allowing to resize it across multiple screens and to use in Snap Assist techniques
  • GUI: jump to the second tab of the session information window (5.1.0 regression)
  • GUI: fix for Alt-Tab
  • Storage: fixed creating fixed size VHD images (bug #15601)
  • Storage: fixed a hang during power off if the VM was suspended before and a NVMe controller is configured
  • USB: fixed a crash under certain conditions
  • Audio: make AC’97 volume control work again (5.1.0 regression; bug #15598)
  • Audio: fixed rare VM hangs when using AC’97 emulation
  • Audio: SB16 fixes
  • EFI: fixed access to devices attached to SATA port 2 and higher (bug #15607)
  • OVA: fix for checking certain signatures
  • OVA: fixed MAC address generation for appliances created by VirtualBox (5.1.0 regression; bug #15623)
  • API: fixed audio settings handling for older config files (bug #15626)
  • API: fixed truncation of USB product/vendor IDs on Linux hosts (5.1.0 regression; bug #15644)
  • API: fixed VRDP with authentication (bug #15653)
  • API: don’t crash if there is no graphics controller configured (bug #15628)
  • Linux hosts: fixed EL5 builds (bug #15634)
  • non-Windows hosts: fixed a crash during shutdown under rare circumstances (bug #15568)
  • Linux Additions: fixed SELinux issue which prevented certain Linux guests to work in 3D mode (bug #15574)
  • User Manual: updates

Posted in VirtualBox, Virtualization | Tagged: | Leave a Comment »

VirtualBox 5.1 Released

Posted by essjae on July 12, 2016

VirtualBox 5.1 has been released. This is a major update.  Download here: https://www.virtualbox.org/wiki/Downloads

VirtualBox 5.1 (released 2016-07-12)

This is a major update. The following major new features were added:

  • VMM: new APIC and I/O APIC implementations that result in significantly improved performance in certain situations (for example with networking, bug #15295)
  • VMM: added support for Hyper-V paravirtualized debugging of Windows guests
  • VMM: emulate even more MMIO and shadow pagetable exits without going back to user mode
  • GUI: overall migration to Qt5 (bug #11775)
  • GUI: passive API event listener improving the VM GUI performance and response time
  • Audio: added HDA (High Definition Audio) support for newer Linux guests
  • Audio: added on-demand timers which should improve the overall performance and reduce the CPU consumption
  • Audio: more fine-grained volume control for the AC’97 emulation, which now also takes the master volume control into account
  • better support for Python 3

In addition, the following items were fixed and/or added:

  • VMM: activate the x2APIC by default for Linux guests
  • VMM: many more fixes
  • GUI: the Detach UI action is now a part of the VM Machine menu
  • GUI: reworked session information window
  • GUI: the new VM wizard now allows to choose the VM location for the VM which is being created
  • GUI: fixed location of touch events in unscaled HiDPI mode (bugs #14366, #14367)
  • GUI: various bugfixes and internal cleanup
  • Storage: use fallocate() or similar if present to speed up creating fixed-sized disk images (bug #5967)
  • Storage: implemented NVMHCI-compatible storage controller
  • Audio: various bugfixes and infrastructure improvements
  • E1000: implemented interrupt throttling for performance improvements
  • EFI: many improvements, for example allow to boot from USB
  • OVF: improved handling of signed manifests
  • API: Windows XP guests and Windows 2003 server guests now default to the E1000 T Server network card
  • VBoxSVC: fixed several memory leaks when handling .dmg images
  • Installers: ship VBoxBugReport
  • Windows hosts: reworked COM proxy (e.g. bug #8298)
  • Linux installers: no longer rely on DKMS for module rebuilding
  • Linux Additions: fix a problem when updating the initramfs after the guest modules are compiled (bug #15579)
  • Linux Additions: try to fix a problem where the OpenGL libraries where loaded by the X server when we only support X clients (bug #15574)

Posted in VirtualBox, Virtualization | Tagged: , | Leave a Comment »

Dell Windows Recovery Images via the web

Posted by essjae on March 29, 2016

There are apparently a lot of people that don’t know about this, (or maybe google)?, so here’s a little publicity for Dell.

You can download the Windows recovery image for your Dell computer here:

http://www.dell.com/support/home/us/en/19/Drivers/OSISO

All you need is your service tag…and having purchased your Dell with Windows.

Here’s the full text of the site:

Recovery Image of Microsoft Windows

Download the recovery image

Download a recovery image of Microsoft Windows Operating System customized for your Dell product. Dell customization of the Windows image includes:

  • Updated patches that address common issues for Dell systems.
  • Dell support information.

The image provided in this download was configured to be bootable from either a DVD or USB.
Note: The recovery image contains the version of Windows that came installed on your computer. If you have upgraded your operating system, you will need to reinstall the upgrade after you have restored your system to the factory settings.


Identify your Dell PC

To ensure that we provided the correct image available for your Dell PC, provide the Service Tag of the system to which the image will be installed.
Dell’s Hosted Recovery Image is designed to work with Dell systems. It is not designed to be supported on non-Dell PCs.

Posted in Computers, Dell, Hardware, Windows | Tagged: , , , , , , , | 1 Comment »

VirtualBox 5.0.16 Maintenance Release

Posted by essjae on March 14, 2016

A little late, released March 4, a maintenance release. Download.

Change log:

The following items were fixed and/or added:

  • VMM: fixed a problem which could lead to a wrong guest behavior on AMD CPUs (tickets #14831 and #15186)
  • GUI: don’t try to synchronize the HID LEDs if the VM window is not active or if it’s minimized (Windows / Mac OS X hosts only; bug #14302)
  • GUI: prevent a crash during startup under rare conditions
  • GUI: sub-menu option to disable the guest-OS type overlay in the application dock icon on Mac OS X
  • GUI: position off-screen windows to be fully visible again on relaunch
  • GUI: hide the VT-x/AMD-V checkbox if raw-mode is not supported (usually Mac OS X hosts; bug #15178)
  • PC speaker passthrough: new experimental feature, available on Linux host only
  • Audio: several fixes for Mac OS X hosts + guests
  • Audio: properly handle default audio device changes (Windows hosts)
  • USB: serveral fixes for the xHCI controller (e.g. for webcam passthrough)
  • BIOS: fixed int15/AH=83/AL=00 function (4.2.0 regression)
  • iPXE: enable the HTTP download protocol on non-Linux hosts (bug #13628)
  • Shared folders: fixed a failure to load the saved state under certain circumstances (bug #6314)
  • Guest Control: added support for (cached) Active Directory authentication in case the domain controller is not reachable (anymore)
  • Serial ports: raised the number of serial ports per VM from 2 to 4 (bug #9109)
  • Serial ports: fix for the TCP/IP backend (Windows hosts only; bug #15188)
  • SDK: make the Python webservice API binding work again (5.0 regression)
  • Seamless mode: fixed a crash under certain circumstances (bug #15106)
  • Linux hosts: fixed the /sbin/rcvboxdrv script as well as the missing shebang in two scripts (bugs #15055 and #15057)
  • Linux hosts: properly uninstall Python files installed by the .run installer
  • Windows hosts: hardening fix required for recent Windows insider builds (bug #14052)
  • Windows hosts: fixed Python installation path (bug #13131)
  • Windows hosts: support MTU larger than 2 KB with bridged networking (bug #15140)
  • Windows hosts / guests: properly sign binaries using a sha-256 certificate (bug #15054)
  • Windows Additions: fixed guest property enumeration of logged-in users
  • Windows Additions: fixed sporadical failure of the graphics driver in Windows 10 guests (bug #14409)
  • Windows Additions: under rare circumstances no mouse movement events were delivered to the guest

Posted in VirtualBox | Tagged: , , , | Leave a Comment »

Adding NAT to Hyper-V in Windows 10 and higher

Posted by essjae on March 10, 2016

I found about this new way to create a NAT virtual switch in Hyper-V, it’s a lot less work than my previously documented method here: https://smudj.wordpress.com/2015/05/14/windows-10-hyper-v-setting-up-networking-shared-and-bridged-options/

https://technet.microsoft.com/en-us/library/hh848455.aspx?f=255&MSPPError=-2147217396

New-VMSwitch

Creates a new virtual switch on one or more virtual machine hosts.

Syntax

Copy
Parameter Set: NetAdapterName
New-VMSwitch [-Name] <String> -NetAdapterName <String[]> [-AllowManagementOS <Boolean> ] [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-EnableEmbeddedTeaming <Nullable [System.Boolean]> ] [-EnableIov <Boolean]> ] [-EnablePacketDirect <Nullable [System.Boolean]> ] [-MinimumBandwidthMode <VMSwitchBandwidthMode> {Default | Weight | Absolute | None} ] [-NATSubnetAddress <System.String> ] [-Notes <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: NetAdapterInterfaceDescription
New-VMSwitch [-Name] <String> -NetAdapterInterfaceDescription <String[]> [-AllowManagementOS <Boolean> ] [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-EnableEmbeddedTeaming <Nullable [System.Boolean]> ] [-EnableIov <Boolean]> ] [-EnablePacketDirect <Nullable [System.Boolean]> ] [-MinimumBandwidthMode <VMSwitchBandwidthMode> {Default | Weight | Absolute | None} ] [-NATSubnetAddress <System.String> ] [-Notes <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SwitchType
New-VMSwitch [-Name] <String> -SwitchType <VMSwitchType> {Private | Internal | External} [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-EnableEmbeddedTeaming <Nullable [System.Boolean]> ] [-EnableIov <Boolean]> ] [-EnablePacketDirect <Nullable [System.Boolean]> ] [-MinimumBandwidthMode <VMSwitchBandwidthMode> {Default | Weight | Absolute | None} ] [-NATSubnetAddress <System.String> ] [-Notes <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Example

New-VMSwitch -SwitchName "Virtual Switch" -SwitchType NAT -NATSubnetAddress "172.16.0.0/12"

Posted in Hyper-V, Uncategorized, Windows 10 | Tagged: , , , | 1 Comment »

Running DNS, DHCP, ADUC, etc, MMC Admin consoles with Windows 10 Microsoft Account

Posted by essjae on March 7, 2016

Note: This assumes you’ve already got the RSAT tools installed.  RSAT for Windows 10

Building on my post here for Hyper-V manager:

https://smudj.wordpress.com/2016/02/10/running-hyper-v-manager-as-a-different-user-in-windows-10-runas/

You can use the same method to get Active Directory Users and Computers (ADUC) and DNS MMC admin consoles working if you’re logged in with your Microsoft account versus your domain account:

admin-tools

DNS shortcut:

C:\Windows\System32\runas.exe /savecred /user:domain\username  "cmd /c Start /B %SystemRoot%\system32\mmc.exe %SystemRoot%\system32\dnsmgmt.msc""

Icon path:

%SystemRoot%\system32\dnsmgr.dll

ADUC shortcut:

C:\Windows\System32\runas.exe /savecred /user:domain\username  "cmd /c Start /B %SystemRoot%\system32\dsa.msc""

Icon path:

%SystemRoot%\system32\dsadmin.dll

When you double-click, you’ll get prompted for the password (if you haven’t already) and also for UAC

uac

dns

DHCP is a little more involved as the RSAT doesn’t include the DHCP manager.  NOTE: this is not currently supported by MS

  1. 1. copy dhcpmgmt.msc and dhcpsnap.dll.mui from %windir%\system32\system32\en-us on the 2012 server to the same location on the w10 pc
  2. copy dhcpsnap.dll from %windir%\system32\ on the 2012 server to the w10 pc
  3. From an admin cmd prompt run: regsvr32.exe dhcpsnap.dll
  4. Create the short-cut: C:\Windows\System32\runas.exe /savecred /user:domain\username  “cmd /c Start /B %SystemRoot%\system32\mmc.exe %SystemRoot%\system32\dhcpmgmt.msc””
  5. Change Icon path: %SystemRoot%\System32\dhcpsnap.dll

You’ll need to manually add your DHCP server each time you run this.  I haven’t found a way to save the config.

*This was done with Windows 10 Build 1511 and Windows Server 2012.

For additional snap-ins, just modify the last part of the short-cut with the correct mmc path for the add-in you want.

Posted in Sysadmin, Windows, Windows 10, Windows 2012 | Tagged: , , , , , , | Leave a Comment »

3Ware 9650SE with ESXi 5.5

Posted by essjae on March 3, 2016

This is definitely an edge case, but if you’ve got a bunch of old 3Ware 9650SE RAID cards laying around, they will work in ESXi 5.5.  You’ll need to either create a custom ISO or add them via SSH after the install.  Adding them post-install is easier for me than making another custom ISO.

I’ve set up 2 ESXi servers (old x58 chipset MBs I had laying around) to do some clustering.  I picked up 5 9650SE RAID cards off of eBay for $55, including cables, and cobbled together some RAID volumes from the stacks of HDDs I had laying around.

I set up my ESXi boxes with a custom ISO I’d created previously that has the Realtec NIC, Intel NIC, and Intel SATA drivers (that’s another post, or look up ESXi-customizer). I was able to get the cards up and working with minimal issues (after I updated the firmware to the most current version…was a puzzle as a couple cards were updated and just worked, then I got stuck with some others and they wouldn’t work at all until the FW was updated)

I then replaced one of the ESXi boxes with an x79 system and could not get the RAID card to work with the existing drivers I had.  Hours and multiple reboots, driver uploads, I found another driver that works from Avago (direct): http://docs.avagotech.com/docs/12349232

You can find it here: http://www.avagotech.com/ –> Support –> Support Documents and Downloads –> Legacy RAID controllers –> 3ware 9650SE-xxxx –> Search –> Driver –> VMware ESXi 5.0 Update 1 for 9650SE/9690SA

Connect to your ESXi server via SSH (you’ll need to enable this first) and use the command:

localcli software vib install -v /vmfs/volumes/datastore-name/scsi-3w-9xxx-2.27.08.036-1OEM.500.0.0.472560.x86_64.vib

Posted in ESXi, Virtualization, VMWare | Tagged: , , , , , | Leave a Comment »

Switching from Public to Private network via PowerShell

Posted by essjae on February 11, 2016

Here’s a quick way to get rid of the “public” network on Windows and switch it to a more usable private network type.

    1. Open a PowerShell Window.
    2. Get the list of network profiles on the system.  Note the InterfaceIndex number listed, you’ll need it for the final step.
      Get-NetConnectionProfile
    3. Change the network interface to private, use the network interface index number from the previous command.
Set-NetConnectionProfile -InterfaceIndex xx -NetworkCategory Private

Posted in Networking, Windows 2012 | Tagged: , , , | Leave a Comment »