« 4HB + P90X = 24" Pythons (or at least improved fitness) | Main | Download all of the TechEd videos via PowerShell - and even play them on iOS! »
Monday
Jun062011

Virtualization FAQs, Tips, and Tricks - Virtualizing USB dongles

If you've been visiting my site lately, you'll notice that I've been regularly posting a series of Virtualization FAQs, Tips, and Tricks as a follow-up to the TechEd 2011 VIR471-INT session.

Today's installment deals with how you can virtualize a workload which requires access to a USB key, such as a software licensing dongle.

Thanks go to Aaron Sudduth for discovering this one. Aaron is the sysadmin on my team that discovered this solution, and he's the one that did our initial installation and troubleshooting.

As discussed in the session, using software that requires a specialized USB license dongle isn't actually a blocker for a workload that you'd like to virtualize. We've spent the last couple years virtualizing such workloads without issue.

The trick to making this work is to use USB over IP with a network-attached USB hub like the ones found here. The specific model we've been using is the LTB AnywhereUSB/5 Gen 1. It appears that this product is being discontinued and replaced with a much more expensive model for about twice the price (though it doesn't appear to do anything differently that I can see), so we're considering buying a couple to stock up before they totally disappear.

There are a lot of other models out there, but since we haven't tested them, I can only say that I know this one works for anything we've tested.

How it works

The process is actually pretty straightforward. You hook this box up to your network and assign it an IP, and then you plug in your USB key. At that point, you just have to install a piece of software inside your VM, and it will connect to this box over the network and bring the USB key into Device Manager just like it was running locally. So long as you have network connectivity, you'll continue to have access to the dongle.

Some gotchas to be aware of

First, it's important to note that not all devices will work this way, but we've not found that didn't. It's probably worth testing if you're not sure.

Second, this device comes up a little later in the stack, once network connectivity has been established. It's possible that you have a service starting up which requires this dongle that may try to start before this device comes online. In that case, you need to setup your service to have a delayed start in order for this to all fall into place.

Third, Windows VMs don't have the necessary drivers to use this out of the box (since VMs don't have USB controllers) unless the VM was originally P2V'd, so you actually have to add those drivers before this will work.

Here are the notes from a Digi guide on how to make it work

The following workaround is required for installing an AnywhereUSB in a Virtual Machine:

