描述Description

Description 提供簡短SynchronousCommand在第一次登入時執行。Description gives a brief description of the SynchronousCommand to be run at first logon.

Values

Command_descriptionCommand_description

描述在第一次登入時執行的命令。Describes the command to be run at first logon. Command_description是最大長度為 256 個字元的字串。Command_description is a string with a maximum length of 256 characters.

此字串類型支援空元素。This string type supports empty elements.

有效的設定階段Valid Configuration Passes

oobeSystemoobeSystem

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | FirstLogonCommands | SynchronousCommand | DescriptionMicrosoft-Windows-Shell-Setup | FirstLogonCommands | SynchronousCommand | Description

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱Microsoft Windows Shell-安裝For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML Example

下列的 XML 輸出會顯示如何設定第一個登入的命令。The following XML output shows how to set first logon commands.

<FirstLogonCommands>
   <SynchronousCommand wcm:action="add">
      <CommandLine>c:\synccommands\command1.exe</CommandLine>
      <Description>Description_of_command1</Description>
      <Order>1</Order>
   </SynchronousCommand>
   <SynchronousCommand wcm:action="add">
      <CommandLine>c:\synccommands\command2.exe</CommandLine>
      <Description>Description_of_command2</Description>
      <Order>2</Order>
   </SynchronousCommand>
</FirstLogonCommands>

SynchronousCommandSynchronousCommand