How to attach a usb disk to a Hyper-V virtual machine

I am using Virtual Machine Connection with Server 2008 R2 and runing Win 7 on VM. I follow all steps and choose a Physical hard disk: and choose the disk i would to add n prob. But after that i cannot see him active in the VM Win 7. If i go back to Disk Management
in Server 2008 is standing there as offline (and i cannot put it online here says ACESS DENIED) so please give some tips how to fix this.
Thanks in advance
Joao

Reading the above responses, that's fine for a current RDP session, but what I want to do is to setup a few VM's and test/separate out various devices.
I wanted one VM that just did TV recordings for when I'm out, another that handled the security cameras I plan on installing, be they web cams or IP cameras.
Yet another VM that had the only connection to the printer/scanner that was connected to the cloud.
Realistically, I wanted to have various VM's that handled other devices as well as usb drives, but this seems to fail, just because I cannot add a device permanently.
This in some ways seems to be a security risk, the VM cannot get access to potential virus's on a usb device but the server can !!
The point of VM's for me is I can install all devices on separate VM's as required, back up these VM's frequently. If and only if the server dies and I loose the drive, I would only have to re-install the server and then attach back the VM's backup.
Maybe I'm missing the point of usb not being able to attach permanently?
Thanks for any solution
Mike
Use Tape Redirector a free product from my company. It does add iSCSI to any storage device (including USB) and you'd be able to use it over iSCSI from any physical or virtual machine from any place inside your network. See:
http://www.starwindsoftware.com/download-starwind-tape-redirector
Hope this helped :)
StarWind iSCSI SAN & NAS

