Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/windows/win-enable-nested-hyperv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ if ($hyperv.Installed -and $hypervTools.Installed -and $hypervPowerShell.Install
# Suppress the prompt for "Do you want to allow your PC to be discoverable by other PCs and devices on this network"
$return = new-item -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" -Force
"END: Creating nested guest VM" | out-file -FilePath $logFile -Append
$return.ExitCode
write-host $return.ExitCode
return $STATUS_SUCCESS
}
catch {
throw $_
Expand Down