¿Cómo deshabilitar Hyper-V en la línea de comandos?
Estoy tratando de abrir VMware, dice que VMware player y Hyper-V no son compatibles. Lo encontré aquí, pero no funciona usando el comando que ofrece.
Traté de ver la ayuda, encontré que hay /hypervisorsettings
opción allí. Pero todavía no funciona con él, dice The parameter is incorrect
.
Alguien Puede ayudar con esto?
6 answers
En un Símbolo del sistema elevado escriba esto:
Para desactivar:
bcdedit /set hypervisorlaunchtype off
Para habilitar:
bcdedit /set hypervisorlaunchtype auto
(De los comentarios - reiniciar para que surta efecto)
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-08-22 05:43:16
Este comando funciona
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Ejecútelo y luego acepte reiniciar el equipo cuando se le solicite.
Lo ejecuté con permisos elevados de PowerShell en Windows 10, pero también debería funcionar en Win 8 o 7.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-05-10 15:59:41
Puede tener una configuración de Windows 10 con y sin Hyper-V de la siguiente manera en un mensaje de Administrador:
bcdedit /copy {current} /d "Windows 10 no Hyper-V"
Encontrar el nuevo id de la recién creada "Windows 10 no Hyper-V" bootentry, por ejemplo. {094a0b01-3350-11e7-99e1-bc5ec82bc470}
bcdedit /set {094a0b01-3350-11e7-99e1-bc5ec82bc470} hypervisorlaunchtype Off
Después de reiniciar, puede elegir entre Windows 10 con y sin Hyper-V al inicio
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-05-08 08:44:57
Línea de comandos:
dism /online /disable-feature /featurename:microsoft-hyper-v-all
Si alguien está recibiendo:
No pudimos completar las actualizaciones, Deshaciendo los cambios
Después de intentar desactivar Hyper-V, intente desinstalar los adaptadores de red virtuales Hyper-V de su Administrador de dispositivos->Adaptadores de red
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-09-23 11:28:36
Abra un símbolo del sistema como administrador y ejecute este comando:
bcdedit /set {current} hypervisorlaunchtype off
Después de un reinicio, Hyper-V todavía está instalado, pero el hipervisor ya no se está ejecutando. Ahora puede usar VMware sin ningún problema.
Si necesita Hyper-V de nuevo, abra un símbolo del sistema como administrador y ejecute este comando:
bcdedit /set {current} hypervisorlaunchtype auto
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-12-01 18:15:08
Puedes usar mi script. pegue las líneas de código en el bloc de notas y guárdelas como vbs(por ejemplo, switch_hypervisor.vbs)
Option Explicit
Dim backupfile
Dim record
Dim myshell
Dim appmyshell
Dim myresult
Dim myline
Dim makeactive
Dim makepassive
Dim reboot
record=""
Set myshell = WScript.CreateObject("WScript.Shell")
If WScript.Arguments.Length = 0 Then
Set appmyshell = CreateObject("Shell.Application")
appmyshell.ShellExecute "wscript.exe", """" & WScript.ScriptFullName & """ RunAsAdministrator", , "runas", 1
WScript.Quit
End if
Set backupfile = CreateObject("Scripting.FileSystemObject")
If Not (backupfile.FileExists("C:\bcdedit.bak")) Then
Set myresult = myshell.Exec("cmd /c bcdedit /export c:\bcdedit.bak")
End If
Set myresult = myshell.Exec("cmd /c bcdedit")
Do While Not myresult.StdOut.AtEndOfStream
myline = myresult.StdOut.ReadLine()
If myline="The boot configuration data store could not be opened." Then
record=""
exit do
End If
If Instr(myline, "identifier") > 0 Then
record=""
If Instr(myline, "{current}") > 0 Then
record="current"
End If
End If
If Instr(myline, "hypervisorlaunchtype") > 0 And record = "current" Then
If Instr(myline, "Auto") > 0 Then
record="1"
Exit Do
End If
If Instr(myline, "On") > 0 Then
record="1"
Exit Do
End If
If Instr(myline, "Off") > 0 Then
record="0"
Exit Do
End If
End If
Loop
If record="1" Then
makepassive = MsgBox ("Hypervisor status is active, do you want set to passive? ", vbYesNo, "Hypervisor")
Select Case makepassive
Case vbYes
myshell.run "cmd.exe /C bcdedit /set hypervisorlaunchtype off"
reboot = MsgBox ("Hypervisor chenged to passive; Computer must reboot. Reboot now? ", vbYesNo, "Hypervisor")
Select Case reboot
Case vbYes
myshell.run "cmd.exe /C shutdown /r /t 0"
End Select
Case vbNo
MsgBox("Not Changed")
End Select
End If
If record="0" Then
makeactive = MsgBox ("Hypervisor status is passive, do you want set active? ", vbYesNo, "Hypervisor")
Select Case makeactive
Case vbYes
myshell.run "cmd.exe /C bcdedit /set hypervisorlaunchtype auto"
reboot = MsgBox ("Hypervisor changed to active; Computer must reboot. Reboot now?", vbYesNo, "Hypervisor")
Select Case reboot
Case vbYes
myshell.run "cmd.exe /C shutdown /r /t 0"
End Select
Case vbNo
MsgBox("Not Changed")
End Select
End If
If record="" Then
MsgBox("Error: record can't find")
End If
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-07-18 09:14:42