Windows Update for IoT Core using Powershell - raspberry-pi

I am trying to manually perform Windows Update for my IoT core device (RPI 3). I tried doing so using the device portal but for some reason it fails.
Hence I am trying to perform the update by connecting via Powershell.
What are the steps I should follow ?

Related

Server Manager not available/accessible after removing .Net feature in widows server 2019

I have removed .Net Framework feature from "Server Manager -> Remove Roles and features Wizard".
(This image is from a different server)
Later I noticed that this activity has affected many windows features (Server manager, IIS Manager, Turn on off windows features etc..).
After removed .Net Framework feature I was not able to find the Server Manager application.
I tried answer in this link and able to restore ServerManager.exe but once I try to load the server manager it's giving below error,
I may be able to resolve this if I can re enable .Net frame work feature. But not sure how to do that without using server manager(since I cannot open sever manager).
Appreciate any solutions or suggestions regarding this.
Finally able to re enable .Net feature and access server manager by following below steps,
Open command prompt
Run the command: dism /online /enable-feature /featurename:NetFx4ServerFeatures /ALL and press return.
Type PowerShell and press enter.
Run the command: Install-WindowsFeature PowerShellRoot,PowerShell,PowerShell-ISE.
Restart the server.
Credit belongs to this blogger:
https://glennopedia.com/2020/02/14/why-you-shouldnt-remove-net-in-windows-server/
This kind of errors are caused due to lack of .NET framework on your machine or if you installed old version of framework. You need to install an appropriate .NET Framework on your computer.
Updating .NET framework on your computer will solve your problem maximum.
Install it from the Microsoft website.
Run as Administrator , the server manager will open.
Now you can try to add.

Installing Windows 10 IoT Core on simulated devices (possibly Azure Hub)

Notice: This might sound like a not-so-thought-through question to
some people.
Hello,
I need to make a simple demo application running on Windows 10 IoT Core and test it properly for educational purposes. The problem is that I have no available Raspberry Pi devices (or anything embedded). Apparently, it is possible to set-up a simulated Raspberry Pi device running on Azure Hub - like explained in Microsoft's documentation.
Is it possible to install Windows 10 IoT on such a simulated device? If not, what are the other approaches to simulating Raspberry devices and running Windows IoT on them?
You can run the Windows 10 IoT Core on the VMware workstation:
More details can be found in the How to run Windows 10 IoT Core in VMware Workstation
That won't work. It is not running an OS of any kind, it just makes it look like you have node running on a Pi. You need to look at something like qemu. I've run Raspbian in qemu. Never tried Windows IoT core.
https://www.qemu.org/

Windows IOT Local Database Hosting

What am I trying to do:
I want to deploy a Windows IoT (Universal Windows) app on multiple Raspberry Pi3 devices. This app will READ data from a database. The database must be on a local network (no internet access). The database will be hosted on a Windows 10 machine or another RPi3.
Here is where I am stuck. I want to be able to connect these devices, via C# code, to a database hosted on a local machine on the closed network. The thing is SQLite cannot do this task, since it is embedded. Any other options that can help?
If you have any regular (x86/x64) machine you can run any database on that (sql server, MySQL etc).
I don't know whether you are using .Net Core or UWP for your app on the raspberry devices?
In .Net Core you can use something from here, that might also work for UWP.
I don't know about databases that can run on Windows IoT Core, maybe you could find an answer on google for that.

How can I get an interactive login with Windows 10 IoT Core running on a Raspberry Pi?

I just installed Windows 10 onto a Raspberry Pi. It started up fine and I can connect (using PowerShell) from my laptop.
I can connect a keyboard and mouse to the Pi but I can't get a login window. All that I can do is change the timezone and reboot. Is there a way to login directly to the device?
I don't need fancy graphical windows. A command line session (à la Linux or PowerShell) would be fine.
If it isn't possible with the core install, does anyone know if Microsoft, or a third party provider, plans to add this feature?
No there is not a command line presented on the local display. The only way to run commands on Win10 IoT is to use PowerShell as described by Keith in this thread or you can use SSH or Telnet. You can interact with applications run on the device via the local display, keyboard and mouse.
Mark Radbourne [MSFT]
You can use PowerShell remoting from another Windows box to do stuff on Windows 10 IoT Core. I've tested this procedure on Windows 10 PowerShell, works fine. Be sure to follow the step to "Remove-Module PSReadline". I was trying to use setcomputername to rename my RPi2 and the command would fail with a command not found error. Once I removed the PSReadline module, the command started working. Hopefully Jason gets this fixed as PSReadline is just too valuable to remove for long. :-)

Do I need to sign my ClickOnce app in order to be able to execute it from other PCs?

Do I need to sign my ClickOnce app in order to be able to execute it from other PCs?
I'm trying to execute the app from another PCs and is not possible. I can't do it. Not even on my machine unless I create a test certificate with visual studio.
If it is a VSTO application, yes.
For WinForms/WPF/Console, not necessarily. Are you deploying it to one PC and trying to install it? Where are you deploying it to? A file share or a webserver? What happens when you try to install it on the other machine?
What version of .NET are you targeting? It only works with .NET 3.5 SP-1 and .NET 4.