esSJae's Virtualization Blog

Virtualization and other IT topics

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: , , , , , , , | Leave a 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 »

Running Hyper-V Manager as a different user in Windows 10 (Runas)

Posted by essjae on February 10, 2016

I hit a small issue while working on building up a test SCCM/SCVMM lab in Hyper-V.

My primary system (call it One) has Windows 10 and is domain joined, but I’ve been doing the “Microsoft” thing and logging in with my “Microsoft” account instead of my local domain account.

I’ve got two Hyper-V hosts, one on Windows Server 2012 R2 and another running on Windows 10* (call it Two).  I’ve been able to launch my Hyper-V Manager on One and connect and manage the Hyper-V VMs on Server 2012.

However, I hit a roadblock trying to connect to Two.  The first thing I tried after failing and getting some error messages was to configure winrm.

On Two:

I opened an administrator PowerShell window and ran

winrm quickconfig

and followed the wizard and was able to start the winrm service and open the firewall.

On One:

Again in a administrator PowerShell window, I ran:

Enable-WSManCredSSP -role client -delegatecomputer two.mydomain.com

Failure!  I got a big text message in red that said to run winrm quickconfig.

This is odd, since I did none of this to connect to the Server 2012 Hyper-V instance.

I then shift+right-clicked on Hyper-V Manager and ran it with my domain credentials and it ran! Ah ha!  No problem, just create a runas shortcut for Hyper-V Manager.

C:\Windows\System32\runas.exe /user:mydomain\myusername /savecreds "%windir%\System32\mmc.exe "%windir%\System32\virtmgmt.msc""

Again, no joy.  Launching my new short-cut from a command prompt showed the error:

740: The requested operation requires elevation.

The command needs ADUC elevation, with some Googling** I finally found a solution, first launch a cmd prompt and then the command.  This allows you to receive the ADUC prompt and accept it.

C:\WINDOWS\system32\runas.exe /savecred /user:mydomain\myusername "cmd /c Start /B %windir%\System32\mmc.exe "%windir%\System32\virtmgmt.msc""

The path to the Hyper-V Manager icon is here:

%ProgramFiles%\Hyper-V\SnapInAbout.dll
...
*I don’t recall my logic in installing Windows 10 here instead of Server 2012…it may have just been laziness, an upgrade to Win10 from the previous Windows 8.1 OS that was installed.

 

**http://serverfault.com/questions/374342/run-active-directory-admin-center-as-another-user

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

Restoring the Quick Launch Menu (and Windows Explorer) for Windows 7 and 10

Posted by essjae on January 10, 2016

(this is an updated repost of an article I have on my deprecated http://www.essjae.com website)

One thing I really had grown accustomed to is the Quick Launch menu and easily opening multiple Windows Explorer windows across my 2 and 3 monitor setups and seeing the Drives view.

Both of these have been noticeably missing since Win 7.

Step 1: Get back the Quick Launch menu

  • Right-click the Taskbar, select Toolbars–>New Toolbar.
  • In Folder text box copy and paste the following:     %userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch
  • Right-click the Taskbar, uncheck Lock the Taskbar, and right-click on the new Quick Launch toolbar. Uncheck Show Text and Show Title, click View–>Small Icons
  • Drag the toolbar divider all the way to the left of the taskbar to position it next to the Windows Orb, adjust the spacing on the taskbar as necessary
  • End result: quicklaunchicons  (minus the Explorer icon)
  • Step 2:
  • Add Windows Explorer in Win 7
    •  Click the Orb, then All Programs–>Accessories
    • Right-click to select and drag Windows Explorer () to the Quick Launch toolbar, then release
    • Select Copy Here from the pop-up menu
    • Right-click the Windows Explorer icon (), then click Properties
  • In Windows 10
    •  select and copy %SystemRoot%\
    • Click the Win icon or press the Win key and then paste %SystemRoot%\
    • Press Enter
    • Find explorer.exe, right-click and drag it to the Quick Launch bar
    • Right-click the Windows Explorer icon (), then click Properties
  • Add the following to the end of the command in Target:     /e,
  • The command should look like this:  %SystemRoot%\explorer.exe /e,

we-props

  • Click OK
  • Now, when you click on the Windows Explorer icon you’ll see this:
    • display

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

Troubleshooting with users…I saw this and couldn’t pass it up

Posted by essjae on December 17, 2015

write_click

IT told me to write click on the desktop, it’s not helping!

From Spiceworks (http://community.spiceworks.com/topic/1345507-what-has-been-your-face-palm-moment-working-for-an-msp?page=2&pos=19&source=topic)

Posted in Computers, Windows | Leave a Comment »

Disabling Aero Shake via Group Policy

Posted by essjae on December 1, 2015

If you’re running Pro or higher, you can use Group Policy to disable Aero Shake instead of a Registry edit.

Press the Windows key and enter “gpedit.msc” to launch the Local Group Policy Editor

Navigate to “User Configuration–>Administrative Templates–>Desktop”

Double-click “Turn off Aero Shake window minimizing mouse gesture” and select “Enabled” to disable it.

aeroshake

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

 
Follow

Get every new post delivered to your Inbox.

Join 33 other followers