Windows-iotcore-samples icon indicating copy to clipboard operation
Windows-iotcore-samples copied to clipboard

Shut Down Windows 10 IoT Enterprise LTSC 2019 Device with Assigned access (Kiosk) UWP App

Open myokeeh opened this issue 4 years ago • 0 comments

I've looked several documentation to shut down a Windows 10 IoT Enterprise LTSC 2019 Device via a kiosk app, but so far have not been successful getting it to work.

E_ACCESSDENIED / 0x80070005 "Access Denied" is what I get.

I have the added systemManagement capability to the manifest.

//doesn't work
ShutdownManager.BeginShutdown(ShutdownKind.Shutdown, TimeSpan.FromSeconds(5));

What is needed to make shut down possible on the device?

myokeeh avatar Oct 06 '21 07:10 myokeeh