Setting the Target Devices

Windows Defender

Other AV Solutions

  • We recommend that you disable the Windows Defender and disable or uninstall third-party anti-virus software on the target computer.

  • An attempt to run remote software triggers a notification. The remote deployment procedure fails.

Enable Access to the Task Scheduler Through the Windows Firewall in a Domain Profile

  • When the Windows Firewall blocks the remote connection to the target's Task Scheduler, run this PowerShell command on the target computer:

    Get-NetFirewallProfile -Name Domain | Get-NetFirewallRule | ? Name -like *RemoteTask-In-TCP-NoScope* | Enable-NetFirewallRule

  • Configure these settings on the computer:

    1. Navigate to Control Panel > Network and Internet > Network and sharing center > Advanced sharing settings.

    2. In the Network discovery section, select Turn on network discovery.

    3. In the File and printer sharing section, select Turn on file and printer sharing.
  • Allow user to access the %windir%\Tasks directory.

  • Navigate to Local Security Policy > Local Policies > User Rights assignment and verify that the Log on as a batch job and Log on a service are configured.

  • Navigate to Windows Defender Firewall with Advanced Security > Windows Defender Firewall with Advanced Security - Local Group Policy ObjectInbound Rules and verify that the:

    • Remote Scheduled Tasks Management (RPC) is enabled.

    • Remote Event Log Management (RPC) is enabled.

  • Verify that the Remote Registry service is running.