All posts by mlapaglia

.NET Framework 3.5 Won’t Install on Windows 10

I was receiving error code 0x800f081f when trying to install .NET framework 3.5 to work on a legacy project this morning. I would check the box inside the Programs and Features program, attempt to install the feature, but it would fail.

Found out from my company’s IT that Microsoft InTune can prevent it from being installed. A simple

C:\Program Files\Microsoft\OnlineManagement\ProvisioningUtil.exe /UninstallAgents /MicrosoftIntune

executed from the command line silently uninstalls the tool. Restart the computer then install 3.5 successfully!

Hikvision NVR with PIR Enabled Recording

I was having issues getting the PIR sensor of my DS-2CD2432F-IW to trigger recording on my DS-7608NI-I2/8P NVR.

Enabling the PIR alarm on the camera and listening for the alarm on the NVR wasn’t working correctly. I could see the PIR alarm being captured in the log of the NVR, but it wasn’t recording video when the alarm was triggered. After a few hours of troubleshooting I found the following solution.

First, on the camera, disable Motion Detection and Enable Dynamic Analysis for Motion. Since we are going to use the PIR sensor to trigger recording, we don’t need these enabled.

Next, on the Alarm Output tab of the camera, set the Arming Schedule to be active 24/7 (or whenever you want the PIR alarm to be armed).

On the PIR Alarm tab, enable the PIR, and set the Arming Schedule for the same timeframe you set on the Alarm Output tab.

On the NVR, navigate to the Alarm Input tab, and select the appropriate Alarm Input choice. If your camera is set as “Camera 5”, the IP will be 192.168.254.6, “Camera 6” would be 192.168.254.7, etc. The Alarm Type is set to “NO” (Normally Open). Select Enable Alarm Input Handling.

On the Alarm Input tab click on the Linkage Method. Set the Trigger Channel to the camera we want to record when the alarm is triggered.

On the NVR, navigate to the Schedule Settings and select the camera we are enabling the PIR alarm for. Here’s the tricky part. Don’t select “Alarm | Motion” or “Alarm”. For whatever reason these do not get triggered for an alarm output. I selected “Event” and set the appropriate times I wanted it for fire.

The PIR sensor on the camera doesn’t trigger “Alarm” or “Motion” on the NVR. It does seem to trigger “Event”. My hypothesis is the “Alarm” choices only fire when the direct alarm connections on the back of the NVR are triggered. If the trigger is coming over the ethernet line from the camera it works differently. I have not tested this hypothesis yet, however. If you are not sure the PIR is working on the camera, enable Audible Warning on the linkage method on the camera.