BCDedit Hypervisor Command
Log In or Register to download the BES file, and more.

0 Votes

Description

RUNS command

bcdedit /set hypervisorlaunchtype auto

 

For user on 64bit systems

EDIT: Please note that powershell is not required. instead you can use "waithidden" with the command to make this function. You however do still need to have the wow redirection for 64bit.


Property Details

ID24885
StatusBeta - Preliminary testing ready for more
TitleBCDedit Hypervisor Command
SourceInternal
Source Release Date1/12/2018 12:00:00 AM
KeywordsBCD
Is TaskTrue
Added by on 1/15/2018 11:27:11 AM
Last Modified by on 1/22/2018 11:14:40 AM
Counters 1130 Views / 2 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 81 fixlets and 86 analyses   * Results in a true/false
Show indented relevance
true

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
action uses wow64 redirection {not x64 of operating system}
delete __createfile
createfile until END_OF_FILE

cmd /c "bcdedit /set hypervisorlaunchtype auto"


END_OF_FILE

delete tmvmstart.ps1
move __createfile tmvmstart.ps1

override run
runas=agent
run { pathname of file ((it as string) of value "Path" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of native registry) } -ExecutionPolicy Bypass -windowstyle hidden -File tmvmstart.ps1
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
FrozenWaltDisney -
yeah I re-wrote this to actually just use cmd command instead of using powershell. It was originally part of my troubleshooting why it wasn't working. I just didn't completely scale it back until the next iteration.
jgstew -
I don't entirely get why this runs powershell which in turn runs a CMD when you could just invoke CMD directly.
FrozenWaltDisney -
I wrote this to troubleshoot an issue with some machines where you needed to edit the BCDStore to allow the hypervisor to start. Super annoying. The image totally works on some of our hardware but not on others. What I did find was BigFix runs in 32-bit by default, and needs to be elevated to the OS bit level otherwise you cannot modify the BCDstore. I would recommend changing the powershell script name to suit your needs. I also feel that you can utilize this script for any BCDStore modification you would like to do.