Uzak Masaüstü Ağ Geçidi Hizmetini Başlat
Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDGateway.Start (Task)
Net Start RDGATEWAY komutunu çalıştırarak Uzak Masaüstü Ağ Geçidi hizmetini başlatır.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDGateway.Start" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDGateway" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName>%SystemRoot%\System32\net.exe</ApplicationName>
<WorkingDirectory>%SYSTEMROOT%\temp</WorkingDirectory>
<CommandLine>start RDGateway</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>