fb
Homepage 5 How-to Articles 5 How to Run Scheduled Task Remotely on Windows Computer

How to Run Scheduled Task Remotely on Windows Computer

Manage remote endpoints, deploy software and patches with Action1 cloud RMM solution.

Sign up and use free on up to 50 endpoints with no functionality limits or expiration.



May 17, 2019

For scheduling and automatic execution of tasks in the Windows environment, the standard Task Scheduler tool is provided, which ensures that pre-prepared tasks are performed at a specific time, or when certain events occur, either once or at intervals, in the context of system or user accounts. In other words, using the Task Scheduler, you can schedule or perform a certain event, perform previously prepared actions, for example, check for updates, synchronize the clock on the time server when any user logs on, turn off or restart the computer, create a system restore point and etc. Starting from Windows Vista, Task Scheduler has become the main system maintenance tool, without which its normal operation is impossible. To manage scheduled tasks in a graphical user interface environment, the Microsoft Management Console (MMC) with the taskschd.msc module or the Schtask.exe command line utility can be used.

Sometimes you may want to create or work with scheduled tasks on remote computers running on Windows. For example, you may want to create a scheduled task on a remote computer then use your computer to manipulate it as and when you require without needing to physically go to the remote computer. The following article shows you how you can run scheduled task on remote computer.

1. You Must Ensure the Following Before You Begin

  • Your computer and the remote computer must be part of a domain or a Workgroup
  • You must know the IP Address of the remote computer
  • You must have the login credentials for the remote computer and the login credential must be part of the Administrators group on the remote computer.
  • You may want to ensure that your Firewall allows “Remote Scheduled Tasks Management” – Screenshot below.

Check options

2. Creating or Managing a Scheduled Task on a Remote Computer

  • Open Task Scheduler Windows Interface (On Windows 7: Start | Type “Task Scheduler” in search field.)
  • Right click on Task Scheduler | Click on “Connect to Another Computer”
  • Supply the IP Address of the remote PC | Select “Connect as another user:” and click on “Set User”
  • Enter the username and password for the remote PC you want to connect to.

You now have access to the Tasks Scheduler in the remote PC and are able create new tasks or manipulate the existing tasks on the remote PC.

Creating or Managing a Scheduled Task

3. Run Scheduled Task with Powershell

Run the following in Powershell with appropriate permissions:

schtasks /run /s ComputerName /tn "description"

If you want to loop it so it runs manually every 30 minutes, run the following:

#When the counter reaches 30, that’s 15 hours

$counter = 0

Do{

schtasks /run /s ComputerName /tn “description”

sleep 1800

$counter++

“$counter – Running script”

} While ($counter –lt 30)

Consider Using Action1 to Run Scheduled Task on Remote Computer if:

  • You need to perform an action on multiple computers simultaneously.
  • You have remote employees with computers not connected to your corporate network.

Action1 is a cloud-based platform for patch management, software deployment, remote desktop, software/hardware inventory, endpoint management and endpoint configuration reporting.

Related Articles

How To Delete User Profiles Remotely with PowerShell

When a user logs onto the computer for the first time (not via the network to access shared folders or printers), Windows creates a user profile. Among its contents are the NTUSER.DAT file (user profile settings), user-specific folders (My Documents, Desktop, etc.),...

About Action1 RMM

Action1 RMM is a cloud-based IT solution for remote monitoring and management, patching, and remote support.

Start your free two-week trial of Action1, or use RMM tools for free forever on 50 endpoints with no functionality limitations!



0 Comments

Submit a Comment

Your email address will not be published.

cloud patch management solutions action1

MSP Solution

Centralize endpoint management and boost efficiency of IT service delivery.

automated server patch management action compliance

Patch Management

Identify and deploy missing OS and third-party software updates.

cloud software deployment tools windows

Software Deployment

Distribute software and updates across managed endpoints.

software distribution tools software inventory action1

IT Asset Inventory

Keep a detailed inventory and manage hardware and software assets.

web client remote desktop

Remote Desktop

Support users via seamless remote desktop connection.

web based rdp client

Unattended Access

Provide administrative support and manage remote devices.

automated patch management action1

Endpoint Management

Run PowerShell, custom scripts, reboot computers and restart services.

API integrations action1

RESTful API

Integrate Action1 RMM to your IT ecosystem.

computer inventory tool for compliance

Reports and Alerts

Conduct endpoint security audits with comprehensive reporting.