{"id":465,"date":"2008-04-13T03:41:00","date_gmt":"2008-04-13T01:41:00","guid":{"rendered":"http:\/\/www.corelan.be:8800\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/"},"modified":"2008-04-13T03:41:00","modified_gmt":"2008-04-13T01:41:00","slug":"open-a-command-prompt-with-system-rights-in-vista-and-xp","status":"publish","type":"post","link":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/","title":{"rendered":"Open a command prompt with system rights in Vista (and XP)"},"content":{"rendered":"<div class=\"ExternalClassFFB2AB39DE4D4B198FAB357950AB3F35\">\n<p>First of all, download psexec from the Microsoft website.       <br \/>http:\/\/www.microsoft.com\/technet\/sysinternals\/utilities\/psexec.mspx       <br \/>&#160; <br \/>&#160; <br \/>From and elevated\/admin command prompt (cmd.exe, &quot;run as administrator&quot;), run psexec &#8211;s cmd.exe <\/p>\n<p>&#160;&#160; <\/p>\n<p><span style=\"font-size: 10pt; font-family: courier new\">C:\\&gt;<strong>whoami<\/strong>         <br \/>peter<\/span> <\/p>\n<p><span style=\"font-size: 10pt; font-family: courier new\">C:\\&gt;<strong>psexec -s cmd.exe<\/strong><\/span> <\/p>\n<p><span style=\"font-size: 10pt; font-family: courier new\">PsExec v1.83 - Execute processes remotely        <br \/>Copyright (C) 2001-2007 Mark Russinovich         <br \/>Sysinternals - <a href=\"http:\/\/www.sysinternals.com\">www.sysinternals.com<\/a><\/span> <\/p>\n<p><span style=\"font-size: 10pt; font-family: courier new\">Microsoft Windows [Version 6.0.6000]        <br \/>Copyright (c) 2006 Microsoft Corporation.&#160; All rights reserved.<\/span> <\/p>\n<p><span style=\"font-size: 10pt; font-family: courier new\">C:\\Windows\\system32&gt;<strong>whoami<\/strong>         <br \/>nt authority\\system<\/span> <\/p>\n<p><span style=\"font-size: 10pt; font-family: courier new\">C:\\Windows\\system32&gt;<strong>exit          <br \/><\/strong>cmd.exe exited on LAPTOP1 with error code 0.<\/span> <\/p>\n<p><span style=\"font-size: 10pt; font-family: courier new\">C:\\&gt;<\/span>       <br \/>&#160; <\/p>\n<p>Type 'exit' to exit the &quot;system&quot; command prompt.      <br \/>You can launch any other tool from that prompt, and it will inherit your system rights <\/p>\n<p>&#160; <\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>First of all, download psexec from the Microsoft website. http:\/\/www.microsoft.com\/technet\/sysinternals\/utilities\/psexec.mspx &#160; &#160; From and elevated\/admin command prompt (cmd.exe, &quot;run as administrator&quot;), run psexec &#8211;s cmd.exe &#160;&#160; C:\\&gt;whoami peter C:\\&gt;psexec -s cmd.exe PsExec v1.83 - Execute processes remotely Copyright (C) 2001-2007 Mark Russinovich Sysinternals - www.sysinternals.com Microsoft Windows [Version 6.0.6000] Copyright (c) 2006 Microsoft Corporation.&#160; All &hellip; <a href=\"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> \"Open a command prompt with system rights in Vista (and XP)\"<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[201],"tags":[1824],"class_list":["post-465","post","type-post","status-publish","format-standard","hentry","category-windows-client-os","tag-metasploit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Open a command prompt with system rights in Vista (and XP) - Corelan | Exploit Development &amp; Vulnerability Research<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Open a command prompt with system rights in Vista (and XP) - Corelan | Exploit Development &amp; Vulnerability Research\" \/>\n<meta property=\"og:description\" content=\"First of all, download psexec from the Microsoft website. http:\/\/www.microsoft.com\/technet\/sysinternals\/utilities\/psexec.mspx &#160; &#160; From and elevated\/admin command prompt (cmd.exe, &quot;run as administrator&quot;), run psexec &#8211;s cmd.exe &#160;&#160; C:&gt;whoami peter C:&gt;psexec -s cmd.exe PsExec v1.83 - Execute processes remotely Copyright (C) 2001-2007 Mark Russinovich Sysinternals - www.sysinternals.com Microsoft Windows [Version 6.0.6000] Copyright (c) 2006 Microsoft Corporation.&#160; All &hellip; Continue reading &quot;Open a command prompt with system rights in Vista (and XP)&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/\" \/>\n<meta property=\"og:site_name\" content=\"Corelan | Exploit Development &amp; Vulnerability Research\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/corelanconsulting\" \/>\n<meta property=\"article:published_time\" content=\"2008-04-13T01:41:00+00:00\" \/>\n<meta name=\"author\" content=\"corelanc0d3r\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@corelanc0d3r\" \/>\n<meta name=\"twitter:site\" content=\"@corelanc0d3r\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/04\\\/13\\\/open-a-command-prompt-with-system-rights-in-vista-and-xp\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/04\\\/13\\\/open-a-command-prompt-with-system-rights-in-vista-and-xp\\\/\"},\"author\":{\"name\":\"corelanc0d3r\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/person\\\/3be5542b9b0a0787893db83a5ad68e8f\"},\"headline\":\"Open a command prompt with system rights in Vista (and XP)\",\"datePublished\":\"2008-04-13T01:41:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/04\\\/13\\\/open-a-command-prompt-with-system-rights-in-vista-and-xp\\\/\"},\"wordCount\":132,\"publisher\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\"},\"keywords\":[\"metasploit\"],\"articleSection\":[\"Windows Client OS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/04\\\/13\\\/open-a-command-prompt-with-system-rights-in-vista-and-xp\\\/\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/04\\\/13\\\/open-a-command-prompt-with-system-rights-in-vista-and-xp\\\/\",\"name\":\"Open a command prompt with system rights in Vista (and XP) - Corelan | Exploit Development &amp; Vulnerability Research\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#website\"},\"datePublished\":\"2008-04-13T01:41:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/04\\\/13\\\/open-a-command-prompt-with-system-rights-in-vista-and-xp\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/04\\\/13\\\/open-a-command-prompt-with-system-rights-in-vista-and-xp\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/2008\\\/04\\\/13\\\/open-a-command-prompt-with-system-rights-in-vista-and-xp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.corelan.be\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Open a command prompt with system rights in Vista (and XP)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#website\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/\",\"name\":\"Corelan CyberSecurity Research\",\"description\":\"Corelan publishes in-depth tutorials on exploit development, Windows exploitation, vulnerability research, heap internals, reverse engineering and security tooling used by professionals worldwide.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.corelan.be\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#organization\",\"name\":\"Corelan CyberSecurity Research\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.corelan.be\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/corelanlogo2_small-20.png\",\"contentUrl\":\"https:\\\/\\\/www.corelan.be\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/corelanlogo2_small-20.png\",\"width\":200,\"height\":200,\"caption\":\"Corelan CyberSecurity Research\"},\"image\":{\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/corelanconsulting\",\"https:\\\/\\\/x.com\\\/corelanc0d3r\",\"https:\\\/\\\/x.com\\\/corelanconsulting\",\"https:\\\/\\\/instagram.com\\\/corelanconsult\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.corelan.be\\\/#\\\/schema\\\/person\\\/3be5542b9b0a0787893db83a5ad68e8f\",\"name\":\"corelanc0d3r\",\"pronouns\":\"he\\\/him\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x\",\"caption\":\"corelanc0d3r\"},\"description\":\"Peter Van Eeckhoutte is the founder of Corelan and a globally recognized expert in exploit development and vulnerability research. With over two decades in IT security, he built Corelan into a respected platform for deep technical research, hands-on training, and knowledge sharing. Known for his influential exploit development tutorials, tools, and real-world training, Peter combines a strong research mindset with a passion for education\u2014helping security professionals understand not just how exploits work, but why.\",\"sameAs\":[\"https:\\\/\\\/www.corelan-training.com\",\"https:\\\/\\\/instagram.com\\\/corelanc0d3r\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/petervaneeckhoutte\\\/\",\"https:\\\/\\\/x.com\\\/corelanc0d3r\"],\"url\":\"https:\\\/\\\/www.corelan.be\\\/index.php\\\/author\\\/admin0\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Open a command prompt with system rights in Vista (and XP) - Corelan | Exploit Development &amp; Vulnerability Research","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/","og_locale":"en_US","og_type":"article","og_title":"Open a command prompt with system rights in Vista (and XP) - Corelan | Exploit Development &amp; Vulnerability Research","og_description":"First of all, download psexec from the Microsoft website. http:\/\/www.microsoft.com\/technet\/sysinternals\/utilities\/psexec.mspx &#160; &#160; From and elevated\/admin command prompt (cmd.exe, &quot;run as administrator&quot;), run psexec &#8211;s cmd.exe &#160;&#160; C:&gt;whoami peter C:&gt;psexec -s cmd.exe PsExec v1.83 - Execute processes remotely Copyright (C) 2001-2007 Mark Russinovich Sysinternals - www.sysinternals.com Microsoft Windows [Version 6.0.6000] Copyright (c) 2006 Microsoft Corporation.&#160; All &hellip; Continue reading \"Open a command prompt with system rights in Vista (and XP)\"","og_url":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/","og_site_name":"Corelan | Exploit Development &amp; Vulnerability Research","article_publisher":"https:\/\/www.facebook.com\/corelanconsulting","article_published_time":"2008-04-13T01:41:00+00:00","author":"corelanc0d3r","twitter_card":"summary_large_image","twitter_creator":"@corelanc0d3r","twitter_site":"@corelanc0d3r","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/#article","isPartOf":{"@id":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/"},"author":{"name":"corelanc0d3r","@id":"https:\/\/www.corelan.be\/#\/schema\/person\/3be5542b9b0a0787893db83a5ad68e8f"},"headline":"Open a command prompt with system rights in Vista (and XP)","datePublished":"2008-04-13T01:41:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/"},"wordCount":132,"publisher":{"@id":"https:\/\/www.corelan.be\/#organization"},"keywords":["metasploit"],"articleSection":["Windows Client OS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/","url":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/","name":"Open a command prompt with system rights in Vista (and XP) - Corelan | Exploit Development &amp; Vulnerability Research","isPartOf":{"@id":"https:\/\/www.corelan.be\/#website"},"datePublished":"2008-04-13T01:41:00+00:00","breadcrumb":{"@id":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.corelan.be\/index.php\/2008\/04\/13\/open-a-command-prompt-with-system-rights-in-vista-and-xp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.corelan.be\/"},{"@type":"ListItem","position":2,"name":"Open a command prompt with system rights in Vista (and XP)"}]},{"@type":"WebSite","@id":"https:\/\/www.corelan.be\/#website","url":"https:\/\/www.corelan.be\/","name":"Corelan CyberSecurity Research","description":"Corelan publishes in-depth tutorials on exploit development, Windows exploitation, vulnerability research, heap internals, reverse engineering and security tooling used by professionals worldwide.","publisher":{"@id":"https:\/\/www.corelan.be\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.corelan.be\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.corelan.be\/#organization","name":"Corelan CyberSecurity Research","url":"https:\/\/www.corelan.be\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.corelan.be\/#\/schema\/logo\/image\/","url":"https:\/\/www.corelan.be\/wp-content\/uploads\/2026\/03\/corelanlogo2_small-20.png","contentUrl":"https:\/\/www.corelan.be\/wp-content\/uploads\/2026\/03\/corelanlogo2_small-20.png","width":200,"height":200,"caption":"Corelan CyberSecurity Research"},"image":{"@id":"https:\/\/www.corelan.be\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/corelanconsulting","https:\/\/x.com\/corelanc0d3r","https:\/\/x.com\/corelanconsulting","https:\/\/instagram.com\/corelanconsult"]},{"@type":"Person","@id":"https:\/\/www.corelan.be\/#\/schema\/person\/3be5542b9b0a0787893db83a5ad68e8f","name":"corelanc0d3r","pronouns":"he\/him","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x","url":"https:\/\/secure.gravatar.com\/avatar\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3783bed6acd72d7fa5bb2387d88acbb9a3403e7cada60b2037e1cbb74ad451f9?s=96&d=mm&r=x","caption":"corelanc0d3r"},"description":"Peter Van Eeckhoutte is the founder of Corelan and a globally recognized expert in exploit development and vulnerability research. With over two decades in IT security, he built Corelan into a respected platform for deep technical research, hands-on training, and knowledge sharing. Known for his influential exploit development tutorials, tools, and real-world training, Peter combines a strong research mindset with a passion for education\u2014helping security professionals understand not just how exploits work, but why.","sameAs":["https:\/\/www.corelan-training.com","https:\/\/instagram.com\/corelanc0d3r","https:\/\/www.linkedin.com\/in\/petervaneeckhoutte\/","https:\/\/x.com\/corelanc0d3r"],"url":"https:\/\/www.corelan.be\/index.php\/author\/admin0\/"}]}},"views":3507,"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts\/465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/comments?post=465"}],"version-history":[{"count":0,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/posts\/465\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/media?parent=465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/categories?post=465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.corelan.be\/index.php\/wp-json\/wp\/v2\/tags?post=465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}