Windows 10: Dismount-VmHostAssignableDevice Error on Line 8

Discus and support Dismount-VmHostAssignableDevice Error on Line 8 in Windows 10 Customization to solve the problem; While trying to set up PCIe passthrough to a VM through PowerShell and I ran into an issue where the Dismount-VmHostAssignableDevice command keeps... Discussion in 'Windows 10 Customization' started by Damien Claessen, Sep 25, 2019.

  1. Dismount-VmHostAssignableDevice Error on Line 8


    While trying to set up PCIe passthrough to a VM through PowerShell and I ran into an issue where the Dismount-VmHostAssignableDevice command keeps giving me an error about not having OS control of the PCIe bus. It originally said the error was on line 1 char 1, and I looked up the error and found that I needed to enable VTd and Platform Power Management. After enabling these, I tried to run the command again, and the error was the same, but the line number changed to line 8. I do not know much about PowerShell, and I have no idea what is the issue now, especially now that the required options in the BIOS are changed. Any ideas?


    Command:


    Dismount-VmHostAssignableDevice -LocationPath $locationPath -Force -Verbose


    Log:


    VERBOSE: Dismount-VmHostAssignableDevice will dismount an assignable device so it can be assigned to a virtual machine.

    Dismount-VmHostAssignableDevice : The operation failed.

    The current configuration does not allow for OS control of the PCI Express bus. Please check your BIOS or UEFI

    settings.

    At line:8 char:1

    + Dismount-VmHostAssignableDevice -LocationPath $locationPath -Force –V ...

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo : InvalidArgument: Dismount-VmHostAssignableDevice Error on Line 8 :)) [Dismount-VMHostAssignableDevice], VirtualizationException

    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.DismountVMHostAssignableDevice


    EDIT: I realized line 8 is because I ran other commands before this command, so line 8 has nothing to do with why it isn't working. Any ideas why I would be getting this error even though I enabled the features?

    :)
     
    Damien Claessen, Sep 25, 2019
    #1
  2. Naki Win User

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile Dismount-VmHostAssignableDevice Error on Line 8 :)
     
  3. ryanly Win User
    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, Sep 25, 2019
    #3
  4. Monk.e83 Win User

    Dismount-VmHostAssignableDevice Error on Line 8

    Unlocked Realtek HD Audio Drivers Windows 7 & 8 (With Dolby Digital Live and DTS Interactive)

    DTS supported natively by Windows 8/8.1 and it should work on windows 10 too just DDL require to unlock your driver .
     
    Monk.e83, Sep 25, 2019
    #4
Thema:

Dismount-VmHostAssignableDevice Error on Line 8

Loading...
  1. Dismount-VmHostAssignableDevice Error on Line 8 - Similar Threads - Dismount VmHostAssignableDevice Error

  2. is it safe to force dismount on c drive?

    in Windows 10 Gaming
    is it safe to force dismount on c drive?: So basically i am trying to recover my pc from critical process died at startup and i wanna run chkdsk c: /f but i'm not sure if it's safe to do it. https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-force-dismount-on-c-drive/b3adcf1d-ee5f-474a-a043-65bf21fa8d4e
  3. is it safe to force dismount on c drive?

    in Windows 10 Software and Apps
    is it safe to force dismount on c drive?: So basically i am trying to recover my pc from critical process died at startup and i wanna run chkdsk c: /f but i'm not sure if it's safe to do it. https://answers.microsoft.com/en-us/windows/forum/all/is-it-safe-to-force-dismount-on-c-drive/b3adcf1d-ee5f-474a-a043-65bf21fa8d4e
  4. Xcopy reports "A forced dismount was issued"

    in Windows 10 Software and Apps
    Xcopy reports "A forced dismount was issued": In running a batch to copy files to a spare hard drive, the end of the batch executes a dismount command to said drive.On most occasions, the program runs flawlessly, but sometimes the above output is generated.I assume that the file transfer isn't quite finished when this...
  5. Xcopy reports "A forced dismount was issued"

    in Windows 10 Network and Sharing
    Xcopy reports "A forced dismount was issued": In running a batch to copy files to a spare hard drive, the end of the batch executes a dismount command to said drive.On most occasions, the program runs flawlessly, but sometimes the above output is generated.I assume that the file transfer isn't quite finished when this...
  6. Xcopy reports "A forced dismount was issued"

    in Windows 10 Gaming
    Xcopy reports "A forced dismount was issued": In running a batch to copy files to a spare hard drive, the end of the batch executes a dismount command to said drive.On most occasions, the program runs flawlessly, but sometimes the above output is generated.I assume that the file transfer isn't quite finished when this...
  7. Dismounting Macrium Images

    in Windows 10 Backup and Restore
    Dismounting Macrium Images: I'm having a problem on two different systems dismounting Macrium images. One is running V2004 with licensed Macrium and one is running V1909 with a free copy of Macrium. Macrium is the latest version. One thing in common are the Images are large, 200GB+, one is in excess...
  8. Dismounting Macrium Images

    in Windows 10 Software and Apps
    Dismounting Macrium Images: I'm having a problem on two different systems dismounting Macrium images. One is running V2004 with licensed Macrium and one is running V1909 with a free copy of Macrium. Macrium is the latest version. One thing in common are the Images are large, 200GB+, one is in excess...
  9. How to control USB safe to dismount notifications

    in Windows 10 Customization
    How to control USB safe to dismount notifications: This topic keeps popping up and I want to share what I know from my two computers and testing. As of Jan 29, 2019, Windows 10 Pro 1803 my testing provided this information. I wanted to show how to do this without using Registry edits or other IT Administrator methods. I do...
  10. SD card dismounted after hibenate

    in Windows 10 Drivers and Hardware
    SD card dismounted after hibenate: I have a 32 GB denver Notebook with 128 GB SD card connected in the reader. Notebook always dismount after hibernate and will not re-connect back until i reinsert card or reboot. This has caused SD card corruption and i had to reformat SD card again. This time i formatted it...

Users found this page by searching for:

  1. dismount-vmhostassignabledevice object not found