1. Make sure Windows is configured to show file extensions. In My Computer, click "Tools / Folder Options" then click the "View" tab. Scroll down and uncheck "Hide extensions for known file types" (unless it's already unchecked) then click OK.

2. Search the Windows CD (that matches the OS of the Host PC) for a file called "usbd.sy_" (it should be in the i386 folder). For example, if the Host PC is running Windows 2003, then use a Windows 2003 CD.

3. Copy "usbd.sys_" and paste it in "c:\windows\system32\drivers" (or c:\winnt\system32\drivers for Windows 2000), then rename the file to "usbd.sys". Be sure to paste it in the "drivers" folder, not just "system32".

4. Open the AnywhereUSB Configuration Utility, click "View / Driver Information / Uninstall" and reboot the Virtual Machine when prompted.

5. After Windows loads, re-install the AnywhereUSB software and follow the normal installation procedure - you should go through a total of 5 found new hardware wizards, and the 5 port LEDs should be solid green once the AnywhereUSB is installed and connected to the Host PC. 

Some additional support documentation from Digi can be found here

In summary, if you come across a workload that you'd like to virtualize, but don't think you can because of a software dongle, check out this solution as a way to get that workload off of metal and into a VM!

If you have any questions, feel free to contact me via the links to the right.

Good luck, and happy virtualizing!

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (31)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    Response: comprar ebook
    Janssen Jones - Blog - Virtualization FAQs, Tips, and Tricks - Virtualizing USB dongles
  • Response
    venner Thanksgiving ,canada goose jakkeparajumpers Juliet 6 men denne nye park og kunstig transplantasjon forlot ham og måtte forlate sitt hjemland i landet Afar fullført sitt lange liv som kanskje dette kurset. Hans vissent løvverk synes å springe
  • Response
    Response: uggs sko norge
    "Feng light dust up gas, plus yesterday evening was really tired, very not easy to sleep, sleep is just weeks to wake up, the mad degree, one can imagine. "Elder sister......" If it is normal, Zhou Xing will hesitate, but today is chicken light dust
  • Response
    Response: Parajumpers oslo
    "Jade master cried. The Haitian also shouted: "masters, don't you think this green British snakes seem increasingly strong?" Before the four of them attack the green British snake, also can barely hold the upper hand. But then the holy master injured
  • Response
    "Hum......" Red fox leave Xia Chen, a cold laugh, his clean up, put on sky jersey her red Specialized Jersey dress, and then stood up and walked away, one eye also did not look to be his dry Xia Chen, perhaps she has been accustomed to. Because Xia Chen or warrior, ...
  • Response
    Response: michael kors selma
    ""! Adult. Barr hurriedly turned away, the spot left the Haitian and Dong Qing. Few of them being at a loss what to do in the Haitian looked at each other, apparently did not expect to find such a thing. The original phase right once said, the Phil Y
  • Response
    には陆辰符罰の造詣、ということで、自然は一番簡単だったけど、最多で1分の時間さえあれば、陆辰がこれを離れて一面の虚空.時間分1秒の cykeltrøjer 過去.虚空にはあれらの無秩序の乱流と虚空の刃は、穏やかに、何の話題.その灼熱獣もずっとが出ないように、消えたのは徹底的にここに.陆辰みたいに少し不安で再見 Cycle Jersey UK た、確認には何の問題が作り出した後、この最後の一歩.これ1歩完成、陆辰はこれを離れて一面の虚空に,cykeltrøjer.このとき、静かに虚空に急に激しい始め.いくら知らない虚空の刃が突然現れ、四方八方から朝着陸辰 fotball sko salg バ
  • Response
    My heart is aft Team Sky Jersey er all a mess, though Saxo Bank Cycling Jersey always smiling face and talk to his father, the younger daughter some noisy, could not help but scold, often begin to spanking. At that time, my father came and took Cykeltøj the child,Team Sky Jersey, ...
  • Response
    Tutto questo e 'di istituire in questo Mondo La Forza PIU' potente d Team SKY Jersey i Bike Clothing AU fiducia."Il processo...In realta 'E' Molto semplice! "Per il suo attacco può causare Cosi 'potente Vaillant, la Terra non abbandonare la faccia 古井无波 iniziale, come il Fred BMC Jersey do
  • Response
    "He shouted. Because of his extremely brave,Trek cykeltrøje, so a person to Trek cykeltrøje re Team Specialized Cycling Jersey place several people position, make the other soldiers can reinforce weak place. In this case, he is in and across the pirate ship on the pirate fight did not fall ahull p ...
  • Response
    Response: Specialized Jersey
    ERA con una Ragazza. "CI Sono centinaia di Li Tin Ralph Lauren danmark g m Billige Ralph Lauren Polo ente dicendo di Non Amare, che è chiaramente difficile trovare la Ragazza prima di loro, e Tra l'altro è pazzo, è un dio del Fantasma di coltello e POI anche tagliare il ...
  • Response
    廖天河 e Liao, FEI in Chat.李建党 seduto in parte s Trek Cycling Jersey orridendo.廖天河 guardato Liao, FEI: "Fifi..."" Trek Cykeltøj Compagno 廖天河!"廖天河 occupato, sventolando: "Va bene, va bene, Compagno di Liao, Fei, una Pagina che il Processo di Paul, Hai qualcosa?"Liao, Fei, Guarda 李建党 scuot Specialized Cykeltrøje e
  • Response
    But the hole lack believe, the three thousand people bu Trek Cykel tøj ried their dead instead of white, Sky Cycling Jersey at least can prove to the domestic and foreign, he hole missing in the treatment of Anti Japanese situation, its determination is absolutely any difficulties wi Pearl Izumi Cycling ...
  • Response
    My grandmother had p Saxo Bank Jersey assed away due to a di mother gave birth to the atmosphere, insisted tha Trek cykeltrøje t because we are not Jiazhao Gu Li Zhou, killed her daughter. Later directed more points to his female, said I was born in February, died she G. ...
  • Response
    ”   郭夫人却摇头道:“什么很好,那两个都有点傻,还不如你身边那个赵月,不过,赵月也好不到哪里去,粗手粗脚的,上次 Cycling Jersey 我亲眼瞧见她一转身就打掉了一整套茶具,这丫头有点武功底子,就专门留在你身 ralph lauren polo udsalg 边保护吧,伺候的丫头我另外选。”   李未央失笑,赵月本来就是舞刀弄剑的人,让她端茶倒水的确是不合适,这三天下来,总是闯点祸,让郭夫人看得胆战心惊的。她看了郭澄一眼,微笑道:“娘,院子里的确人很多了,实在是住不下……”   郭夫人道:“对啊,是太多了。”郭澄刚刚松了一口气,却听见郭夫人拍了下巴掌,笑道, Team Specialized Cycling Jersey “
  • Response
    Response: Sky Cycling Jersey
    ...U Billige Ralph Lauren n giorno un uomo Tigre Ombra, d Sky Cycling Jersey i 6 metri di Pietra con la pistola, più è il Vento, una Scuola di galante sembra.Tuttavia, rispetto alla Terra per Arie di chen, Team Sky Jersey questo e 'il trucco!"L'Ombra di una Famiglia!SENTO come una Famiglia ...
  • Response
    è detto "寒月 Molto Conciso Saxo Bank Jersey , La Voce c'è un po 'stanco.Segreta Cykeltrøje mente un Paradiso Di Gioia, Ma Molto è Calma E MI ha chiesto: "se Mi interessa Solo la vita e la morte,Saxo Bank Jersey, altre Persone, non mi interessa.""Cert Trek Cycling Jersey o, Signori
  • Response
    IL Paradiso all'improvviso e anche il MoDo migliore per salvare Mo M Cycling Jersey ilitare,Cycling Jersey, ha Sorriso e ha detto, "Oh, VI assicuro Cheap Cycling Jersey , io so come Fare lo Zio Mo rivitalizzare il fugace, Di Nuovo, questa settimana E MI Sono Recata a pechino, Vero?""And Garmin Cycling ...
  • Response
      孟氏显然对这茶很满意,看着李未央,笑容比往日都要和煦了很多:“你烹的茶与众不同,是师从何人啊”   前生的李未央因为自己是二月生 fake Ralph Lauren 的庶女,素来谨言慎行,在所有诚几乎都是悄无声息地坐在一旁做看,更是不曾和老夫人这样亲近地过话的 Trek Cycling Jersey ,fake Ralph Lauren,此刻她也不慌不忙,笑道:“回禀老夫人,是在平城的时候,他们家中请了董三娘来教导小姐们烹茶,我便也跟着学了一些,只恐技艺浅陋,Trek Cycling Jersey,难登大雅之堂。”   大夫人的脸色变得难看起来,就连李长乐,也是轻 Specialized Jersey 轻
  • Response
    Response: Cykeltrøje
    Tripod spinner, not fo Garmin Cycling Jersey r a moment, the tentacles will scarlet dry as paper like throwing out, be ragin Ralph Lauren danmark g fire burning, trembling hands and feet, does not seem to be dead, but even cry out of the. But half pillar joss stick time, Hiroshige ...
  • Response
    Se la proposta è figlio dell'Imperatore, sicurament ralph lauren skjorte e, sicurame Specialized Jersey nte Sono a terra,ralph lauren skjorte, se la Guerra è inevitabile, disperato, Yuan) ia precipitosamente, Nord GU, E POI Di Nuovo.Ma non è la Pace, o Anti - Jin, sono Cycling Jersey u
  • Response
    Response: parajumpers salg
    “紧急警报!紧急警报!天龙星区与泰古星区发动叛『乱』,两处星区宣布自治!并且通过联邦智能网络发布了自治宣言,宣布军队与『政府』完全自治,不过,仍然保留联邦星区称号。”智脑的警报虽然刺耳,但这段智脑的报告声却令人心惊。 “好!天龙与泰古这两处星区也开始了,我宣布,立即联邦全境实行军事管制,parajumpers juliet 6,所有星区『政府』若有重大举措必须呈报军方处理,全境联邦舰队进入战争状态,parajumpers jakke oslo,请各位统帅签署统帅部特别时期法案!”
  • Response
    "Mio dio! Questo nome Yu - VENTO Nader è Cosa di competenze?Per Fortuna Ho viaggiato accidentalmente ottenuto questa a mantenere in Vita il Casco, proteggere il cranio,michael kors hamilton, altrimenti se la testa di annientamento può a
  • Response
    Response: fake Ralph Lauren
    IL Comando delle proprie Truppe a Team Sky Jersey ventaglio e Cristobal Vicino alla strada di periferia sparsi in innu Scott Cycling Jersey merevoli Porta munizioni, Rack.La Tribu 'di Pesce Spada ha ordinato di colpire le forze della coalizione in Manitoba,Team Sky Jersey, dopo Aver gio Team Sky Jersey c
  • Response
    "The order, all the ralph lauren danmark people went to Stuart Yixiao a pedestri ralph lauren danmark an to kill, even the previous acting, said by the southern Chu play bleeding person, also lively rushed up, Han Meng is directly rushed to Stuart Yixiao. Banging crash immediately sounded, a ralph lauren ...
  • Response
    Response: ralph lauren salg
    . " well ralph lauren danmark , you tell me the detailed address of the place. " southern Nangong Aotian said ralph lauren danmark " presumably they have now started to move,ralph lauren danmark, we have to rush past caixing. " good. " seamless night promised a sound, the site of ...
  • Response
    Response: Specialized Wear
    Specialized Jersey 聞いて承知し王近财」、女の子は体全体に貼った王近财の腕の中で Specialized Cycling Clothing .王近财へ見に行った時孙跃河時、見たのは孙跃河いかにも嬉しそう、同じをかき集めている長いが豊満な女の子はそこで踊り、二人の体は同じキッス舞う間、2人は合わせて体を行っているをこする.一曲の後、王近财なかった踊りました、そこで座ると女の子達じゃんけん酒.王近财の表現は引き起こした女の子たちの興奮し Specialized Jersey て、みんなで彼の週囲に酒を競う.は王近财の場合、このような酒は彼に害がないない、あとで、会社やプロジェクト部の指導(者)はは飲まれて本性が露出し
  • Response
    私の二犬のお母さんも待ち望んであなたの目は早く Specialized Jersey Sale 元気になって、心配二人一緒に、義姉、あなたと一緒に発生 Specialized Jersey Sale することができるか?」桃が少しはにかみながらあなた、あなたがどんな事ですか?一日ゆっくり、妄想をたくましくしないで.二犬を笑って私は妄想をたくましくしない、私は妄想をたくましくして、それも白妄想.桃子聞いて二犬を連発した妄想、食べて笑って、言った:"あなたはまだ妄想?一気にこんなに多いと言って、あなたは想像することを証明する.」二人で暮らしたソフト弔橋、二犬と桃の手を引いて、 Specialized Jersey 姉さん、ここに人がいな
  • Response
    Response: Sky Jersey 2012
    Howev Sky Jersey er, the soil is not easily restrained Quebec sin Sky Jersey us. He did not force the soil properties on the blood of the demon emperor, that guy, want to kill him, but also would cost a lot of hands and feet. The second more, tick Sky Jersey ...
  • Response
    Sky Jersey Go here, he immedia Sky Jersey tely felt the familiar atmosphere. This place, a most closed the sarcophagus, diffuse six powerful fluctuations, the A shares is the most powerful, unexpectedly has Sky Jersey infinitely close throughout the day, the. "Bing Xin." Jiang Xiaofa
  • Response
    Response: Sky Cycling Jersey
    Legend has it that this person but years ago an alien in seize the day af Sky Jersey ter the war, before the death of the wounded, accidentall Sky Jersey y crossed the Tianzhu Mountain, was to kill a moribund, but the brutal, raped a mountain woman... Finally the alien, wh ...

Reader Comments (5)

Quick notes: 1) LTB isn't part of the product name in the item we've been buying (I think LTB stands for "last time buy" or something similar)
2) Digi offers a utility (ftp://ftp1.digi.com/support/utilities/awusbcheck.exe) to check to see if your USB device will work. Havent used it lately, but had used it before I purchased the device and seems to work well. Note, I couldn't find this on their support site but its still on their FTP site.
3) a couple times I've had issues, but updating the driver of the actual USB item I was using (an Aladin HASP key, I believe) fixed it.

June 6, 2011 | Unregistered CommenterAaron Sudduth

A lot of those devices quite often dont support USB modems if looking to virtualise something like a BACS system.

June 6, 2011 | Unregistered Commenterian0x0r

the official statement from Digi is:
"Compatible with bulk or interrupt type USB devices; Isochronous devices not supported"

June 6, 2011 | Unregistered CommenterAaron Sudduth

works well with most CAD licensing dongles - only thing I dislike is one host connected to one hub, no sharing ports, so unless the server can run multiple licensing services without issue go with the two port model

September 13, 2011 | Unregistered CommenterJB

This is what I have been searching in many websites and I finally found it here. Amazing article. I am so impressed. Could never think of such a thing is possible with it...I think you have a great knowledge especially while dealings with such subjects.

December 17, 2011 | Unregistered CommenterHome Security Houston

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>