Things used in this project

Software apps and online services:
Microsoft Windows 10 IoT Core


PowerShell script that is to be run at startup of the Windows IoT Core OS.
# startup script
$logFile = 'C:\startupLog.txt'
get-date >> $logFile
Startup.batPlain text
Batch file that is called from the scheduled task. Executes the PowerShell file.
powershell -command "C:\StartupScript.ps1"
PowerShell Remote Execution PolicyPowershell
Setting the Remote Execution Policy so that PowerShell scripts can be run.
Set-ExecutionPolicy RemoteSigned
(Optional) Permanently Adding System32 to the System PathPlain text
Permanently Adding System32 to the System Path
setx PATH "%PATH%;C:\Windows\System32"
Creating a scheduled startup taskPlain text
Creating a scheduled task on Windows IoT Core to execute a batch file upon startup.
schtasks /create /tn "Startup PowerShell" /tr c:\Startup.bat /sc onstart /ru SYSTEM
Deleting a Scheduled TaskPlain text
Deleting a Scheduled Task
schtasks /Delete /TN "Startup PowerShell"
Running a scheduled taskPlain text
If you want to test out your task, you can run it from the command line
schtasks /Run /tn "Startup PowerShell"


Carey Payette

Sr. Software Engineer at Falafel Software



Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

PHPoc Blue to Control Door Knob by MQTT Protocol and Cortana
  • 122
  • 7

Programming a PHPoc Blue board to control a servo motor to rotate the knob of a door using MQTT Protocol through voice command.

Cat Door with Pet Recognition
  • 4,744
  • 22

Full instructions

Use object detection to let your cat in and out of the house with a motion-activated pet door.

Adding RC Transmitter/Receiver to Control Mecanum Bot
  • 584
  • 6

Full instructions

We previously showed our Mecanum Bot being controlled by a wireless Xbox controller, now we added RC transmitter/receiver.

ConnectTheDots with Particle Azure IoT Hub Integration
  • 588
  • 7


This project will allow you to connect your Particle device into an Azure IoT Hub for viewing data in real-time through an ASP.NET web app!

Lego Mindstorms  Elevator
  • 158
  • 2

A 3-story elevator with a mechanical door made from Lego Mindstorms and programmed on RoboCore. It moves up and down and reacts to buttons.

Lego Mindstorms Elevator

Team ElevatorRoboCore

I'm Fine for the Workplace
  • 622
  • 5

Full instructions

A system to let someone ask for help at school or in the workplace without having to do it publicly.

I'm Fine for the Workplace

Team National Star and EDF Energy Hackathon

Add projectSign up / Login