bootcfg dbg1394

适用范围:Windows Server 2022、Windows Server 2019、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012

为指定操作系统项配置 1394 端口调试。

语法

bootcfg /dbg1394 {on | off}[/s <computer> [/u <domain>\<user> /p <password>]] [/ch <channel>] /id <osentrylinenum>

参数

参数 说明
{on | off} 指定用于 1394 端口调试的值,包括:
  • 如果 通过将 /dbg1394 选项添加到指定的 <osentrylinenum> 来启用远程调试支持。
  • off。 通过从指定的 <osentrylinenum> 中移除 /dbg1394 选项来禁用远程调试支持。
/s <computer> 指定远程计算机的名称或 IP 地址(请勿使用反斜杠)。 默认为本地计算机。
/u <domain>\<user> 使用由 <user><domain>\<user> 指定的用户的帐户权限来运行命令。 默认情况下将使用发出命令的计算机上当前已登录用户的权限。
/p <password> 指定 /u 参数中指定的用户帐户的密码
/ch <channel> 指定用于调试的通道。 有效值包含 1 到 64 之间的整数。 如果已禁用 1394 端口调试,请勿使用此参数。
/id <osentrylinenum> 在 Boot.ini 文件的 [operating systems] 节中指定添加了操作系统加载选项的操作系统条目行号。 [operating systems] 节标题后面的第一行是 1。
/? 在命令提示符下显示帮助。

示例

使用 bootcfg /dbg1394 命令:

bootcfg /dbg1394 /id 2
bootcfg /dbg1394 on /ch 1 /id 3
bootcfg /dbg1394 edit /ch 8 /id 2
bootcfg /s srvmain /u maindom\hiropln /p p@ssW23 /dbg1394 off /id 2