跳转至

Hyper V 其他

Windows Defender Credential Guard 不允许使用已保存的凭据

  1. 运行 gpedit.msc
  2. 计算机配置 -> 管理模板 -> 系统 -> Device Guard
  3. 禁用 "打开基于虚拟化的安全"
  4. 重启

Hyper-V is not configured to enable processor resource controls

Open CMD as administrator and write:

Text Only
bcdedit /set hypervisorschedulertype classic
Restart your PC ref1 ref2

使用 RemoteApp 连接 Windows 虚拟机

以下是 RetroBar.rdp 示例,优化了一些参数 - 设置 drivestoredirect:s:* 将映射所有硬盘到远程桌面会话中 - full address:s:hyper02 设置主机名为 hyper02 也可以改为 IP:端口号 - camerastoredirect:s:* 允许摄像头重定向,方便视频会议,如果要禁用,删除 * 号 - 完整的配置可以参考 Supported RDP properties | Microsoft Learn

Text Only
alternate full address:s:hyper02
full address:s:hyper02
remoteapplicationname:s:RetroBar
remoteapplicationprogram:s:||RetroBar
allow desktop composition:i:1
allow font smoothing:i:1
alternate shell:s:rdpinit.exe
devicestoredirect:s:*
disableremoteappcapscheck:i:1
drivestoredirect:s:
prompt for credentials on client:i:1
promptcredentialonce:i:0
redirectcomports:i:1
redirectdrives:i:1
remoteapplicationmode:i:1
span monitors:i:1
use multimon:i:1
audiocapturemode:i:1
videoplaybackmode:i:1
camerastoredirect:s:*
connection type:i:6
bandwidthautodetect:i:0