{"id":272491,"date":"2016-01-20T10:23:02","date_gmt":"2016-01-20T07:23:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=272491"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=272491","title":{"rendered":"\u0411\u0435\u043b\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0441 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u043e\u043c Windows"},"content":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/e3d\/02c\/32a\/e3d02c32abcc443abf3aee35eff329f2.jpg\" alt=\"image\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u0430\u043d\u043e\u0439\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u044b \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b, \u0430 \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u0438\u043c\u0435\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u044d\u0442\u043e \u0447\u0443\u0432\u0441\u0442\u0432\u043e \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0438\u0442\u044c! \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0431\u0435\u043b\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0434\u043b\u044f \u0432\u044b\u0445\u043e\u0434\u0430 \u0432 \u0441\u0435\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430 Windows, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043d\u0430 PowerShell.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u044d\u043d\u043a\u043e\u0434\u0435\u0440\u043e\u0432, \u0442\u0440\u043e\u044f\u043d\u043e\u0432 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043b\u043e\u0445\u0438\u0445 \u0432\u0435\u0449\u0435\u0439 \u0438\u0437 \u043c\u0438\u0440\u0430 \u043a\u0438\u0431\u0435\u0440\u0443\u0433\u0440\u043e\u0437 \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0442\u0435\u043c\u043d\u044b\u0445 \u0434\u0435\u043b\u0438\u0448\u0435\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0445\u043e\u0434\u0430 \u0432 \u0441\u0435\u0442\u044c \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0436\u0435\u0440\u0442\u0432\u044b: \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0430 \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u0410\u043d\u0442\u0438\u0432\u0438\u0440\u0443\u0441\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0432 \u0431\u043e\u0440\u044c\u0431\u0435 \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a\u0430\u043c\u0438 \u043d\u0430\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u044e\u0442 \u0441\u0432\u043e\u0438 \u043f\u0440\u043e\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438, \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u0434\u0430\u0436\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0434\u043b\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043b\u044c\u0449\u0438\u043a\u043e\u0432, \u043d\u0443 \u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u043d\u043a\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u0440\u0443\u0431\u0435\u0436\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u0421\u043e \u0432\u0440\u0435\u043c\u0435\u043d Vista \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0432 Windows \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440 \u0441\u0442\u0430\u043b \u043d\u0435\u043f\u043b\u043e\u0445, \u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u0440\u043e\u0441\u0442\u0430\u0438\u0432\u0430\u0435\u0442 \u0431\u0435\u0437 \u0434\u0435\u043b\u0430, \u043e\u0442\u0431\u0438\u0432\u0430\u044f \u043b\u0438\u0448\u044c \u043d\u0435\u043f\u0438\u0441\u0430\u043d\u044b\u0435 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435. \u041d\u0435 \u0432\u0441\u0435 \u0437\u043d\u0430\u044e\u0442, \u043d\u043e \u043e\u043d \u0443\u043c\u0435\u0435\u0442 \u0447\u0443\u0442\u043e\u0447\u043a\u0443 \u0431\u043e\u043b\u044c\u0448\u0435 \u2014 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f, \u0441\u0442\u043e\u0438\u0442 \u043b\u0438\u0448\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0440\u0435\u0436\u0438\u043c \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c.<\/p>\n<h4>\u0418\u0442\u0430\u043a, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c<\/h4>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f (\u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435, \u0441\u0447\u0438\u0442\u0430\u0435\u043c, \u0443\u0436\u0435 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u044b \u2014 \u043d\u0443\u0436\u043d\u043e\u0435 \u041f\u041e \u0441\u0430\u043c\u043e, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f). \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0434\u0435\u043c \u0432 \u041f\u0430\u043d\u0435\u043b\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f -&gt; \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c -&gt; \u0411\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440 Windows -&gt; \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. \u0414\u0430\u043b\u0435\u0435 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u00ab\u0411\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440 Windows \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u043d\u043e\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438\u00bb \u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u0430\u0432\u0443\u044e \u043a\u043d\u043e\u043f\u043a\u0443 \u043c\u044b\u0448\u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0444\u0438\u043b\u044f (\u0447\u0430\u0441\u0442\u043d\u044b\u0439 \u2014 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0435\u0442\u044c \u0441 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c, \u043e\u0431\u0449\u0438\u0439 \u2014 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0434\u043e\u043c\u0435\u043d \u2014 \u0434\u043e\u043c\u0435\u043d\u043d\u0430\u044f \u0441\u0435\u0442\u044c) \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u0438 \u0434\u043b\u044f \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0436\u0438\u043c \u00ab\u0411\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00bb (\u044f \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0444\u0438\u043b\u0435\u0439 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e).<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/9cb\/85f\/c8d\/9cb85fc8d05f4851861c1c9c5230b4f5.png\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/232\/613\/583\/232613583f6b4010b2bb171fa4eceb8e.png\" alt=\"image\"\/>  <\/div>\n<\/div>\n<p>  \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0438\u043a\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0432\u044b\u0439\u0442\u0438 \u0432 \u0441\u0435\u0442\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 (\u043a\u0440\u043e\u043c\u0435 \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u0430). \u041b\u0435\u0433\u043a\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u043e\u0442\u043a\u0440\u044b\u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0441 \u043b\u044e\u0431\u044b\u043c \u0441\u0430\u0439\u0442\u043e\u043c \u2014 \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0448\u0438\u0431\u043a\u0443 \u0441\u0435\u0442\u0438. \u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c Internet Explorer \u2014 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0443 \u0432\u0441\u0435\u0445 \u043d\u0430 Windows. \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043d\u0430 \u00ab\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f\u00bb -&gt; \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043a\u043d\u043e \u0441 4-\u043c\u044f \u0442\u0438\u043f\u0430\u043c\u0438 \u043f\u0440\u0430\u0432\u0438\u043b, \u0434\u043b\u044f IE \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u2014 \u00ab\u0414\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\u00bb. \u0414\u0430\u043b\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u2014 \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u2014 <code>C:\\Program Files\\Internet Explorer\\iexplore.exe<\/code>. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0438 64-\u0431\u0438\u0442\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0435\u0449\u0435 \u043e\u0434\u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u0436\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f <code>Program Files (x86)<\/code> (\u0442\u0430\u043c IE \u0442\u043e\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d). \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u0444\u0430\u0439\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u0443\u043d\u043a\u0442 \u00ab\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u00bb, \u0434\u0430\u043b\u0435\u0435 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0433\u0430\u043b\u043a\u0430\u043c\u0438 \u043d\u0443\u0436\u043d\u044b\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430. \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0432\u0441\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0441\u043b\u043e\u0432\u0430\/\u0441\u0438\u043c\u0432\u043e\u043b\u0430, \u043f\u043e\u0442\u043e\u043c \u0438\u0441\u043a\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043f\u0438\u0441\u043a\u0435.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/461\/183\/808\/461183808b7f4ad2a8745c7c936176c6.png\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/cf0\/e80\/426\/cf0e80426d7644afb73a1810372dc5f4.png\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/486\/d55\/8a1\/486d558a1acb48999a2ad505bd377d7a.png\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/5ff\/fef\/62b\/5fffef62b8a64efa93eeaeceb21ebe16.png\" alt=\"image\"\/>  <\/div>\n<\/div>\n<p>  \u0414\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0443\u0447\u0438\u043b\u0438\u0441\u044c, \u0430 \u0447\u0442\u043e \u0441\u043e \u0441\u043b\u0443\u0436\u0431\u0430\u043c\u0438? \u041f\u0443\u0441\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\u043b\u0443\u0436\u0431\u0443 Mozilla Maintenance Service. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0438\u043f \u00ab\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0435\u00bb. \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u00ab\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c\u00bb, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u00ab\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043a \u0441\u043b\u0443\u0436\u0431\u0435\u00bb \u0438 \u0438\u0449\u0435\u043c \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043d\u0443\u0436\u043d\u0443\u044e \u0441\u043b\u0443\u0436\u0431\u0443 \u0438\u043b\u0438 \u0447\u0443\u0442\u044c \u043d\u0438\u0436\u0435 \u0432\u0432\u043e\u0434\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u043b\u0443\u0436\u0431\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0417\u0430\u0442\u0435\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0438 \u043f\u043e\u0440\u0442\u044b, \u043d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u0430\u044f \u0438 \u0448\u0443\u0442 \u0435\u0435 \u0437\u043d\u0430\u0435\u0442, \u0447\u0435\u043c \u043e\u043d\u0430 \u0442\u0430\u043c \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0435 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439. IP-\u0430\u0434\u0440\u0435\u0441\u0430 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0435\u043c. \u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u0438 \u0438 \u0437\u0430\u0434\u0430\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u0430.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/307\/263\/4c3\/3072634c375749adb1fd61fc3491a679.png\" alt=\"image\"\/><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/15e\/e43\/24d\/15ee4324d4d246128b4789726676fb5a.png\" alt=\"image\"\/>  <\/div>\n<\/div>\n<p>  \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u044b, \u0447\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c? \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438. \u0415\u0441\u043b\u0438 \u043a\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432 \u0441\u0432\u043e\u0435\u0439 \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f TeamViewer, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0430\u0432\u0438\u0442 \u0441 \u0441\u043e\u0431\u043e\u0439 \u0441\u043b\u0443\u0436\u0431\u0443, \u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0441\u043b\u0443\u0436\u0431\u0443 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f \u043d\u0435\u0435. \u041d\u043e \u044d\u0442\u043e \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u043b\u0443\u0436\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u00ab\u0414\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b\u00bb \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0441\u043b\u0443\u0436\u0431\u044b <code>C:\\Program Files (x86)\\TeamViewer\\TeamViewer_Service.exe<\/code> (\u043f\u0443\u0442\u044c \u0434\u043b\u044f 64-\u0431\u0438\u0442\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b). \u042d\u0442\u043e \u0447\u0430\u0441\u0442\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u044b, \u043d\u0430\u0447\u0438\u043d\u0430\u0439\u0442\u0435 \u0441 exe. \u041a\u0440\u043e\u043c\u0435 \u044d\u0442\u043e\u0433\u043e \u0432 \u043d\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043d\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c ping. \u0414\u043b\u044f \u043d\u0435\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u043e \u0442\u0438\u043f\u0443 \u00ab\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0435\u00bb, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0432\u044b\u0431\u0440\u0430\u0442\u044c ICMPv4 \u0438 \u0432\u043d\u0438\u0437\u0443 \u043d\u0430\u0436\u0430\u0442\u044c \u00ab\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c\u00bb, \u0433\u0434\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u044f\u0434\u043e\u043c \u0441 \u00ab\u042d\u0445\u043e-\u0437\u0430\u043f\u0440\u043e\u0441\u00bb. \u0422\u0435\u043f\u0435\u0440\u044c ping \u0438 tracert \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0414\u043b\u044f IPv6 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c, \u043d\u043e \u0443\u0436\u0435 \u0441 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c ICMPv6. \u0415\u0441\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0443\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043e, \u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0447\u0442\u043e-\u0442\u043e \u0432 \u043d\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c, \u044d\u0442\u043e \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0432\u044b\u0431\u0440\u0430\u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0438 \u0437\u0430\u0439\u0434\u044f \u0432 \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430. \u041d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u0432\u043a\u0443\u0441 \u2014 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 \u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 exe, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0432 \u043f\u043e\u0440\u0442\u0430\u0445 \u0438 \u0442.\u0434.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c49\/989\/fd8\/c49989fd81df403c92dccbf679f35f49.png\" alt=\"image\"\/><br \/>  <i>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0443\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f ping<\/i>  <\/div>\n<\/div>\n<p>  \u041e\u0431\u043d\u043e\u0432\u0438\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441 Windows 8.1 \u0434\u043e Windows 10, \u044f \u043d\u0435 \u043c\u043e\u0433 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f OneDrive. \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f <code>%USERPROFILE%\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe<\/code> \u0438 \u0432\u0441\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u041d\u043e, \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432, \u044f \u043f\u0440\u0438\u0448\u0435\u043b \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e, \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0439 \u043f\u0443\u0442\u044c <code>C:\\Users\\ProfileName\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe<\/code>, \u0445\u043e\u0442\u044f \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u041e\u0421 \u0442\u043e\u0433\u043e \u0436\u0435 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 \u0432\u0441\u0435 \u0431\u043b\u0430\u0433\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0438 \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c (\u0437\u0430\u0433\u0430\u0434\u043a\u0430?).<\/p>\n<h4>\u041d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439 \u043e\u043f\u044b\u0442 \u0438 PowerShell<\/h4>\n<p>  \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u0430\u0432\u0438\u043b, \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0439 \u0437\u0430 N-\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044e \u0432 \u0432\u0438\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434 \u0434\u043b\u044f PowerShell \u2014 \u043b\u0435\u0433\u0447\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0427\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 PowerShell \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u0430\u0442\u044c \u043d\u0430 \u044d\u0442\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u0435\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 (\u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043d\u043e\u0438\u043a\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0442\u043e\u043c \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430 \u043c\u0435\u0441\u0442\u043e):<\/p>\n<pre><code class=\"php\">Set-ExecutionPolicy Unrestricted Set-ExecutionPolicy Default    # \u041e\u0442\u043c\u0435\u043d\u0430 <\/code><\/pre>\n<p>  \u0411\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0430 \u0432\u0441\u0435\u0445 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u043e\u043c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"php\">Set-NetFirewallProfile -All -DefaultOutboundAction Block <\/code><\/pre>\n<p>  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0444\u0438\u043b\u0435\u0439 \u0438 \u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f explorer.exe \u2014 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043b\u0438\u0442\u043e\u043a \u043d\u0430 Windows 8.1. \u041f\u043e\u043b\u0430\u0433\u0430\u044e, \u0447\u0442\u043e \u0438 \u043d\u0430 10-\u043a\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f:<\/p>\n<pre><code class=\"php\">New-NetFirewallRule -Program 'C:\\Windows\\explorer.exe' -Action Allow -Profile Any -DisplayName '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f explorer.exe' -Direction Outbound <\/code><\/pre>\n<p>  \u041f\u0443\u0441\u0442\u044c \u0443 \u043d\u0430\u0441 \u043f\u0435\u0440\u0432\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u044f\u0447\u0435\u0439\u043a\u0430 \u0445\u0440\u0430\u043d\u0438\u0442 \u043f\u0443\u0442\u044c \u0434\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u0418 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 N \u0442\u0430\u043a\u0438\u0445 \u0434\u0432\u0443\u0445\u044f\u0447\u0435\u0435\u0447\u043d\u044b\u0445 \u0441\u0442\u0440\u043e\u043a \u2014 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0448\u0442\u0443\u043a \u043f\u0440\u0430\u0432\u0438\u043b. \u0412\u0441\u0435 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 <code>$programs<\/code>. \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e: Internet Explorer, Google Chrome, Tor Browser, Yandex.Browser, Notepad++, Visual Studio 2015, qBittorrent, HWMonitor, OneDrive, PowerShell, PowerShell ISE, Steam, CS GO, TeamViewer \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435 \u2014 \u0432\u0441\u0435 \u0431\u043e\u043b\u0435\u0435-\u043c\u0435\u043d\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0434\u043b\u044f \u0432\u044b\u0445\u043e\u0434\u0430 \u0432 \u0441\u0435\u0442\u044c \u043d\u0443\u0436\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u0437 1-2 \u0444\u0430\u0439\u043b\u043e\u0432 exe.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0417\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b $programs<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\"># $env - \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 %USERPROFILE%, %SystemRoot% \u0438 \u0442.\u0434. $programs =      ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Internet Explorer (x86)',             (${env:ProgramFiles(x86)}+'\\Internet Explorer\\iexplore.exe')),      ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Internet Explorer',             ($env:ProgramFiles+'\\Internet Explorer\\iexplore.exe')),      ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Google Chrome',             (${env:ProgramFiles(x86)}+'\\Google\\Chrome\\Application\\chrome.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Google Update',             (${env:ProgramFiles(x86)}+'\\Google\\Update\\GoogleUpdate.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Tor Browser',             ($env:USERPROFILE+'\\AppData\\Local\\Tor Browser\\Browser\\firefox.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Tor Browser updater',             ($env:USERPROFILE+'\\AppData\\Local\\Tor Browser\\Browser\\updater.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Yandex.Browser',             ($env:USERPROFILE+'\\AppData\\Local\\Yandex\\YandexBrowser\\Application\\browser.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Notepad++ (GUP)',             (${env:ProgramFiles(x86)}+'\\Notepad++\\updater\\GUP.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Visual Studio 2015',             (${env:ProgramFiles(x86)}+'\\Microsoft Visual Studio 14.0\\Common7\\IDE\\devenv.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Blend (Visual Studio)',             (${env:ProgramFiles(x86)}+'\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Blend.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f qBittorrent',             (${env:ProgramFiles(x86)}+'\\qBittorrent\\qbittorrent.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f HWMonitor',             ($env:ProgramFiles+'\\CPUID\\HWMonitor\\HWMonitor.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f OneDrive',             ($env:USERPROFILE+'\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f PowerShell (\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u043b\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438)',             ($env:SystemRoot+'\\System32\\WindowsPowerShell\\v1.0\\powershell.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f PowerShell ISE (\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u043b\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438)',             ($env:SystemRoot+'\\System32\\WindowsPowerShell\\v1.0\\powershell_ise.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Steam',             (${env:ProgramFiles(x86)}+'\\Steam\\Steam.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f steamwebhelper',             (${env:ProgramFiles(x86)}+'\\Steam\\bin\\steamwebhelper.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Steam CS GO',             ('D:\\Games\\SteamLibrary\\steamapps\\common\\Counter-Strike Global Offensive\\csgo.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f TeamViewer',             (${env:ProgramFiles(x86)}+'\\TeamViewer\\TeamViewer.exe')),                  ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f TeamViewer_Service',             (${env:ProgramFiles(x86)}+'\\TeamViewer\\TeamViewer_Service.exe')) <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0445\u0438\u0442\u0440\u044b\u0439 Avast (\u0435\u043c\u0443 \u0435\u0449\u0435 \u043d\u0443\u0436\u043d\u0430 \u0441\u043b\u0443\u0436\u0431\u0430) \u0438 Firefox (+\u0441\u043b\u0443\u0436\u0431\u0430).<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 $programs<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">    ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f AvastUI+',             ($env:ProgramFiles+'\\AVAST Software\\Avast\\AvastUI.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f AvastSvc',             ($env:ProgramFiles+'\\AVAST Software\\Avast\\AvastSvc.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Avast \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a (AvastEmUpdate)',             ($env:ProgramFiles+'\\AVAST Software\\Avast\\AvastEmUpdate.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Avast \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f (instup)',             ($env:ProgramFiles+'\\AVAST Software\\Avast\\setup\\instup.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Mozilla Firefox',             (${env:ProgramFiles(x86)}+'\\Mozilla Firefox\\firefox.exe')) <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412\u0441\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0448\u0442\u0443\u0447\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:  <\/p>\n<pre><code class=\"php\">foreach($prog in $programs) {     try     {         New-NetFirewallRule -Program $prog[1] -Action Allow -Profile Any -DisplayName $prog[0] -Direction Outbound         Write-Host '\u0423\u0441\u043f\u0435\u0445: '$prog[0]     }     catch     {         Write-Host '\u041e\u0448\u0438\u0431\u043a\u0430: '$prog[0]     }     Write-Host } <\/code><\/pre>\n<p>  \u041a\u0440\u043e\u043c\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 \u0438 \u0441\u043b\u0443\u0436\u0431\u0430\u043c\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0446\u0435\u043d\u0442\u0440 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 svchost.exe \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 TCP \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0440\u0442\u044b 80 \u0438 443. \u0410 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0441\u043b\u0443\u0436\u0431\u0443 WSService. \u041f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e \u043f\u0438\u043d\u0433 \u0438 \u0441\u043b\u0443\u0436\u0431\u044b \u0434\u043b\u044f \u043d\u0443\u0436\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439:<\/p>\n<pre><code class=\"php\">try {     $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Windows Update\/Modern Apps'     New-NetFirewallRule -Program ($env:SystemRoot+'\\System32\\svchost.exe') -Protocol TCP -RemotePort 80, 443 -Action Allow -Profile Any -DisplayName $i -Direction Outbound      $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Avast (\u0441\u043b\u0443\u0436\u0431\u0430)'     New-NetFirewallRule -Service 'avast! Antivirus' -Action Allow -Profile Any -DisplayName $i -Direction Outbound      $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Mozilla Maintenance Service'     New-NetFirewallRule -Service 'MozillaMaintenance' -Action Allow -Profile Any -DisplayName $i -Direction Outbound          $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f ping (v4)'     New-NetFirewallRule -Profile Any -Action Allow -DisplayName $i -Protocol ICMPv4 -IcmpType 8 -Direction Outbound          $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f ping (v6)'     New-NetFirewallRule -Profile Any -Action Allow -DisplayName $i -Protocol ICMPv6 -IcmpType 8 -Direction Outbound      $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f \u0421\u043b\u0443\u0436\u0431\u044b \u041c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 Windows'     New-NetFirewallRule -Service 'WSService' -Action Allow -Profile Any -DisplayName $i -Direction Outbound      # \u041d\u0430 \u0440\u0435\u0434\u043a\u0438\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u043a\u043e\u0433\u0434\u0430 \u043e\u0433\u043d\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0435\u043d\u0443 \u043d\u0430\u0434\u043e \u043f\u0440\u0438\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c (\u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440)     $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f \u0427\u0430\u0441\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0444\u0438\u043b\u044f (\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c)'     New-NetFirewallRule -Enabled False -Action Allow -Profile Private -DisplayName $i -Direction Outbound      Write-Host '\u0423\u0441\u043f\u0435\u0445 \u043f\u0440\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u0440\u0430\u0432\u0438\u043b' } catch {     Write-Host '\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u0440\u0430\u0432\u0438\u043b \u043d\u0430 \u0448\u0430\u0433\u0435:' $i  } Write-Host <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0438, \u043f\u043e\u0436\u0430\u043b\u0443\u0439, \u0432\u0441\u0435. \u041d\u0430 \u044d\u0442\u043e\u043c \u043f\u043e\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0442\u044c. \u041f\u0435\u0440\u0435\u0434\u0430\u044e \u0438\u043d\u0438\u0446\u0438\u0430\u0442\u0438\u0432\u0443 \u0442\u0435\u043f\u0435\u0440\u044c \u0432 \u0432\u0430\u0448\u0438 \u0440\u0443\u043a\u0438, \u0434\u0435\u0440\u0437\u0430\u0439\u0442\u0435! \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0412\u044b \u0443\u0437\u043d\u0430\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u043e\u0432\u043e\u0435 \u0438\u043b\u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u0430\u0431\u044b\u0442\u043e\u0435 \u0441\u0442\u0430\u0440\u043e\u0435. \u0418\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 (.ps1) \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c \u043d\u0438\u0436\u0435.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">$programs =      ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Internet Explorer (x86)',             (${env:ProgramFiles(x86)}+'\\Internet Explorer\\iexplore.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Internet Explorer',             ($env:ProgramFiles+'\\Internet Explorer\\iexplore.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Google Chrome',             (${env:ProgramFiles(x86)}+'\\Google\\Chrome\\Application\\chrome.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Google Update',             (${env:ProgramFiles(x86)}+'\\Google\\Update\\GoogleUpdate.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Tor Browser',             ($env:USERPROFILE+'\\AppData\\Local\\Tor Browser\\Browser\\firefox.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Tor Browser updater',             ($env:USERPROFILE+'\\AppData\\Local\\Tor Browser\\Browser\\updater.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Yandex.Browser',             ($env:USERPROFILE+'\\AppData\\Local\\Yandex\\YandexBrowser\\Application\\browser.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Notepad++ (GUP)',             (${env:ProgramFiles(x86)}+'\\Notepad++\\updater\\GUP.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Visual Studio 2015',             (${env:ProgramFiles(x86)}+'\\Microsoft Visual Studio 14.0\\Common7\\IDE\\devenv.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Blend (Visual Studio)',             (${env:ProgramFiles(x86)}+'\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Blend.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f qBittorrent',             (${env:ProgramFiles(x86)}+'\\qBittorrent\\qbittorrent.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f HWMonitor',             ($env:ProgramFiles+'\\CPUID\\HWMonitor\\HWMonitor.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f OneDrive',             ($env:USERPROFILE+'\\AppData\\Local\\Microsoft\\OneDrive\\OneDrive.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f PowerShell (\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u043b\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438)',             ($env:SystemRoot+'\\System32\\WindowsPowerShell\\v1.0\\powershell.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f PowerShell ISE (\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u043b\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438)',             ($env:SystemRoot+'\\System32\\WindowsPowerShell\\v1.0\\powershell_ise.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Steam',             (${env:ProgramFiles(x86)}+'\\Steam\\Steam.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f steamwebhelper',             (${env:ProgramFiles(x86)}+'\\Steam\\bin\\steamwebhelper.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Steam CS GO',             ('D:\\Games\\SteamLibrary\\steamapps\\common\\Counter-Strike Global Offensive\\csgo.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f TeamViewer',             (${env:ProgramFiles(x86)}+'\\TeamViewer\\TeamViewer.exe')),                  ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f TeamViewer_Service',             (${env:ProgramFiles(x86)}+'\\TeamViewer\\TeamViewer_Service.exe')),      ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f explorer.exe',             ($env:SystemRoot+'\\explorer.exe')),      ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f AvastUI+',             ($env:ProgramFiles+'\\AVAST Software\\Avast\\AvastUI.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f AvastSvc',             ($env:ProgramFiles+'\\AVAST Software\\Avast\\AvastSvc.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Avast \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a (AvastEmUpdate)',             ($env:ProgramFiles+'\\AVAST Software\\Avast\\AvastEmUpdate.exe')),          ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Avast \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f (instup)',             ($env:ProgramFiles+'\\AVAST Software\\Avast\\setup\\instup.exe')),       ('\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Mozilla Firefox',             (${env:ProgramFiles(x86)}+'\\Mozilla Firefox\\firefox.exe'))   foreach($prog in $programs) {     try     {         New-NetFirewallRule -Program $prog[1] -Action Allow -Profile Any -DisplayName $prog[0] -Direction Outbound         Write-Host '\u0423\u0441\u043f\u0435\u0445: '$prog[0]     }     catch     {         Write-Host '\u041e\u0448\u0438\u0431\u043a\u0430: '$prog[0]     }     Write-Host }  try {     $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Windows Update\/Modern Apps'     New-NetFirewallRule -Program ($env:SystemRoot+'\\System32\\svchost.exe') -Protocol TCP -RemotePort 80, 443 -Action Allow -Profile Any -DisplayName $i -Direction Outbound      $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Avast (\u0441\u043b\u0443\u0436\u0431\u0430)'     New-NetFirewallRule -Service 'avast! Antivirus' -Action Allow -Profile Any -DisplayName $i -Direction Outbound      $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f Mozilla Maintenance Service'     New-NetFirewallRule -Service 'MozillaMaintenance' -Action Allow -Profile Any -DisplayName $i -Direction Outbound          $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f ping (v4)'     New-NetFirewallRule -Profile Any -Action Allow -DisplayName $i -Protocol ICMPv4 -IcmpType 8 -Direction Outbound          $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f ping (v6)'     New-NetFirewallRule -Profile Any -Action Allow -DisplayName $i -Protocol ICMPv6 -IcmpType 8 -Direction Outbound      $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f \u0421\u043b\u0443\u0436\u0431\u044b \u041c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 Windows'     New-NetFirewallRule -Service 'WSService' -Action Allow -Profile Any -DisplayName $i -Direction Outbound      # \u041d\u0430 \u0440\u0435\u0434\u043a\u0438\u0435 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u043a\u043e\u0433\u0434\u0430 \u043e\u0433\u043d\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0435\u043d\u0443 \u043d\u0430\u0434\u043e \u043f\u0440\u0438\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c (\u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440)     $i = '\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f \u0427\u0430\u0441\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0444\u0438\u043b\u044f (\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c)'     New-NetFirewallRule -Enabled False -Action Allow -Profile Private -DisplayName $i -Direction Outbound      Write-Host '\u0423\u0441\u043f\u0435\u0445 \u043f\u0440\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u0440\u0430\u0432\u0438\u043b' } catch {     Write-Host '\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u0440\u0430\u0432\u0438\u043b \u043d\u0430 \u0448\u0430\u0433\u0435:' $i  } Write-Host <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/275549\/\"> http:\/\/habrahabr.ru\/post\/275549\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/e3d\/02c\/32a\/e3d02c32abcc443abf3aee35eff329f2.jpg\" alt=\"image\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u0430\u043d\u043e\u0439\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u044b \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b, \u0430 \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u0438\u043c\u0435\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u044d\u0442\u043e \u0447\u0443\u0432\u0441\u0442\u0432\u043e \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0438\u0442\u044c! \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0431\u0435\u043b\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0434\u043b\u044f \u0432\u044b\u0445\u043e\u0434\u0430 \u0432 \u0441\u0435\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440\u0430 Windows, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043d\u0430 PowerShell.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-272491","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/272491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=272491"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/272491\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=272491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=272491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=272491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}