Similar Messages

  • How to connect USB external Harddisk to Hyper-v virtual machine

    Hi,
    We are running hyper-v server 2008 R2, we have external USB harddisk connected in hyper-v Manager, we are not able connect this USB to virtual machine.. is this option is available in hyper-v? if no is there any document from microsoft stating the same?
    Regards
    Asha

    Hi,
    Unfortunately, USB is not supported on a Hyper-V virtual machine. You can perform the following suggestions:
    1. Offline the USB hard disk on the Hyper-V host machine and connect it to the virtual machine as a pass-through disk(if the USB hard disk is support)
    For more information, you can refer to:
    Configuring Pass-through Disks in Hyper-V
    http://blogs.technet.com/b/askcore/archive/2008/10/24/configuring-pass-through-disks-in-hyper-v.aspx
    2. You can also use some USB over Ethernet application.
    Best Regards,
    Vincent Hu

  • How to find out whether a program is running in Hyper-V virtual machine or not?

    If I want to make a program which only running in Hyper-V virtual machine, how can I find out whether
    the program is running in Hyper-V  virtual machine or not?

    https://gallery.technet.microsoft.com/scriptcenter/Determine-if-a-computer-is-cdd20473
    http://social.technet.microsoft.com/wiki/contents/articles/942.hyper-v-how-to-detect-if-a-computer-is-a-vm-using-script.aspx
    http://www.grouppolicy.biz/2014/01/how-to-target-group-policy-to-virtual-computers/
    Mike Crowley | MVP
    My Blog --
    Baseline Technologies

  • How can I know the version of Application Server Java Virtual Machine

    How can I know the version of Application Server Java Virtual Machine?
    Thanks a lot.

    Thats easy. Your jdk/jre are located in the App Server home directory. Just run the java command under the jdk directory with the "-version" switch and it will provide you with detailed information about your VM.
    For example if you're doing it at command prompt it will be something like
    java -versionI hope this will be useful to you.
    Regards,
    Wasif

  • VMM 2012: How to Configure Automatic Start and Stop Actions for a Virtual Machine?

    Does somebody know how to confgure Automatic Start and Stop Actions for a Virtual Machine in VMM 2012?
    I miss that option.

    Automatic Start or Automatic Restart actions are available for virtual machines running on a Hyper-V cluster from within Virtual Machine Manager.
    From within Virtual Machine Manager, bring up the Virtual Machine's properties:
    Click "Hardware Configuration"
    Click "Availability"
    Click "High", "Medium", or "Low" to enable automatic start/restart or
    Click "Do not restart automatically" to disable automatic start/restart
    Screenshot from VMM 2012 for a VM running in a Server 2012 R2 Hyper-V cluster:
    VMs running on a cluster have to be marked "Highly Available" and logically, Microsoft assumes that you'll want these VMs to be running all the time when this setting is selected.  If the cluster fails or needs to be restarted, you can set the priority
    by which a VM restarts, or you can set the VM to not restart at all when cluster services are restored by using the settings above.

  • How to control DE USB disk Automounts.

    Hi,
    Can someone please guide me as to how to 'control' Automounts by DE when we plug USB disk drives.
    I have KDE4 on my Arch system. When I connect a pen drive/USB HDD which is formatted as vfat/NTFS, the system(or KDE) 'Automounts' it in /media and I have read/write access to it. But if I use the same drive and format it as ext4, it wont be mounted as read/write for normal users but only for root.
    Now pen drives and USB HDD's are removable storage drives and hence are volatile and could not have a fixed mount point, so it cannot be mounted by putting an entry in fstab or could they?. And I need my USB HDD frequently, and manually mounting it through CLI everytime and working on it as root is a bad idea i guess.
    I am posting this because m confused as to how to control this Automount feature-What is the backend to it? Because I've read that HAL no longer takes care of it and that HAL will be deprecated soon, instead UDEV takes care of it. If that is the case then should I be concerned about polkit? Because that is what's the output provided by Dolphin(freedesktop.org policy prevented blah blah).
    Another thing is if HAL is still in use and Automounts my devices then is it independent or polkit is a part of it. Then, is using hal-easy an option or replacement to standard HAL. ??!!??
    I tried HAL archwiki and used the code to give a user permission to give rw access to automounted ext filesystems, but then nothing is mounted, it sings the same old freedesktop.org prevented bla blah song. And I think this is a question for all linuxes using Gnome and KDE in general.
    Any help is appreciated.

    If by 'ability to mount as user' you mean to mount it manually but read/write access to normal users then yes. But primarily I need automounting as user, also be able to give access to other users for read/write et filesystem automounts.
    Last edited by kapz (2009-11-17 01:12:56)

  • How to access a USB disk drive connected to Airport Extreme from a Windows 7 PC?

    How can I access a USB disk drive connected to Airport Extreme from a Windows 7 PC?

    ...Called it a roaming network.  Wireless mode is create a wireless network. I have checked allow this network to be extended.  Probably need to uncheck that?
    Yes, that option should be deselected as it only pertains to when both routers are interconnected by wireless. Since you have a roaming network, they of course, would be interconnected by Ethernet.
    The other important settings for a roaming network are:
    Each router must have a unique station name. For the AirPort, this would be called its Base Station Name. I believe the default station name for Linksys routers is: linksys
    Each router must broadcast a wireless network with an identical Network Name. For the Linksys, Network Name is the same as its SSID.
    Each router wireless network must use the same Wireless Security type and password. The Linksys WRT-54G is capable of up to WPA2 Personal. If you have it set to this level of security, the AirPort should be at the same setting.
    Make sure that each router is not on the same Radio Channel for the 2.4 GHz radio. In the US, there are basically only three non-overlapping channels: 1, 6, or 11. Set each so that they don't use the same channel but use of those three choices.

  • Backing Up Hyper-V Virtual Machines with dynamic vhdx disks attached

    Hi folks.
    Can i  make an online backup
    for a virtual machine that has a hard drive
    attached  dynamic vhdx running on
    windows server 2012 r2?
    Regards

    I think we should try to duplicate this using diskshadow.exe to create a persistent snapshot and manually copy a VM.
    1) On the hyper-V host open an administrative command prompt.
    2) Run diskshadow.exe - and after it starts enter the following commands as written except for the drive letters used:
       Diskshadow> Set Verbose on
       Diskshadow> Set context Persistent
       Diskshadow> Add Volume X: ALIAS xvol    (Where
    X: is the drive letter of the volume containing the Hyper-V guests you want to make a snapshot for)
       Diskshadow> Begin backup
       Diskshadow> create                   
       Diskshadow>end backup
       DiskShadow> Expose %xvol% S:              (Where S: is a free drive letter)
    3) Now Go into explorer and copy out VM's from the S: Drive which is the live shadow copy and see if that duplicates your problem.
    When you are done, delete the shadow copy in diskshadow using the following command.
       DiskShadow>Delete shadows exposed S:  
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • How do I delete unwanted multiple back-ups of a Virtual Machine?

    I just learned that VMWare (Fusions) does not recommend backing up the Virtual Machine onto the Time Machine drive. Now I know why: My 1 Tb Time Machine is full, after just two months. I've tried to drag the unwanted backups into the trash, but that isn't allowed. Does anyone know how to delete selected files from Time Machine?

    You could look these over:
    http://discussions.apple.com/thread.jspa?threadID=1964018
    http://discussions.apple.com/thread.jspa?threadID=2057525
    hope this helps

  • How does the security model work for external USB disks attached to an AEBS

    I've attached a USB disk to my AEBS after partitioning it first on my MBP using Disk Utility. I created a single partition with a GUID partition table covering the entire disk. Next I deselected the "Ignore ownership on this volume" checkmark and assigned myself and my wife read/write access, my group read access, and the rest no access. Next, I hooked it up to the AEBS and created some test files. I noticed in Terminal that the files I created all had rwx access for user, group and others. Trying to chmod that into something less open, like rwx for me, rx for the group and nothing for others didn't work. Also I noticed that when I was logged in the files I had created had my name as the owner, but when my wife logged in, those same files were owned by my wife.
    What is happening here ? Who is the actual owner of the files on the external USB disk on my AEBS, and what are the real access rights (as they seem to depend on the actual user). On my AEBS I've setup "File sharing", "With accounts" and created accounts for both me and my wife, as well as disabled guest account access.
    I get the impression that the owner and access rights seem to depend on the actual user connected to the AEBS, but I'm not sure.
    Can anybody please enlighten me on the subject of AEBS access rights/ownership for USB disks ?
    With kind regards,
    Aloy

    All that I can provide is what has worked for me for years.
    The Time Capsule is setup as the router for the network, connected to a simple Zoom 5431J cable modem.
    Static Internet IP connection from the cable provider is 12.34.567.89
    By default, the Time Capsule is at 10.0.1.1 on the local network
    Port Mapping setup for the Time Capsule is......
    Public UDP Port 8884
    Public TCP Ports 8884
    Private IP 10.0.1.1
    Private UDP 548
    Private TCP 548
    The hard drive on the Time Capsule is accessed from a remote location at afp://12.34.567.89:8884
    The AirPort Extreme is connected by Ethernet to the Time Capsule and is it setup to operate in Bridge Mode
    The AirPort Extreme always receives a reserved local IP address of 10.0.1.2 from the Time Capsule
    The Port Mapping setup (on the Time Capsule) looks like this for the AirPort Extreme.......
    Public UDP Port 8888
    Public TCP Port 8888
    Private IP  10.0.1.2
    Private UDP 548
    Private TCP 548
    The USB hard drive connected to the AirPort Extreme is accessed from a remote location at afp://12.34.567.89:8888
    If you are still having difficulty, I would delete all of Port Mapping settings on the Time Capsule and Update the Time Capsule. Then, go back and setup the Port Mapping for the Time Capsule, check that to make sure that it is working, then setup the Port Mapping settings on the Time Capsule for the AirPort Extreme.

  • Performance of WRT610N (v1) with attached USB disk

    Greetings, I've had my WRT610N for a while now and have had no complaints on performance.  Over this past weekend, however, I attached a USB disk to it (cheaper than adding a NAS).  I can mount it without problem on my Vista box, but it seems that when the disk is being accessed (read or write), I get severe performance degradation on my network connection.  Severe enough to render the network unusable.
    Is this to be expected?  Is there a setting in the firmware that will prioritize network activity over disk activity?
    The PCs in question are wired and the router is running the latest firmware (1.00.03.15).  The disk (previously formatted on my computer) is NTFS.  If there are any other pertinent pieces of information, please let me know.
    Thanks.
    Message Edited by msfeinstein on 10-05-2009 04:27 PM

    Try reducing the MTU size to 1300 on the router's GUI and check if the problem resolve...If not then,try upgrading/reflashing the router's firmware and reconfigure it from the scratch....

  • New Time Capsule: Assign DHCP address and backup to USB disk?

    Hi all,
    I am setting up a new Time Capsule and have two questions:
    - I am successfully backing up my MacBook Pro to the internal TC disk. I like loooong backup histories, so I would like to backup my iMac to a separate Time Machine disk attached to the TC via USB. I have googled and not found anyone saying it can be done. I have attached a USB disk and tried to configure TimeMachine to see it, but it is invisible. Is this even possible?
    - I want to assign a specific IP address to a Linux server (Ubuntu Jaunty) on the internal network of the Time Capsule. I can get a "random" DHCP address assigned, but I cannot get a specific one assigned. I have tried to create DHCP Reservations for the Linux box using both its MAC address as well as the DHCP client ID (preferred). No matter what, I still get the random DHCP address. On the linux box, I have made sure to set the Client ID as well as removing the old leases file. Any hints?
    Thanks in advance for any help on either front!

    ...so I would like to backup my iMac to a separate Time Machine disk attached to the TC via USB.
    That is not possible with Time Machine.
    Time Machine will backup any files residing on your Mac or residing on any disk connected via USB or FireWire directly to your Mac.
    Time Machine will NOT backup files residing on a network drive like the USB drive connected to a Time Capsule.
    I want to assign a specific IP address to a Linux server (Ubuntu Jaunty) on the internal network of the Time Capsule.
    The default settings of the Time Capsule use the addresses 10.0.1.2 to 10.0.1.200 for DHCP clients. If you want this server to have a fixed IP address, simply configure the server to have a manual IP address in the range 10.0.1.201 to 10.0.1.254.

  • How to get Virtual machine reserve (percentage) using WMI

    Hi,
    In Hyper-V, Virtual machine reserve (percentage) shows percentage value In UI
    but Msvm_ProcessorSettingData.Reservation range is 1-100000.
    Why it shows like this???
    How to get Virtual machine reserve and limit value in percentage???
    Pls Help me.....

    Hi VijendraBoopathy,
    I checked the setting of WMI Msvm_ProcessorSettingData , the range of limit and reservation is 0-100000 .
    Please refer to the following link:
    http://msdn.microsoft.com/en-us/library/cc136870(v=vs.85).aspx
    Also we noticed that there is side-note "(percentage)" of limit value and reservation value :
    Based on my understanding of this behavior , this value was converted to percentage by GUI .
    So , if you want to get the percentage you may customize the output to percentage .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Can't see USB disk attached to other mac

    I have an Airport Express, on the network is a Mac Mini which has an USB disk attached to it (to the Mac Mini).
    However, I can't see the disk from any other mac that uses the Airport (this used to work)
    I've looked for "disk sharing" in Preferences and in the Airport Setup Utility, but couldn't find anything.
    I've also made the Sharing & Permissions of the USB disk for "Me" and "Everyone" as " Read & Write"
    Any idea how I can resolve this issue?
    Thanks,
    Awfers

    Ok, thanks for clarifying. You don't need to change any settings within the AirPort Utility, but let's double-check your Mac Mini's settings to make sure that it is both sharing the disk properly and that it's OS X firewall is not blocking the requests.
    For File Sharing: System Preferences > Sharing > File Sharing
    o Make sure that the folders on your external hard drive, that you want shared, are selected in the Shared Folders window.
    o Make sure that you have, at least, Everyone = Read Only set in the Users window.
    o Select Options..., and then, verify that you have "Share files and folders using AFP" is enabled for Mac clients, and "Share files and folders using SMB" is enabled for Windows clients.
    For the OS X Firewall: System Preferences > Security > Firewall
    o If "Allow all incoming connections" is enabled, verify that: "File Sharing (AFP, SMB)" is now displayed in the list.

  • Deleted files from USB Disk attached to Airport Extreme

    I deleted files from a USB disk attached to my airport extreme.  I then needed to recover them  but they are not in the trash can...how can I find and restore these files?  I have not emptied the trash.  I am just looking in the trash in my bar at the bottom bar.  I got the message that asked if I wanted to send them to the trash and I said yes...help, I need the files!
    Thanks,
    Josh

    Unfortunately, as the message clearly states.....the file(s) will be deleted immediately....not moved to the trash.
    If you want to experiment, a utility like Disk Warrior might be able to salvage some of the data on the disk....IF....you have not made any changes on the disk since you deleted the files.
    http://www.alsoft.com/diskwarrior/
    But, it will be much quicker to simply restore a copy of the file(s) from your backups.

Maybe you are looking for