I downloaded a CHM file. When I double click it it prompts me to open / save / cancel. Whether I open or save a new copy, the 'new' version will prompt the same open / save / cancel popup ad infinitum.
Searching google it seems that Microsoft have deemed it right for security reason to block these files by default. The solution is to right click the file, and click the 'unblock' button at the bottom:
The problem is that I don't have that button on my system:
BTW, the button is also missing for .exe files.
I'm using Win7 64bit. Any ideas?
-
3See here for how to disable this annoying security feature, and here for how to bulk unblock from the command line.– KaranCommented Nov 10, 2012 at 14:55
-
Will this work for XP? I have the same issue on my work machine.– YoavCommented Nov 13, 2012 at 13:28
-
Yes, both should work on XP as well.– KaranCommented Nov 14, 2012 at 0:15
-
1A method using Windows PowerShell was provided in this question: stackoverflow.com/questions/28142826/…– StayOnTargetCommented Jun 29, 2015 at 14:59
-
1Possible duplicate of How to Unblock Previously Unblocked CHM File– jgauffinCommented May 17, 2016 at 9:14
4 Answers
Windows keeps the flags in an alternate data stream which is only available under NTFS.
The alternate data streams will survive copies from one NTFS folder to another, but they don't survive being moved to a FAT32 or ExFat volume. or being emailed or zipped.
So, if you don't have the rights to edit the registry or policy, you have a few options:
Email the file to yourself (although some email systems will block chm files as insecure attachments)
Add the file to a Zip file, and then unzip to the desired location. (Some zip utilities can preserve Alternate Data Streams, so ensure that option is switched off while zipping)
Move the file to an ExFat or FAT32 volume, and then, optionally, back to NTFS if that's where you need the file to reside.
Open the file in a Hex editor and then save as a new file (saving over the top of the original file may not work as some hex editors optimize the save of an unchanged file)
Insert the file into an Office Document as an Object, copy the inserted object and then paste into Explorer.
-
1
The same thing happened on mine. Here's how to fix it:
- Open Regedit
Search for the key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x
Create subkey
ItssRestrictions
- Create DWORD
MaxAllowedZone
with value2
If it still doesn't work, move the file to a different disk and reopen it to see.
-
-
Note that value = 2 may or may not be the right setting. It depends on what 'zone' the network server is in. If 2 doesn't work, I would progressively work upwards to determine what zone is needed. Commented Nov 9, 2016 at 15:28
-
Works for me, for the last suggestion of moving the file. Amazing!– eriawanCommented Apr 3, 2017 at 8:14
CHM files are only blockable (and thus unblockable) on NTFS filesystems. Probably all other sources of files (except network shares in the local zone) are considered unsafe.
But, the blocking was only added to XP by a sp (sp2 afaik)
-
I think your assumptions are wrong. It's not saving a file from non-NTFS volume that makes it unsafe (wat?! is NTFS magically preventing you from saving viruses or something?). It's saving file from external location that causes Windows to mark file as unsafe, but it requires support in filesystem and only NTFS supports those "insecurity" flags. Anyway, this answer doesn't solve OP's problem. Commented Nov 24, 2013 at 9:48
-
I mean that those "flags" are only available if you save the result on an NTFS system, since it uses forked files. Therefore, on other filesystems, the "safe" information is not preserved, which makes all files on such volume potentially unsafe since the system can not determine if they are local or files with external origin. Commented Nov 29, 2013 at 15:26
The subkey MaxAllowedZone addition worked for me. The chm file rendered fine under bootcamp on a MacBook Pro, but the problem with a blank content screen for me occurred on a MacBook Air M1 machine using Parallels. The regedit file was identical for HTML help prior to the edit.
-
Please don't add "thank you" as an answer. Once you have sufficient reputation, you will be able to vote up questions and answers that you found helpful. - From Review– TotoCommented Jan 15, 2022 at 17:12