{"id":334,"date":"2026-01-27T02:00:11","date_gmt":"2026-01-27T02:00:11","guid":{"rendered":"https:\/\/windows-vps.org\/blog\/?p=334"},"modified":"2026-08-03T22:36:07","modified_gmt":"2026-08-03T22:36:07","slug":"how-to-download-olympic-coin-on-windows-vps","status":"publish","type":"post","link":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/","title":{"rendered":"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Windows Task Scheduler is the built-in cron of Windows Server, and it is one of the most under-used tools on a Windows VPS. Backup jobs, log rotation, database snapshots, and health checks all belong in scheduled tasks \u2014 yet most admins either run them by hand over RDP or forget them until something breaks. This guide shows how to create reliable, restart-proof scheduled tasks with PowerShell, check their results, and avoid the five mistakes that make scheduled tasks fail silently.<\/p>\n<p class=\"wp-block-paragraph\">Everything here works on any Windows Server edition and costs nothing extra \u2014 you just need a box that stays on 24\/7, which is exactly what a VPS is for. If you are still choosing a host, <a href=\"https:\/\/windows-vps.org\/#providers\">our comparison table of Windows VPS providers<\/a> shows which plans include enough SSD space for the backup retention you will want once automation is running.<\/p>\n<h2 class=\"wp-block-heading\">The two ways to create tasks<\/h2>\n<p class=\"wp-block-paragraph\">You can click through taskschd.msc over RDP, but for reproducible setup the PowerShell ScheduledTasks module is better: the same commands work on Server Core, in provisioning scripts, and in your deployment pipeline. Both tools write to the same underlying task store.<\/p>\n<h2 class=\"wp-block-heading\">Create a daily task that runs as SYSTEM<\/h2>\n<p class=\"wp-block-paragraph\">This is the pattern to memorize. A task needs an action (what to run), a trigger (when), and a principal (which account):<\/p>\n<pre class=\"wp-block-code\"><code>$action    = New-ScheduledTaskAction -Execute \"powershell.exe\" `\n              -Argument \"-NoProfile -ExecutionPolicy Bypass -File C:\\scripts\\backup.ps1\"\n$trigger   = New-ScheduledTaskTrigger -Daily -At 02:00\n$principal = New-ScheduledTaskPrincipal -UserId \"SYSTEM\" -LogonType ServiceAccount -RunLevel Highest\n\nRegister-ScheduledTask -TaskName \"Nightly Backup\" `\n  -Action $action -Trigger $trigger -Principal $principal `\n  -Description \"Site and database backup\" -Force<\/code><\/pre>\n<p class=\"wp-block-paragraph\">Running as SYSTEM with LogonType ServiceAccount is the key: the task runs whether or not anyone is logged into an RDP session, and it survives password changes. The schtasks.exe equivalent of the same job is:<\/p>\n<pre class=\"wp-block-code\"><code>schtasks \/Create \/TN \"Nightly Backup\" \/TR \"powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\\scripts\\backup.ps1\" \/SC DAILY \/ST 02:00 \/RU SYSTEM \/RL HIGHEST \/F<\/code><\/pre>\n<h2 class=\"wp-block-heading\">Run a task every 30 minutes<\/h2>\n<p class=\"wp-block-paragraph\">For health checks or queue processors, use a repeating trigger:<\/p>\n<pre class=\"wp-block-code\"><code>$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) `\n  -RepetitionInterval (New-TimeSpan -Minutes 30) `\n  -RepetitionDuration (New-TimeSpan -Days 3650)\nRegister-ScheduledTask -TaskName \"Health Check\" `\n  -Action $action -Trigger $trigger -Principal $principal -Force<\/code><\/pre>\n<p class=\"wp-block-paragraph\">A task can also fire at startup (New-ScheduledTaskTrigger -AtStartup) \u2014 handy for services that need a kick after a reboot \u2014 or at user logon. Combine several triggers by passing an array: $trigger = @(New-ScheduledTaskTrigger -Daily -At 02:00, (New-ScheduledTaskTrigger -Daily -At 14:00)). And to see every task on the box, including the ones Windows registers for itself:<\/p>\n<pre class=\"wp-block-code\"><code>Get-ScheduledTask | Select-Object TaskName, State, `\n  @{n=\"Next\";e={(Get-ScheduledTaskInfo $_).NextRunTime}} | Format-Table -AutoSize<\/code><\/pre>\n<h2 class=\"wp-block-heading\">Check whether a task actually ran<\/h2>\n<p class=\"wp-block-paragraph\">The most common complaint is \u201cthe task did not run\u201d. The real status is one command away:<\/p>\n<pre class=\"wp-block-code\"><code>Get-ScheduledTaskInfo -TaskName \"Nightly Backup\" |\n  Select-Object LastRunTime, LastTaskResult, NextRunTime<\/code><\/pre>\n<p class=\"wp-block-paragraph\">LastTaskResult 0 (0x0) means the task completed successfully. Common nonzero values: 0x41303 means it has not run yet, 0x41301 means it is currently running, and 267011 usually means the trigger fired but the program was not found \u2014 check your paths. If a PowerShell script fails, wrap it in Start-Transcript so the failure is visible in a log:<\/p>\n<pre class=\"wp-block-code\"><code>Start-Transcript -Path \"C:\\logs\\tasks.log\" -Append\ntry { & \"C:\\scripts\\backup.ps1\" } catch { Write-Error $_ }\nStop-Transcript<\/code><\/pre>\n<h2 class=\"wp-block-heading\">Four jobs worth automating on day one<\/h2>\n<ul class=\"wp-block-list\"><li><strong>Nightly file backup:<\/strong> <code>robocopy C:\\inetpub\\wwwroot D:\\backups\\www \/MIR \/LOG:D:\\backups\\robocopy.log<\/code><\/li><li><strong>Log cleanup:<\/strong> <code>Get-ChildItem C:\\inetpub\\logs\\LogFiles -Recurse -File | Where-Object LastWriteTime -lt (Get-Date).AddDays(-30) | Remove-Item -Force<\/code><\/li><li><strong>Database backup:<\/strong> <code>sqlcmd -S . -Q \"BACKUP DATABASE [App] TO DISK='D:\\backups\\app.bak' WITH COMPRESSION, CHECKSUM\"<\/code><\/li><li><strong>Service watchdog:<\/strong> <code>if ((Get-Service W3SVC).Status -ne 'Running') { Start-Service W3SVC }<\/code><\/li><\/ul>\n<p class=\"wp-block-paragraph\">Put each job in its own .ps1 file under C:\\scripts, register one task per job, and keep the folder under version control. When the task list needs to move to a new VPS, export with Export-ScheduledTask and import on the target with Register-ScheduledTask -Xml (Get-Content task.xml -Raw).<\/p>\n<h2 class=\"wp-block-heading\">Five pitfalls that make tasks fail silently<\/h2>\n<ul class=\"wp-block-list\"><li><strong>\u201cRun only when user is logged on\u201d tasks do not fire<\/strong> after the RDP session disconnects \u2014 always use LogonType ServiceAccount (or S4U) for unattended jobs.<\/li><li><strong>Server time is often UTC<\/strong> on VPS templates. A 02:00 trigger fires at 02:00 UTC, not your local 02:00 \u2014 check Get-TimeZone and set the trigger accordingly.<\/li><li><strong>ExecutionPolicy blocks .ps1 files<\/strong> launched from a task; add -ExecutionPolicy Bypass to the action arguments.<\/li><li><strong>Relative paths break:<\/strong> tasks run with a different working directory. Use full paths everywhere, including inside the script.<\/li><li><strong>Re-registering without -Force<\/strong> fails if the task exists; use -Force, or remove the old task first with Unregister-ScheduledTask -TaskName &#8220;Nightly Backup&#8221; -Confirm:$false.<\/li><\/ul>\n<h2 class=\"wp-block-heading\">Wrap up<\/h2>\n<p class=\"wp-block-paragraph\">Scheduled tasks are the backbone of a hands-off Windows VPS: once backup, cleanup, and health jobs run on their own, you stop logging in \u201cjust to check\u201d. For a box that stays on 24\/7 with room for nightly backups, <a href=\"https:\/\/windows-vps.org\/#providers\">see the full specs and pricing<\/a> in our Windows VPS provider comparison.<\/p>\n<p class=\"wp-block-paragraph\">Automation is cheap, but the storage for backups is not. <a href=\"https:\/\/www.anrdoezrs.net\/click-101539688-17162719?sid=windowsvps\" rel=\"noreferrer noopener sponsored\" target=\"_blank\">Contabo&#8217;s Windows VPS plans<\/a> include large SSD volumes, so you can keep 30 days of nightly backups without juggling disk space.<\/p>","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re looking to download Olympic Coin on a Windows VPS, you&#8217;ve come to the right place. This guide will walk you through the process step by step, ensuring you have a smooth experience. Before we dive in, make sure to check out\u00a0Windows VPS\u00a0for reliable hosting solutions that can support your needs.<\/p>\n","protected":false},"author":1,"featured_media":335,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-334","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance - Windows VPS Blog<\/title>\n<meta name=\"description\" content=\"If you&#039;re looking to download Olympic Coin on a Windows VPS, you&#039;ve come to the right place. This guide will walk you through the process step by step, ensuring you have a smooth experience. Before we dive in, make sure to check out\u00a0Windows VPS\u00a0for reliable hosting solutions that can support your needs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance\" \/>\n<meta property=\"og:description\" content=\"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance\" \/>\n<meta property=\"og:url\" content=\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"Windows VPS Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-27T02:00:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-03T22:36:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/windows-vps.org\/blog\/wp-content\/uploads\/2026\/01\/999888.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"853\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"windows-vps\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"windows-vps\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/\",\"url\":\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/\",\"name\":\"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance - Windows VPS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/windows-vps.org\/blog\/wp-content\/uploads\/2026\/01\/999888.jpg\",\"datePublished\":\"2026-01-27T02:00:11+00:00\",\"dateModified\":\"2026-08-03T22:36:07+00:00\",\"author\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58\"},\"description\":\"If you're looking to download Olympic Coin on a Windows VPS, you've come to the right place. This guide will walk you through the process step by step, ensuring you have a smooth experience. Before we dive in, make sure to check out\u00a0Windows VPS\u00a0for reliable hosting solutions that can support your needs.\",\"breadcrumb\":{\"@id\":\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#primaryimage\",\"url\":\"https:\/\/windows-vps.org\/blog\/wp-content\/uploads\/2026\/01\/999888.jpg\",\"contentUrl\":\"https:\/\/windows-vps.org\/blog\/wp-content\/uploads\/2026\/01\/999888.jpg\",\"width\":1280,\"height\":853},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/windows-vps.org\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#website\",\"url\":\"https:\/\/windows-vps.org\/blog\/\",\"name\":\"Windows VPS Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/windows-vps.org\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58\",\"name\":\"windows-vps\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g\",\"caption\":\"windows-vps\"},\"sameAs\":[\"https:\/\/windows-vps.org\/blog\"],\"url\":\"https:\/\/windows-vps.org\/blog\/author\/myxiechengxuan\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance - Windows VPS Blog","description":"If you're looking to download Olympic Coin on a Windows VPS, you've come to the right place. This guide will walk you through the process step by step, ensuring you have a smooth experience. Before we dive in, make sure to check out\u00a0Windows VPS\u00a0for reliable hosting solutions that can support your needs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/","og_locale":"en_US","og_type":"article","og_title":"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance","og_description":"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance","og_url":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/","og_site_name":"Windows VPS Blog","article_published_time":"2026-01-27T02:00:11+00:00","article_modified_time":"2026-08-03T22:36:07+00:00","og_image":[{"width":1280,"height":853,"url":"https:\/\/windows-vps.org\/blog\/wp-content\/uploads\/2026\/01\/999888.jpg","type":"image\/jpeg"}],"author":"windows-vps","twitter_card":"summary_large_image","twitter_misc":{"Written by":"windows-vps","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/","url":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/","name":"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance - Windows VPS Blog","isPartOf":{"@id":"https:\/\/windows-vps.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#primaryimage"},"image":{"@id":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/windows-vps.org\/blog\/wp-content\/uploads\/2026\/01\/999888.jpg","datePublished":"2026-01-27T02:00:11+00:00","dateModified":"2026-08-03T22:36:07+00:00","author":{"@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58"},"description":"If you're looking to download Olympic Coin on a Windows VPS, you've come to the right place. This guide will walk you through the process step by step, ensuring you have a smooth experience. Before we dive in, make sure to check out\u00a0Windows VPS\u00a0for reliable hosting solutions that can support your needs.","breadcrumb":{"@id":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#primaryimage","url":"https:\/\/windows-vps.org\/blog\/wp-content\/uploads\/2026\/01\/999888.jpg","contentUrl":"https:\/\/windows-vps.org\/blog\/wp-content\/uploads\/2026\/01\/999888.jpg","width":1280,"height":853},{"@type":"BreadcrumbList","@id":"https:\/\/windows-vps.org\/blog\/how-to-download-olympic-coin-on-windows-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/windows-vps.org\/blog\/"},{"@type":"ListItem","position":2,"name":"Task Scheduler on a Windows VPS: Automate Backups, Log Cleanups, and Maintenance"}]},{"@type":"WebSite","@id":"https:\/\/windows-vps.org\/blog\/#website","url":"https:\/\/windows-vps.org\/blog\/","name":"Windows VPS Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/windows-vps.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/44caceed916d0db318aa08d5623a7a58","name":"windows-vps","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/windows-vps.org\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3f2573db5afcd1a6ab9abcc5d48fc8e42584bc87ab9d98cc156e5b2097766dd9?s=96&d=mm&r=g","caption":"windows-vps"},"sameAs":["https:\/\/windows-vps.org\/blog"],"url":"https:\/\/windows-vps.org\/blog\/author\/myxiechengxuan\/"}]}},"_links":{"self":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/comments?post=334"}],"version-history":[{"count":3,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/334\/revisions"}],"predecessor-version":[{"id":535,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/posts\/334\/revisions\/535"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/media\/335"}],"wp:attachment":[{"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/media?parent=334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/categories?post=334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/windows-vps.org\/blog\/wp-json\/wp\/v2\/tags?post=334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}