как подавить предупреждение при запуске ссылок из избранного

494
Angelo Fuchs

У меня есть несколько командных файлов и других программ, которые я регулярно использую, связанные из папки «Избранное», и я отображаю эту папку на панели задач.

Теперь каждый раз, когда я запускаю каждую из этих программ, мне выдается предупреждение о том, что программы из Интернета опасны.

У меня нет флажка или чего-либо в этом предупреждении, которое я мог бы проверить, чтобы указать, что этот файл в порядке и нет потока вообще. (На самом деле я написал их сам)

0

1 ответ на вопрос

1
Angelo Fuchs

The problem can be resolved by telling windows that the files in the folder are to be trusted.

You have to open a command line prompt and issue the command:

ICACLS "CORRECT_PATH" /Setintegritylevel (OI)(CI)M 

Where CORRECT_PATH is C:\Users\USER_NAME\Favorites\Verknüpfungen on my computer (a German version) so its most likely C:\Users\USER_NAME\Favorites\Links for English ones. Replace "USER_NAME" by your user name. You can find this easily by opening a command line with the cmd command (type it in the search bar of your start menu) and using:

cd Favorites dir 

ICACLS is the windows program to manipulate the security settings of files and folders. The option /setintegritylevel manipulates the trust levels. The options mean (OI) Objects inherit the settings, (CI) Containers inherit the settings, M Medium trust.

You can issue ICACLS /? to get more information.