Configuring a Windows 10 IoT App for Automatic Restart

0 votes

I have a Windows 10 IoT app developed in C#, and I need to relaunch the app when the configuration has changed. How can the app relaunch itself programmatically?

Oct 10, 2018 in IoT (Internet of Things) by Matt
• 2,270 points
53 views

1 answer to this question.

0 votes

Have you tried using powershell right after a configuration deployment to restart it? https://ms-iot.github.io/content/en-US/win10/samples/PowerShell.htm

the command

net start 'program'

should be what you're looking for in powershell

For the Device: Since IoT only allows 1 app at a time, have you considered just issuing the device itself a the restart command and the application to go on startup

answered Oct 10, 2018 by anonymous2
• 4,280 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Display time in a Windows Core IoT app with a clock!

It is possible, but you should understand ...READ MORE

answered Jul 9, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
141 views
0 votes
1 answer

How to deploy Windows 10 IoT (Rasp Pi image) as a Virtual Machine

The easiest way I found is downloading ...READ MORE

answered Sep 10, 2018 in IoT (Internet of Things) by Upasana
• 8,550 points
325 views
0 votes
1 answer

Adding Windows 10 IoT Core to a Domain

You could follow this link here to ...READ MORE

answered Mar 6 in IoT (Internet of Things) by Shubham
• 13,350 points
242 views
0 votes
1 answer

USB Mobile Broadband Modem on Windows 10 IoT

I was looking for a solution too, ...READ MORE

answered Jul 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
487 views
0 votes
1 answer

Sending a POST in UWP using C#

I couldn't find any proper documentation and ...READ MORE

answered Jan 10 in IoT (Internet of Things) by nirvana
• 3,060 points
124 views
0 votes
1 answer

Problem disposing of socket

If this object is eligible for garbage ...READ MORE

answered Oct 15, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
45 views
0 votes
1 answer

Testing your code for speed?

What you are describing is known as ...READ MORE

answered Nov 13, 2018 in IoT (Internet of Things) by Upasana
• 8,550 points
23 views
+1 vote
1 answer

Configuring Raspberry Pi with Windows 10 IoT App using Rest API

You should use HttpClient instead of WebClient. Try ...READ MORE

answered Oct 10, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
110 views
0 votes
1 answer

Access Serial Ports in Windows 10 IoT App

On Windows IoT you have to use Windows.Devices.SerialCommunication namespace ...READ MORE

answered Oct 10, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
85 views