Pinterest Stumbleupon Whatsapp
Ads by Google

A few months back, a user on Reddit created a PowerShell script (learn more about PowerShell Command Prompt vs. Windows PowerShell: What's the Difference? Command Prompt vs. Windows PowerShell: What's the Difference? Windows users can get by without using either the Command Prompt or PowerShell. But with Windows 10 and new features around the corner, maybe it's about time we learned. Read More ) that takes a near real-time image of the Earth from space and changes your desktop wallpaper whenever the image updates.

The images are sourced from the Himawari-8 weather satellite, which provides a public stream of snapshots. The scraped image is saved to /My Pictures/Himawari/ prior to being set as the new desktop background.

To download the script:

  • Visit this Github page.
  • Click Download ZIP.
  • Extract the ZIP file to find the himawari.ps1 script.
  • Move the script to a secure location.

earth-auto-background-task

The script is provided for all to use, but you’ll have to set up a scheduled task that periodically runs the script (learn more about Windows Task Scheduler 4 Boring Tasks You Can Automate With the Windows Task Scheduler 4 Boring Tasks You Can Automate With the Windows Task Scheduler Your time is too valuable to be wasted with repetitive tasks. Let us show you how to automate and schedule tasks. We have a few great examples, too. Read More ).

  • Launch the Task Scheduler app.
  • Under Action, select Create Task…
  • Enter a Name, such as “Earth Wallpaper Script”.
  • Select Run only when user is logged on.
  • Select Run with highest privileges.
  • Switch to Triggers tab.
  • Click New.
  • For Begin the Task, select At log on.
  • For Repeat Task Every, select 10 minutes for a duration of Indefinitely.
  • Click OK.
  • Switch to Actions tab.
  • Click New.
  • Browse and select the hiwamari.ps1 script.
  • Click OK.
  • Click OK again.

A bit complicated but that’s it. The next time you restart, the script should start and repeat every 10 minutes, updating your wallpaper every time. For laptops, beware that this could increase overall battery drain How to Optimize Windows 10 for Battery Life How to Optimize Windows 10 for Battery Life Battery life is a pretty important factor for mobile devices. While Windows 10 does offer new features to manage power settings, the defaults are not necessarily contributing to optimal battery life. Time to change that. Read More . You can also set it as your wallpaper How to Set the ISS's Earth Live Feed as Your Screensaver How to Set the ISS's Earth Live Feed as Your Screensaver The International Space Station provides a 24/7 live feed of its view over Earth -- and with very little effort, you can set that video feed as your screensaver on Windows. Here's how. Read More !

Ads by Google

Update: If the above doesn’t work and the script just opens up in Notepad, scroll down to the comments and read the PowerShell-related instructions by Dan.

PowerShell can do a lot of other cool stuff. Get started with these basic PowerShell commands 6 Basic PowerShell Commands to Get More out of Windows 6 Basic PowerShell Commands to Get More out of Windows PowerShell is what you get when you give steroids to the Windows Command Prompt. It grants you control of nearly every aspect of the Windows system. We help you leap up its learning curve. Read More and try running these clever Windows 10 commands for PowerShell 3 Clever PowerShell Functions After Upgrading to Windows 10 3 Clever PowerShell Functions After Upgrading to Windows 10 Windows 10 brings us a new PowerShell, essentially Command Prompt on steroids. This article shows you how to do the otherwise impossible with PowerShell. And it's easier than you think! Read More .

Will you be doing this? Got any other cool PowerShell tricks? Share with us down in the comments below!

  1. Steve
    June 18, 2016 at 9:32 pm

    You might want to mention the view is of Australia, East Asia. Not so good for Americas.

  2. Dan ___
    June 17, 2016 at 8:58 pm

    Hey, the scheduled task doesn't work for me as configured. I had to enter "PowerShell" without quotes in the Program/script field. I then added ".\himawari.ps1" as an argument, and pointed the "Start in" field to my PS scripts folder.

    Until I did that it would just open the script in Notepad when it was time to run it.

    • Matt
      June 18, 2016 at 9:20 pm

      i`m getting the same result, can you give us a more detailed description of how you fixed it, for us novices. PowerShell in the Program/script field ? wheres is that exactly ? and where is PS scripts folder located etc. thanks

      • Dan ___
        June 18, 2016 at 11:46 pm

        No problem. First off make sure your system is allowed to run PS scripts... open PowerShell and type: Set-ExecutionPolicy RemoteSigned

        Then, in your scheduled task, open the "Actions" tab and edit your action. It should be set to "Start a Program".
        In the "Program/Script" field type "PowerShell" without quotes. No need to hit the Browse button.
        In the "Add arguments" field type ".\himawari.ps1" without quotes.
        In the "Start in" field just type the full path of the location where you saved the script.

        • Matt
          June 19, 2016 at 3:49 am

          Thanks, that did something , but all i`m getting is a black desktop background image , no earth image , do i need to restart pc or is something to do with the image time ?

        • Joel Lee
          June 19, 2016 at 3:51 am

          Thanks for such a clean breakdown, Dan! I'll amend the post to say that this can be an issue and point readers to your comment for more info.

        • Matt
          June 19, 2016 at 5:15 am

          i restarted pc, still a black screen with , taskeng.exe window pops up and runs the script and getting a message "remote server returned an error 404 not found" any ideas ?

  3. Dan ___
    June 17, 2016 at 2:23 pm

    Big ups for this, it looks great. Regarding battery drain, new tasks have enabled by default the option "Stop if the computer switches to battery power". You can verify this setting on the "Conditions" tab.

    • Joel Lee
      June 19, 2016 at 3:51 am

      Awesome, that's good to know. Thanks a lot, Dan. :)

Leave a Reply

Your email address will not be published. Required fields are marked *