2021-07-27, 03:17 PM
(This post was last modified: 2021-07-27, 06:40 PM by The Solutor.)
Premise:
Win 10 build 10240 is the original Windows 10 released in 2015 in various "flavours" (Home/Pro/Enterprise and so on), it was superseded each six months by new features updates, so most of those "flavors" are unsupported today.
Most except the LTSB2015 edition, where LTSB stands for "Long Term Servicing Branch", which means that the support ends in 2025
LTSB versions were intended for companies that usually likes stability and simplicity over flashy new features, and that are more concerned about privacy than the random average Joe. That made the LTSB releases the choice of power users, and by anyone hates the METRO/MODERN Apps, which are absent on LTSB.
Premise 2
Back to NPVR5 there is a catch. NPVR5 needs the .NET Framework 4.7.2 or later, but the 4.7x and 4.8 installers are not available for LTSB2015
Although it can be considered a corner case, LTSB2015 is the closest Win10 version to Win7, so a number of older HW setups that work well with LTSB2015 may not like its younger siblings LTSB2016/2019 or any other current edition.
Here comes my minitutorial, which is aimed to people who's facing the situation described above and wants to use NPVR5 anyway.
-------------------------------------------------------------------------------------------
The solution is pretty simple and easy to rollback, so...
#1 Install LTSB2015 (a fresh install is potentially less prone to problems, but you can try on a old installation as well)
#2 download the latest 4.6.x .net framework installer (currently it is 4.6.2), and install it (reboot to complete the installation)
#2b If you need it (for programs other than NPVR) install .NET 3.5.x
#3 Create a temporary fresh LTSB2016 W10 installation, you can use either a virtual machine (Hyper-V is included in 2015, but you can use Virtualbox or VMware as well), a second partition, a second HDD or a native .vhdx on the real HW
#4 download the latest .NET 4.8 installer and install it (reboot to complete the installation)
#4b if you followed point #2b do the same here as well, otherwise skip to point #5
#5 install NPVR5 using its setup
#6 Back to 2015 rename the folder C:\Windows\Microsoft.NET to something else like C:\Windows\Microsoft.NET.462
#7 mount your virtual HDD, or access the partition where you your LTSB2016 resides.
Assuming your LTSB2016 is called D: copy the Microsoft.NET folder from D:\Windows to C:\Windows
Copy also the NextPVR folder from D:\Program files to C:\Program Files
#8 install the NPVR5 services double clicking on C:\Program Files\NextPVR\installservice.bat
on the same folder doubleclick VC_redist.x86.exe as well
don't forget to create a link to the npvrtray.exe to your startup folder to have it starting on each reboot.
You are done, enjoy NPVR5
----------------------------------------------------------------------------------------------------------------------------------------------------
Additional considerations:
This tutorial, as you can see, is pretty simple to follow, but a minimum skill and common sense are required.
For example, if you need to do a sfc /scannow or a dism command to restore the integrity of your installation do it after renaming the Microsoft.NET folder to Microsoft.NET.48 and the Microsoft.NET.462. to Microsoft.NET, then you can switch back the names
The same is valid when and if MS will publish a 4.6.x update like 4.6.3 for example
Normal monthly cumulative updates should be safe to apply w/o the need of the folder swap, as they usually don't touch the .NET part.
For point #3 you should be able to use any Win10 Anniversary Edition aka 1607 (build 14393) install media.
You are not going to use such installation, so unsupported versions are not a problem
I'm working with a .NET/DISM guru for a proper 4.8 installer, which will lead to a philosophically cleaner way. But cleaner is different than easier, as likely it will requires an offline installation. I'll keep you updated on progress anyway.
Last but not least many thanks to @sub who helped me to better understand what was wrong on such scenario.
Win 10 build 10240 is the original Windows 10 released in 2015 in various "flavours" (Home/Pro/Enterprise and so on), it was superseded each six months by new features updates, so most of those "flavors" are unsupported today.
Most except the LTSB2015 edition, where LTSB stands for "Long Term Servicing Branch", which means that the support ends in 2025
LTSB versions were intended for companies that usually likes stability and simplicity over flashy new features, and that are more concerned about privacy than the random average Joe. That made the LTSB releases the choice of power users, and by anyone hates the METRO/MODERN Apps, which are absent on LTSB.
Premise 2
Back to NPVR5 there is a catch. NPVR5 needs the .NET Framework 4.7.2 or later, but the 4.7x and 4.8 installers are not available for LTSB2015
Although it can be considered a corner case, LTSB2015 is the closest Win10 version to Win7, so a number of older HW setups that work well with LTSB2015 may not like its younger siblings LTSB2016/2019 or any other current edition.
Here comes my minitutorial, which is aimed to people who's facing the situation described above and wants to use NPVR5 anyway.
-------------------------------------------------------------------------------------------
The solution is pretty simple and easy to rollback, so...
#1 Install LTSB2015 (a fresh install is potentially less prone to problems, but you can try on a old installation as well)
#2 download the latest 4.6.x .net framework installer (currently it is 4.6.2), and install it (reboot to complete the installation)
#2b If you need it (for programs other than NPVR) install .NET 3.5.x
#3 Create a temporary fresh LTSB2016 W10 installation, you can use either a virtual machine (Hyper-V is included in 2015, but you can use Virtualbox or VMware as well), a second partition, a second HDD or a native .vhdx on the real HW
#4 download the latest .NET 4.8 installer and install it (reboot to complete the installation)
#4b if you followed point #2b do the same here as well, otherwise skip to point #5
#5 install NPVR5 using its setup
#6 Back to 2015 rename the folder C:\Windows\Microsoft.NET to something else like C:\Windows\Microsoft.NET.462
#7 mount your virtual HDD, or access the partition where you your LTSB2016 resides.
Assuming your LTSB2016 is called D: copy the Microsoft.NET folder from D:\Windows to C:\Windows
Copy also the NextPVR folder from D:\Program files to C:\Program Files
#8 install the NPVR5 services double clicking on C:\Program Files\NextPVR\installservice.bat
on the same folder doubleclick VC_redist.x86.exe as well
don't forget to create a link to the npvrtray.exe to your startup folder to have it starting on each reboot.
You are done, enjoy NPVR5
----------------------------------------------------------------------------------------------------------------------------------------------------
Additional considerations:
This tutorial, as you can see, is pretty simple to follow, but a minimum skill and common sense are required.
For example, if you need to do a sfc /scannow or a dism command to restore the integrity of your installation do it after renaming the Microsoft.NET folder to Microsoft.NET.48 and the Microsoft.NET.462. to Microsoft.NET, then you can switch back the names
The same is valid when and if MS will publish a 4.6.x update like 4.6.3 for example
Normal monthly cumulative updates should be safe to apply w/o the need of the folder swap, as they usually don't touch the .NET part.
For point #3 you should be able to use any Win10 Anniversary Edition aka 1607 (build 14393) install media.
You are not going to use such installation, so unsupported versions are not a problem
I'm working with a .NET/DISM guru for a proper 4.8 installer, which will lead to a philosophically cleaner way. But cleaner is different than easier, as likely it will requires an offline installation. I'll keep you updated on progress anyway.
Last but not least many thanks to @sub who helped me to better understand what was wrong on such scenario.