{"id":5832,"date":"2015-07-15T15:47:27","date_gmt":"2015-07-15T06:47:27","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=5832"},"modified":"2015-07-15T15:47:27","modified_gmt":"2015-07-15T06:47:27","slug":"%e5%8f%b3%e3%82%af%e3%83%aa%e3%83%83%e3%82%af%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%81%8b%e3%82%89%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%82%92%e7%ae%a1%e7%90%86%e8%80%85%e6%a8%a9%e9%99%90%e3%81%a7","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=5832","title":{"rendered":"\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30d5\u30a9\u30eb\u30c0\u3092\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8)"},"content":{"rendered":"<p>\u30d5\u30a9\u30eb\u30c0\u3092Shift\u30ad\u30fc\u3092\u62bc\u3057\u306a\u304c\u3089\u53f3\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u30b3\u30de\u30f3\u30c9 \u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u3053\u3053\u3067\u958b\u304f<\/span>\u300d\u3068\u3044\u3046\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_01.jpg\" alt=\"RunAsAdminMenu_01\" width=\"387\" height=\"127\" class=\"alignnone size-full wp-image-5833\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_01.jpg 387w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_01-300x98.jpg 300w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/a><\/p>\n<p>\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3092\u3057\u305f\u3044\u3068\u304d\u7b49\u306b\u4f7f\u3048\u308b\u3001\u3068\u3066\u3082\u4fbf\u5229\u306a\u30e1\u30cb\u30e5\u30fc\u306a\u306e\u3067\u3059\u304c\u4e00\u3064\u3060\u3051\u4e0d\u6e80\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u306f<span style=\"color: #ff0000; font-weight: bold;\">\u201c\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u3051\u306a\u3044\u201d<\/span>\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c\u3057\u3066\u30d5\u30a9\u30eb\u30c0\u79fb\u52d5\u3059\u308c\u3070\u826f\u3044\u3060\u3051\u306a\u306e\u3067\u3059\u304c\u3001\u30a4\u30c1\u30a4\u30c1CD\u30b3\u30de\u30f3\u30c9\u5165\u529b\u3057\u3066\u30d1\u30b9\u3092\u5165\u529b\u3057\u3066\u2026\u3068\u3044\u3046\u4f5c\u696d\u304c\u975e\u5e38\u306b\u9762\u5012\u304f\u3055\u3044\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001VBScript\uff06\u30ec\u30b8\u30b9\u30c8\u30ea\u7de8\u96c6\u3067\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30d5\u30a9\u30eb\u30c0\u3092\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u3051\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b \u4e0b\u8a18\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u30ec\u30b8\u30b9\u30c8\u30ea\u7de8\u96c6\u306e\u52d5\u4f5c\u78ba\u8a8d\u306fWindows 7(64\u30d3\u30c3\u30c8\u7248)\u3067\u884c\u3044\u307e\u3057\u305f\u3002<\/span><\/p>\n<h4 class=\"style4a\">\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099<\/h4>\n<p>\u307e\u305a\u306f\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u5b9f\u884c\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u6e96\u5099\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPrivate Const AdminPhrase = &quot;AdminScript&quot;\r\n\r\nDim args\r\n\r\nSet args = WScript.Arguments\r\nIf args.Count &lt; 1 Then\r\n  MsgBox &quot;\u5f15\u6570\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002&quot; &amp; vbCrLf &amp; _\r\n         &quot;\u51e6\u7406\u3092\u4e2d\u6b62\u3057\u307e\u3059\u3002&quot;, vbExclamation + vbSystemModal\r\n  WScript.Quit\r\nElseIf args.Count &lt; 2 Then\r\n  RunasAdminProc args(0)\r\n  WScript.Quit\r\nElseIf args(1) &lt;&gt; AdminPhrase Then\r\n  RunasAdminProc args(0)\r\n  WScript.Quit\r\nEnd If\r\n\r\nWith CreateObject(&quot;Shell.Application&quot;)\r\n  Select Case IsFolderOrFile(args(0))\r\n    Case 1: .ShellExecute &quot;cmd.exe&quot;, &quot; \/k CD \/D &quot; &amp; ChrW(34) &amp; args(0) &amp; ChrW(34)\r\n    Case 2: .ShellExecute ChrW(34) &amp; args(0) &amp; ChrW(34)\r\n  End Select\r\nEnd With\r\n\r\nPrivate Sub RunasAdminProc(ByVal arg)\r\n'\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\r\n  Dim com\r\n  \r\n  com = ChrW(34) &amp; WScript.ScriptFullName &amp; ChrW(34) &amp; &quot; &quot; &amp; ChrW(34) &amp; arg &amp; ChrW(34) &amp; &quot; &quot; &amp; AdminPhrase\r\n  CreateObject(&quot;Shell.Application&quot;).ShellExecute &quot;wscript.exe&quot;, com, &quot;&quot;, &quot;runas&quot;\r\nEnd Sub\r\n\r\nPrivate Function IsFolderOrFile(ByVal arg)\r\n'\u30d5\u30a9\u30eb\u30c0\u30fb\u30d5\u30a1\u30a4\u30eb\u5224\u5225\r\n  Dim ret\r\n\r\n  ret = 0 '\u521d\u671f\u5316\r\n  On Error Resume Next\r\n  With CreateObject(&quot;Scripting.FileSystemObject&quot;)\r\n    If .FolderExists(arg) = True Then\r\n      ret = 1\r\n    ElseIf .FileExists(arg) = True Then\r\n      ret = 2\r\n    End If\r\n  End With\r\n  On Error GoTo 0\r\n  IsFolderOrFile = ret\r\nEnd Function<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092vbs\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0(\u4eca\u56de\u306f <span style=\"color: #ff0000; font-weight: bold;\">C:\\System\\RunAsAdmin.vbs<\/span> )\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u30ec\u30b8\u30b9\u30c8\u30ea\u7de8\u96c6<\/h4>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b \u4e0b\u8a18\u30ec\u30b8\u30b9\u30c8\u30ea\u7de8\u96c6\u4f5c\u696d\u306f\u81ea\u5df1\u8cac\u4efb\u3067\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u5ff5\u306e\u305f\u3081\u3001\u4e8b\u524d\u306b\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u3063\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u85a6\u3081\u3057\u307e\u3059\u3002<\/span><\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099\u304c\u3067\u304d\u305f\u3089\u3001\u4eca\u5ea6\u306f\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u306b\u65b0\u3057\u3044\u9805\u76ee\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u3001\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u7de8\u96c6\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30d5\u30a1\u30a4\u30eb\u306e\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc<\/li>\n<ul>\n<li>\u30ad\u30fc\uff1aHKEY_CLASSES_ROOT\\*\\shell\\RunAsAdmin<\/li>\n<li>(\u65e2\u5b9a)\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1a\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(&#038;A)<\/li>\n<li>Icon\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1aimageres.dll,73<\/li>\n<\/ul>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_02.jpg\" alt=\"RunAsAdminMenu_02\" width=\"617\" height=\"262\" class=\"alignnone size-full wp-image-5834\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_02.jpg 617w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_02-300x127.jpg 300w\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" \/><\/a><\/p>\n<ul>\n<li>\u30ad\u30fc\uff1aHKEY_CLASSES_ROOT\\*\\shell\\RunAsAdmin\\command<\/li>\n<li>(\u65e2\u5b9a)\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1a&#8221;wscript.exe&#8221; &#8220;C:\\System\\RunAsAdmin.vbs&#8221; &#8220;%1&#8221;<\/li>\n<\/ul>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_03.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_03.jpg\" alt=\"RunAsAdminMenu_03\" width=\"779\" height=\"263\" class=\"alignnone size-full wp-image-5835\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_03.jpg 779w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_03-300x101.jpg 300w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/a><\/p>\n<li>\u30d5\u30a9\u30eb\u30c0\u306e\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc<\/li>\n<ul>\n<li>\u30ad\u30fc\uff1aHKEY_CLASSES_ROOT\\Folder\\shell\\RunAsAdmin<\/li>\n<li>(\u65e2\u5b9a)\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1a\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(&#038;A)<\/li>\n<li>Icon\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1aimageres.dll,73<\/li>\n<\/ul>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_04.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_04.jpg\" alt=\"RunAsAdminMenu_04\" width=\"615\" height=\"165\" class=\"alignnone size-full wp-image-5836\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_04.jpg 615w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_04-300x80.jpg 300w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/a><\/p>\n<ul>\n<li>\u30ad\u30fc\uff1aHKEY_CLASSES_ROOT\\Folder\\shell\\RunAsAdmin\\command<\/li>\n<li>(\u65e2\u5b9a)\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1a&#8221;wscript.exe&#8221; &#8220;C:\\System\\RunAsAdmin.vbs&#8221; &#8220;%1&#8221;<\/li>\n<\/ul>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_05.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_05.jpg\" alt=\"RunAsAdminMenu_05\" width=\"785\" height=\"165\" class=\"alignnone size-full wp-image-5837\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_05.jpg 785w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_05-300x63.jpg 300w\" sizes=\"auto, (max-width: 785px) 100vw, 785px\" \/><\/a><\/p>\n<li>\u30d5\u30a9\u30eb\u30c0\u306e\u80cc\u666f\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u306e\u30e1\u30cb\u30e5\u30fc<\/li>\n<ul>\n<li>\u30ad\u30fc\uff1aHKEY_CLASSES_ROOT\\directory\\background\\shell\\RunAsAdmin<\/li>\n<li>(\u65e2\u5b9a)\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1a\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(&#038;A)<\/li>\n<li>Icon\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1aimageres.dll,73<\/li>\n<\/ul>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_06.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_06.jpg\" alt=\"RunAsAdminMenu_06\" width=\"613\" height=\"162\" class=\"alignnone size-full wp-image-5838\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_06.jpg 613w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_06-300x79.jpg 300w\" sizes=\"auto, (max-width: 613px) 100vw, 613px\" \/><\/a><\/p>\n<ul>\n<li>\u30ad\u30fc\uff1aHKEY_CLASSES_ROOT\\directory\\background\\shell\\RunAsAdmin\\command<\/li>\n<li>(\u65e2\u5b9a)\u30a8\u30f3\u30c8\u30ea(\u6587\u5b57\u5217\u5024)\uff1a&#8221;wscript.exe&#8221; &#8220;C:\\System\\RunAsAdmin.vbs&#8221; &#8220;%V&#8221;<\/li>\n<\/ul>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_07.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_07.jpg\" alt=\"RunAsAdminMenu_07\" width=\"785\" height=\"161\" class=\"alignnone size-full wp-image-5839\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_07.jpg 785w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_07-300x62.jpg 300w\" sizes=\"auto, (max-width: 785px) 100vw, 785px\" \/><\/a>\n<\/ol>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">Windows Registry Editor Version 5.00\r\n\r\n&#x5B;HKEY_CLASSES_ROOT\\*\\shell\\RunAsAdmin]\r\n@=&quot;\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(&amp;A)&quot;\r\n&quot;Icon&quot;=&quot;imageres.dll,73&quot;\r\n\r\n&#x5B;HKEY_CLASSES_ROOT\\*\\shell\\RunAsAdmin\\command]\r\n@=&quot;\\&quot;wscript.exe\\&quot; \\&quot;C:\\\\System\\\\RunAsAdmin.vbs\\&quot; \\&quot;%1\\&quot;&quot;\r\n\r\n&#x5B;HKEY_CLASSES_ROOT\\Folder\\shell\\RunAsAdmin]\r\n@=&quot;\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(&amp;A)&quot;\r\n&quot;Icon&quot;=&quot;imageres.dll,73&quot;\r\n\r\n&#x5B;HKEY_CLASSES_ROOT\\Folder\\shell\\RunAsAdmin\\command]\r\n@=&quot;\\&quot;wscript.exe\\&quot; \\&quot;C:\\\\System\\\\RunAsAdmin.vbs\\&quot; \\&quot;%1\\&quot;&quot;\r\n\r\n&#x5B;HKEY_CLASSES_ROOT\\directory\\background\\shell\\RunAsAdmin]\r\n@=&quot;\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(&amp;A)&quot;\r\n&quot;Icon&quot;=&quot;imageres.dll,73&quot;\r\n\r\n&#x5B;HKEY_CLASSES_ROOT\\directory\\background\\shell\\RunAsAdmin\\command]\r\n@=&quot;\\&quot;wscript.exe\\&quot; \\&quot;C:\\\\System\\\\RunAsAdmin.vbs\\&quot; \\&quot;%V\\&quot;&quot;<\/pre>\n<p>\u4e0a\u8a18\u30ec\u30b8\u30b9\u30c8\u30ea\u7de8\u96c6\u4f5c\u696d\u3092\u884c\u3046\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u80cc\u666f\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u306e\u30e1\u30cb\u30e5\u30fc\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(A)<\/span>\u300d\u30e1\u30cb\u30e5\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_08.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_08.jpg\" alt=\"RunAsAdminMenu_08\" width=\"390\" height=\"103\" class=\"alignnone size-full wp-image-5840\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_08.jpg 390w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_08-300x79.jpg 300w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><\/a><\/p>\n<p>\u3053\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30d5\u30a9\u30eb\u30c0\u304b\u3089\u30e1\u30cb\u30e5\u30fc\u3092\u5b9f\u884c\u3057\u305f\u5834\u5408\u306f\u3001\u7ba1\u7406\u8005\u6a29\u9650\u3067\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u958b\u304b\u308c(\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8)\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u5408\u306f\u3001\u7ba1\u7406\u8005\u6a29\u9650\u3067\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u304b\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_09.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_09.jpg\" alt=\"RunAsAdminMenu_09\" width=\"324\" height=\"110\" class=\"alignnone size-full wp-image-5841\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_09.jpg 324w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/RunAsAdminMenu_09-300x102.jpg 300w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><\/a><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30b9\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u6e21\u3057\u3066\u3001ShellExecute\u306e\u201crunas\u201d\u3092\u4f7f\u3063\u3066\u7ba1\u7406\u8005\u6a29\u9650\u3067\u5b9f\u884c\u3059\u308b\u3068\u3044\u3046\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u4ed5\u7d44\u307f\u3067\u3059\u304c\u3001\u3084\u3063\u3066\u307f\u308b\u3068\u4e2d\u3005\u4fbf\u5229\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u30d5\u30a9\u30eb\u30c0\u3092Shift\u30ad\u30fc\u3092\u62bc\u3057\u306a\u304c\u3089\u53f3\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u300c\u30b3\u30de\u30f3\u30c9 \u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u3053\u3053\u3067\u958b\u304f\u300d\u3068\u3044\u3046\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002 \u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3092\u3057\u305f\u3044\u3068\u304d\u7b49\u306b\u4f7f\u3048\u308b\u3001\u3068\u3066\u3082\u4fbf\u5229\u306a\u30e1\u30cb\u30e5\u30fc\u306a\u306e\u3067\u3059 [&hellip;]","protected":false},"author":1,"featured_media":7132,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u62e1\u5f35\u7248\u300c\u30b3\u30de\u30f3\u30c9 \u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u3053\u3053\u3067\u958b\u304f\u300d\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3059\u3002 [\u53f3\u30af\u30ea\u30c3\u30af\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30d5\u30a9\u30eb\u30c0\u3092\u7ba1\u7406\u8005\u6a29\u9650\u3067\u958b\u304f(\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8)]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[25,6],"tags":[],"class_list":["post-5832","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","category-vbs"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-VBScript.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1w4","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5832"}],"version-history":[{"count":2,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5832\/revisions"}],"predecessor-version":[{"id":5843,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5832\/revisions\/5843"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7132"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}