USB And Vmware

Posted on 2014-01-28
Last Modified: 2016-10-27
Hi all I completely new to VMware and have just taken on a Server that's is running

ESXI 4.00, the is a virtual Machine attached which is a Windows 2003 Web Server and I need that Virtual Machine to be able to recognise a USB Devise that I have attached to the host.

If I edit the settings of the Virtual Machine it says that USB is present, yet It cannot be seen?

Question by:pepps11976
  • 8
  • 7
  • 2
  • +1
LVL 13

Expert Comment

ID: 39814656
This will get you started. Its the official documentation from VMware which will explain you the concepts and steps involved in making a VM running on ESXi access a USB device.

Author Comment

ID: 39814662
Ok but I have already tried adding Hardware Through the Settings on the VM but all its says is The device cannot be added to the Virtual Machine Because The maximum Number of devices of this type has been reached

LVL 118
ID: 39814663
see my EE Article, Step by Step Tutorial Instructions with Screenshots

HOW TO: Add and Connect a USB Device to a Virtual Machine, hosted on VMware vSphere Hypervisor ESX 4.1 ESXi 4.1, ESXi 5.0

Let me know how you get on, there could be a few issues?

1. ESXi does not detect ALL usb devices.

2. Your ESXi server may not be compatible with USB devices.

What USB device are you trying to connect?

Author Comment

ID: 39814669
Great Article however as mentioned above when I try to add the USB device I get that message.

The USB Device is a Backup Device From Storage Craft I am trying to clone the Virtual Machine as it has issues and I need to test it in a Non Productive enviroment
LVL 13

Expert Comment

ID: 39814674
USB device passthrough requires:
Virtual hardware version 7 or higher
A USB controller
A USB device or device hub
The USB should be ext3 or FAT32 formatted

Check this KB Article for more information
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 39814676
What device are you adding?

a USB controller or USB Device?

At what point do you get the error?

If using ESXi 4.0 this is probably not supported!

and you will need to use this method:-

Author Comment

ID: 39814682
I am trying to add a simple usb Pen Drive

if I look at Advanced settings on the Host it says Host does not support pass-through Configuration, and the option to Configure pass-through is greyed out
LVL 118
ID: 39814698
Okay, so you will not be able to use VM Direct Path I/O.

At what step, in my article do you get this error?

and can you confirm you are using ESXi 4.0?

Author Comment

ID: 39814707
Ok I am connected Via Vsphere Client if I go into help and About it says

VSphere Client 4.0.0

VMware ESXI 4.0.0

In your Article I removed USB device and re Added it in, It says Present etc but the device is never shown in the client
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

LVL 118
ID: 39814781
can you upload a screenshot ?
LVL 13

Expert Comment

by:Andy M
ID: 39814786
I believe USB pass-through wasn't supported in ESX until version 4.1. If you are still using 4.0 you will need to upgrade before this can work.
LVL 118
ID: 39814791
as per http:#a39814676

I would recommend the use of :-

USB over IP

USB over Network

3. Anywhere USB

Author Comment

ID: 39817515
I am going to give one of the above a trial and see how I get on

Author Comment

ID: 39820220
Hi Guys, ok I have looked at the Options above and would really like to try to do this without paying for software, If I explain my issue a bit more then you may be able to offer a better solution.

I Have a Server with Two disks running VMware, I think although I am not sure Both VMware and The 1 Virtual Machine share the same disk.

The Problem is I think the Disk is degrading so I need to get the Virtual Machine Cloned and onto a new Piece of Hardware.

I have a cloning tool however I need to copy the cloned image onto an External USB Disk, which the Host can see but Pass through does not work for my version of VMware so the virtual Machine cannot see this device.

The VM is a Web Server so I do really want to avoid Downtime.

Does anyone have any suggestions for getting this VM cloned and of the Current Hardware?.

LVL 118
ID: 39820253
Okay, USB is not going to be fast enough to perform this function.

I would look at a software package, all available as trials to download, or backup the VM.

see here

VMware ESX/ESXi Backup Guide

other Backup Products to consider also

AppAssure - Number 1 Backup and VMs and Cloud

Unitrends - a good vRecovery Backup Appliance.

Symantec Backup Exec V-Ray Edition - Unmatched backup and recovery designed for virtual and physical environments

VM Explorer - Simply, cost effective and it works.

Acronis Backup & Recovery® 11 Virtual Edition - simple but effective

StorageCraft ShadowProtect Server  - amazing but can be expensive

NAKIVO Backup & Replication for VMware - current testing proves very postiive

vBackup - in Beta

Author Comment

ID: 39820260
I already have Storagecraft so I can use that

But how do I copy the Clone from the VM to the Host?
LVL 13

Accepted Solution

Andy M earned 250 total points
ID: 39820555
Are you copying the Virtual Machine to a host running the same version of ESX/same architecture?

If so this may help:

You can access the datastore via vsphere client on a networked PC, copy the virtual machine to the PC's local drive and then connect the vsphere client to the new host and copy it back over again.

Only downside is the VM will need to be shut down for the copy and could take a while (plus the network needs to be stable- any interruption and the copy will stop), but it doesn't require spending any more money or using any third party tools.

Author Comment

ID: 39820570
Ok so I have Taken a Snapshot of the Machine although I do not know where it is stored.

Can I not use that snapshot to create a copy of that virtual Machine on Hyper v?
LVL 118
ID: 39821988
No snapshots are not backups.

you need to conver the entire vmdk to Hyper-V.

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now