{"id":54,"date":"2007-09-28T09:49:26","date_gmt":"2007-09-28T09:49:26","guid":{"rendered":"http:\/\/test.bleuanus.nl\/index.php\/runas\/"},"modified":"2018-12-11T16:09:10","modified_gmt":"2018-12-11T15:09:10","slug":"runas","status":"publish","type":"post","link":"https:\/\/www.bleuanus.nl\/index.php\/2007\/09\/28\/runas\/","title":{"rendered":"Runas"},"content":{"rendered":"<p class=\"last-modified\">This post was most recently updated on December 11th, 2018<\/p><p>To start an instance of the command prompt as an administrator on the local computer, type:<\/p>\n<p><strong>runas \/user:<\/strong><strong><em>localmachinename<\/em><\/strong><strong>\\administrator cmd<\/strong>\u00a0<\/p>\n<p>When prompted, type the administrator password.<\/p>\n<p>To start an instance of the Computer Management snap-in using a domain administrator account called <strong>companydomain\\domainadmin<\/strong>, type:<\/p>\n<p><strong>runas \/user:companydomain\\domainadmin &#8220;mmc <\/strong><strong>%windir%<\/strong><strong>\\system32\\compmgmt.msc&#8221;<\/strong>\u00a0<\/p>\n<p>When prompted, type the account password.<\/p>\n<p>To start an instance of Notepad using a domain administrator account called <strong>user<\/strong> in a domain called <strong>domain.microsoft.com<\/strong>, type:<\/p>\n<p><strong>runas \/user:user@domain.microsoft.com &#8220;notepad my_file.txt&#8221;<\/strong>\u00a0<\/p>\n<p>When prompted, type the account password.<\/p>\n<p>To start an instance of a command prompt window, saved MMC console, Control Panel item, or program that will administer a server in another forest, type:<\/p>\n<p><strong>runas \/netonly \/user:<\/strong><strong><em>domain\\username &#8220;command&#8221;<\/em><\/strong><strong>\u00a0<\/strong><\/p>\n<p><em>domain\\username<\/em> must be a user with sufficient permissions to administer the server. When prompted, type the account password.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post was most recently updated on December 11th, 2018To start an instance of the command prompt as an administrator on the local computer, type: runas \/user:localmachinename\\administrator cmd\u00a0 When prompted, type the administrator password. To start an instance of the Computer Management snap-in using a domain administrator account called companydomain\\domainadmin, type: runas \/user:companydomain\\domainadmin &#8220;mmc %windir%\\system32\\compmgmt.msc&#8221;\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":1,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":302,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions\/302"}],"wp:attachment":[{"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuanus.nl\/index.php\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}