Question: When running PROKON, I see a warning "Do you want to run this file?" with an explanation "While files from the Internet can be usefule, this file type can potentially harm your computers. Only run software from publishers that you trust?. Why is this happening?
Answer: A variation of this problem is when the PROKON Help displays the table of contents, but all topics have empty content.
The problem relates to Windows tracking the origin of all files on your computer or network, and the PROKON binaries being tagged as having been download from the Internet. It uses using information tags called zone identifiers, or alternate data streams (ADS) for this purpose. Problems may creep in when PROKON is not installed using the Setup prorgam, e.g. if you copy the files from another computer.
Resolution: You could remove the check from the "always ask before opening this file" for each program, but that is cumbersome. An better method is to remove the zone identifiers for all the files in the PROKON installation. You can use the Sysinternal Stream utility for this purpose - it can clear the alternate data stream (ADS) named "zone.identifier" for all the files in one simple step.
The install and use the Stream utility:
- Download the Sysinternal Suite from the Microsoft website at https://technet.microsoft.com/en-us/sysinternals. Unzip the suite to a folder on your computer.
- Open a Command Prompt, and run the Stream utility: "\PathToSysInternals\streams -d -s \PathToProkon" where \PathToSysInternals is the folder where you place the SysInternals Suite, and \PathToProkon is your main PROKON folder, e.g. C:\Prokon.
In the above stream command, the -d parameter deletes the zone identifiers, and the -s parameter applies the operation to subdirectories inside \Prokon (including Bin and Bin64).
The image above shows an example Stream operation and the expected output when the zone identifier ASD is removed.