Search This Blog

Monday, March 12, 2012

A general system error occurred: Error deleting disk Resource temporarily unavailible

View Pool Stuck at Deleting

ISSUE: A general system error occurred: Error deleting disk Resource temporarily unavailible After selecting a pool in View and choosing to delete it the pool.  Pool gets hung up on deleting and machines are left in VCenter and on datastores.  That pool becomes grayed out and inaccessible.

Deleting the pool is the recommended procedure from VMware.  Do not make any changes outside the view environment.  (like in VCenter)  For example if you rename a folder view will fail...rename it back and you should be fine, if you delete a machine the fix below won't work and you will have to contact vmware to go through the database...high risk!

ERROR in VCenter:

For our Quick fix you can try this...

Log into view admin and on the left hand side go to desktops, find the desktops from the pool that you just deleted and highlight and delete again.  Give it some time but you should see the actions in your VCenter.  You can assist view and power them down in VCenter but it should do it on it's own.  If this doesn't work call VMware.

Friday, March 2, 2012

Unspecified: VMware View Virtual USB Device 01 (printer)

Unspecified: VMware View Virtual USB Device 01
Can't load USB Printer on Virtual Desktop

I have a pool of Windows 7 32bit desktops available for users to log into
Pools are floating so the refresh themselves every log off (manual driver installs are lost)
I'm using Wsye C50LE running Suse Linux and View 4.5

- HP Laserjet P1005
- HP Laserjet M1319F
- HP Laserjet 1200

The Virtual Windows 7 Desktop sees the USB device as a Unspecified VMware View Virtual USB Device 01 and doesn't work.  This occurs when windows doesn't have the printers drivers in it's default driver list.


  1. Load each driver of each printer into your master image and create a new snapshot and recompose.  Printer will then be plug and play and load at login.  (note it uses the port USB001 or similar)
  2. You can use prnmngr.vbs to force the mapping of the printer if windows doesn't load it by PNP but only if you can find a compatible print driver
Examples I ran into:
  1. With printers P1005 and M1319f I had to load their specific drivers from HP onto my image.  This allowed them to just load when the printer was plugged in.  See Note A
  2. With the Laserjet 1200 I was able to load it using this script..  See Note B
cscript.exe C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -a -p "HP Laserjet 1200" -m "HP Laserjet 2200 Series PS" -r "DOT4_001"

Lets dissect the script a little bit and talk about what worked for me...

- prnmngr.vbs is built into Windows 7
-a adds local printer
-p Specifies what you want to name the printer (can be anything you want)
-m Specifies what driver to use (must be exactly as windows lists it)
-r Specifies what port to use (remember note above where it loads it on port USB001 on pnp?  well when I use this script I had to use DOT4_001 for USB HP Printers.

Note A
When loading HP drivers into my image I had one issue (HP wants you to plug in the device) Since I'm doing my image updates via the Console in V Sphere I couldn't get the USB printer to pass through so when I was installing the driver it wouldn't finish.  So the trick is to start the install, when it asks you to plug in the device go to Run type %temp% and look for a folder that has HP drivers and files in it and copy it to another location because once you close the install it deletes the temporary contents.  Then go to devices and printers and load a local lpt printer and say Have Drivers and point them at those drivers you just copied, this will load the HP drivers into the Windows default list and make them available for plug and play.

Note B
With the LaserJet 1200 I was able to use the built in HP Laserjet 2200 Series PS driver to get it to work.  This saved me from having to update the image and recompose the pool.  In an additional note I had loaded HP Universal Print Drivers in attempt to standardize my image and drivers but I didn't have mush success with the HP UPD set and my printers...though the LaserJet 1200 in accept the HP Universal Printer PCL 6 driver also.