Share via


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>,以啟用遠端偵錯支援。
  • 關閉朗讀程式。 從指定的 <osentrylinenum>移除 /dbg1394 選項,以停用遠端偵錯支援。
/s <computer> 指定遠端電腦的名稱或 IP 位址 (請勿使用反斜線)。 預設是本機電腦。
/u <domain>\<user> 使用 <user>or<domain>\<user> 指定的使用者的帳戶權限執行行該命令。 預設值為發出命令之電腦上的目前已登入使用者權限。
/p <password> 指定 /u 參數中指定的使用者帳戶密碼。
/ch <channel> 指定要用於偵錯的通道。 有效值包括介於 1 到 64 之間的整數。 如果 1394 連接埠偵錯已停用,請勿使用此參數。
/id <osentrylinenum> 指定 Boot.ini 檔案的 [operating systems] 區段中新增作業系統載入選項的作業系統項目行號。 [operating system] 區段標頭後面的第一行是 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