How to add security zone information to files?

2

I recently enabled "Do not preserve zone information in file attachments", to get rid that annoying "Do you want to run this program" security warning. Now, how can I add this information to a file that doesn't have it? I would like to get that warning back on certain files when I try to run them.

John_Sheares

Posted 2010-04-12T01:59:49.087

Reputation: 235

Answers

2

From the elevated command-line (administrator rights) do this:

icacls <filename> /setintegritylevel low

This achieves what you have asked for.

haimg

Posted 2010-04-12T01:59:49.087

Reputation: 19 503