LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows 10 Updates reboot PXI automatically

Hello forum

 

the solution from this post below does not work anymore, the rights on the reboot file are simply restored by Windows.

 

https://forums.ni.com/t5/LabVIEW/Preventing-Reboots-in-Windows-10-for-Long-Term-Tests/td-p/4164732

https://superuser.com/questions/973009/conclusively-stop-wake-timers-from-waking-windows-10-desktop/...

 

Does anyone have a new solution for this problem? Until about last summer it was possible to simply deactivate the Windows Update Service, since then Microsoft seems to have decided to take away the right to do so even for admins. In the meantime even taking away the rights for SYSTEM so far that it should not be able to execute reboot has been removed, the rights are simply restored.

 

https://www.windowscentral.com/how-stop-updates-installing-automatically-windows-10#section-how-to-d...

 

IT will not let me introduce a firewall, is there a solution to prevent Windows from updating so that I can switch it on during weekends? Our production runs 24hours a day and windows will not let me limit the Update hours accordingly.

 

Thanks, Raphael

0 Kudos
Message 1 of 6
(1,033 Views)

If you need to run LabVIEW and have it "insulated" from Microsoft, then you need to run it on using a non-MS Operating System.  There are (at least) two ways to do this:  Run LabVIEW on a Linux box, or run a "mixed" (a.k.a. "Real-Time") configuration with a PC running Windows, capable of being forced to update by the Powers that Be, talking to a LabVIEW Real-Time system running an NI-supported Real-Time OS, such as NI Real-Time Linux.

 

Bob Schor

0 Kudos
Message 2 of 6
(1,000 Views)

Hi Bob

 

thanks for your insight, two interesting approaches.

 

Last time I checked for another project the virtual way was excluded in the NI license agreement. As of now it seems allowed, unsupported however: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAiJSAW&l=en-CH

 

The real time OS probably would work for LabView, however I run TestStand and a whole bunch of drivers on Windows that are only available on this platform.

 

Thanks a lot!

Raphael

0 Kudos
Message 3 of 6
(964 Views)

Block Windows Update adress?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 6
(935 Views)

Simple solution: Don't give it internet access

 

There is no reason automated test equipment needs internet access.

 

Also if it is Windows 10 Professional there are ways to force it to not automatically install updates with Registry settings, Google it.  

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 6
(918 Views)

We have lots of Windows 10, and a few Windows 11 machines that never reboot without being told to.  I just disabled the Reboot Task Scheduler item, under the UpdateOrchestrator.  To prevent it from being reenabled I set the file to read only, after disabling it, and then removed permissions on the file so it couldn't be edited.  I think I then took away ownership of the file but I can't remember if that was needed.  This was described in the superuser post you linked to.  Between tests I will perform a Windows update, and allow it to reboot a few times until it is up to date.  But when a test is running it keeps it from rebooting mid test.

Message 6 of 6
(876 Views)