{"id":45,"date":"2011-10-18T17:34:45","date_gmt":"2011-10-18T14:34:45","guid":{"rendered":"http:\/\/samara-it.ru\/?p=45"},"modified":"2012-02-29T19:40:55","modified_gmt":"2012-02-29T15:40:55","slug":"%d0%a3%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc-%d0%bd%d0%b0-%d1%83%d0%b4%d0%b0%d0%bb%d0%b5%d0%bd%d0%bd%d1%8b%d0%b9-%d0%ba%d0%be%d0%bc%d0%bf","status":"publish","type":"post","link":"https:\/\/www.samara-it.ru\/?p=45","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440"},"content":{"rendered":"<p>\u0414\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c 2 \u0443\u0441\u0442\u043e\u0432\u0438\u044f:<br \/>\n1) \u0417\u043d\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043d\\\u043f\u0430\u0440\u043e\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u043d\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u0442\u0435\u0440;<br \/>\n2) \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <a href=\"http:\/\/technet.microsoft.com\/ru-ru\/sysinternals\/bb896649\">PsExec.exe<\/a> \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 PsTools;<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c<\/p>\n<pre lang=\"dos\" escaped=\"true\">PsExec.exe \\\\server -u domain\\user -p passWORD -c \\\\mycomp\\Install\\agent.msi<\/pre>\n<p>\u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442, \u0442\u043e \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0442\u0430\u043a:<\/p>\n<pre lang=\"dos\" escaped=\"true\">PsExec.exe \\\\server -u domain\\user -p passWORD xcopy \\\\mycomp\\Install\\agent.msi \\\\server\\admin$\r\nPsExec.exe \\\\server -u domain\\user -p passWORD cmd \/c agent.msi<\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0430\u0434\u043e \u043f\u043e \u043b\u043e\u043a\u0430\u043b\u043a\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u0441\u0435\u0445 \u043a\u043e\u043c\u043f\u0430\u0445, \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u043a (<span style=\"color: #ff0000;\">\u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 866<\/span>):<\/p>\n<pre lang=\"dos\" escaped=\"true\">@echo off\r\n rem \u0446\u0438\u043a\u043b \u043e\u0442 1 \u0434\u043e 100 \u0448\u0430\u0433 1\r\n FOR \/L %%i IN (1,1,100) DO (\r\n ping -n 1 192.168.0.%%i | find \/i \"\u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d\" &gt;nul &amp;&amp; echo \u041d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d %%i || PsExec.exe \\\\192.168.0.%%i .... \u0438 \u0442.\u0434.\r\n )<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c 2 \u0443\u0441\u0442\u043e\u0432\u0438\u044f: 1) \u0417\u043d\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u043d\\\u043f\u0430\u0440\u043e\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u043d\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u0442\u0435\u0440; 2) \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 PsExec.exe \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 PsTools; \u0414\u0430\u043b\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c PsExec.exe \\\\server -u domain\\user -p passWORD -c \\\\mycomp\\Install\\agent.msi \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442, \u0442\u043e \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0442\u0430\u043a: PsExec.exe \\\\server -u domain\\user -p passWORD xcopy \\\\mycomp\\Install\\agent.msi \\\\server\\admin$ PsExec.exe \\\\server -u domain\\user -p passWORD cmd\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.samara-it.ru\/?p=45\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-cmd","category-win"],"_links":{"self":[{"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=45"}],"version-history":[{"count":19,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":295,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=\/wp\/v2\/posts\/45\/revisions\/295"}],"wp:attachment":[{"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samara-it.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}