RequiresUserInput (microsoft-windows-shell-setup-logoncommands-asynchronouscommand-requiresuserinput)

不會使用設定 RequiresUserInput

注意 不同于同步命令,非同步命令可能會依任何順序啟動和完成。 即使非同步命令需要使用者輸入,它們也無法延遲 Windows 桌面的外觀。 如果非同步命令需要使用者輸入,終端使用者會在桌面出現之後看到輸入視窗。 如需同步命令的相關資訊,請參閱 SynchronousCommand

true

不使用此設定。

false

不使用此設定。

有效的設定階段

oobeSystem

父階層

Microsoft-Windows-Shell-Setup | LogonCommands | AsynchronousCommand | RequiresUserInput

套用至

如需此元件支援的 Windows 版本和架構清單,請參閱 Microsoft-Windows-Shell-Setup

XML 範例

下列 XML 輸出顯示如何設定兩個登入命令的範例。 其中 RequiresUserInput 一個命令的設定沒有任何作用。

<LogonCommands>
  <AsynchronousCommand wcm:action="add">
    <CommandLine>c:\asynccommands\command1.exe</CommandLine>
    <Description>Description_of_command1</Description>
    <Order>1</Order>
    <RequiresUserInput>true</RequiresUserInput>
  </AsynchronousCommand>
  <AsynchronousCommand wcm:action="add">
    <CommandLine>c:\asynccommands\command2.exe</CommandLine>
    <Description>Description_of_command2</Description>
    <Order>2</Order>
    <RequiresUserInput>false</RequiresUserInput>
  </AsynchronousCommand>
</LogonCommands>

AsynchronousCommand

RequiresUserInput