{"id":132,"date":"2026-10-12T11:12:04","date_gmt":"2026-10-12T11:12:04","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2009\/06\/20\/windows-xp-2000-commands-tools\/"},"modified":"2026-10-12T11:12:04","modified_gmt":"2026-10-12T11:12:04","slug":"windows-xp-2000-commands-tools","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/windows-xp-2000-commands-tools\/","title":{"rendered":"Windows XP\/2000 Command-Line Reference for Administrators"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><em>Originally published on June 20, 2009; fully revised and updated.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide helps administrators and support engineers who still maintain, migrate, or investigate legacy Windows XP and Windows 2000 systems. You will find a practical command map, availability notes from the original article, and example commands you can run immediately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This revision is based on the original <a href=\"https:\/\/www.devopsschool.com\/blog\/windows-xp-2000-commands-tools\/\">Windows XP\/2000 command list<\/a> and preserves its compatibility notes where provided.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2009\/06\/windows-xp-2000-commands-to-1.png\" alt=\"Windows XP and Windows 2000 command-line tools\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Use this as a legacy operations reference<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Windows XP and Windows 2000 are end-of-life operating systems. Treat this page as a <strong>legacy support reference<\/strong> for isolated lab environments, migration projects, or incident response on old systems that still exist in production-like networks.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Run administrative commands in an elevated shell when possible.<\/li><li>Capture outputs (for example, from <code>systeminfo<\/code> or <code>driverquery<\/code>) before making changes.<\/li><li>Prefer read-only diagnostics first, then move to change commands like <code>diskpart<\/code>, <code>reg<\/code>, or <code>taskkill<\/code>.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Command availability quick comparison<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The table below summarizes representative commands from the original post and the OS support notes it listed.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Task<\/th><th>Command<\/th><th>Windows XP<\/th><th>Windows 2000<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>Schedule jobs<\/td><td>at<\/td><td>Yes<\/td><td>Yes<\/td><td>Legacy scheduling utility.<\/td><\/tr><tr><td>Manage scheduled tasks<\/td><td>schtasks<\/td><td>Yes<\/td><td>No<\/td><td>Newer alternative to <code>at<\/code>.<\/td><\/tr><tr><td>Edit boot options<\/td><td>bootcfg<\/td><td>Yes<\/td><td>No<\/td><td>Boot configuration management.<\/td><\/tr><tr><td>Partition management<\/td><td>diskpart<\/td><td>Yes<\/td><td>No<\/td><td>Text-mode disk management.<\/td><\/tr><tr><td>Refresh Group Policy<\/td><td>gpupdate<\/td><td>Yes<\/td><td>No<\/td><td>Manual policy refresh on XP.<\/td><\/tr><tr><td>Refresh policy (legacy method)<\/td><td>secedit \/refreshpolicy<\/td><td>Yes<\/td><td>Yes<\/td><td>Original post notes this was superseded by gpupdate on newer XP builds.<\/td><\/tr><tr><td>Service control<\/td><td>sc<\/td><td>Yes<\/td><td>Yes<\/td><td>Query\/start\/stop service operations.<\/td><\/tr><tr><td>Process listing<\/td><td>tasklist<\/td><td>XP Professional only<\/td><td>No<\/td><td>CLI equivalent of Task Manager listing.<\/td><\/tr><tr><td>Process termination<\/td><td>taskkill<\/td><td>Yes<\/td><td>No<\/td><td>Force-stop stuck processes.<\/td><\/tr><tr><td>Network inspection<\/td><td>ipconfig<\/td><td>Yes<\/td><td>Yes<\/td><td>IP configuration and adapter details.<\/td><\/tr><tr><td>DNS troubleshooting<\/td><td>nslookup<\/td><td>Yes<\/td><td>Yes<\/td><td>Original post marked this as available on all.<\/td><\/tr><tr><td>System inventory<\/td><td>systeminfo<\/td><td>Yes<\/td><td>No<\/td><td>Hardware and OS summary output.<\/td><\/tr><tr><td>WMI command interface<\/td><td>wmic<\/td><td>Yes<\/td><td>Listed as yes in source<\/td><td>Verify support in your exact Windows 2000 build.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Diagnostic workflow for common incidents<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When troubleshooting a legacy endpoint, follow a repeatable flow so you can collect evidence before changing system state.<\/p>\n\n\n\n<pre class=\"mermaid\">\nflowchart TD\n    A[Issue reported] --> B[Capture baseline with systeminfo and driverquery]\n    B --> C{Network symptom}\n    C -- Yes --> D[Run ipconfig getmac nslookup]\n    D --> E{Path or loss problem}\n    E -- Yes --> F[Run pathping and netsh checks]\n    E -- No --> G[Review policy with gpresult]\n    C -- No --> H{Service or process symptom}\n    H -- Yes --> I[Use sc query and tasklist]\n    I --> J[Use taskkill or restart service]\n    H -- No --> K[Run sfc and recover checks]\n    F --> L[Document findings]\n    G --> L\n    J --> L\n    K --> L\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Practical command examples<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use these examples as starting points and adapt hostnames, paths, and domain context to your environment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Network diagnostics<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php language-bash\">ipconfig \/all\ngetmac\nnslookup intranet.local\npathping <span class=\"hljs-number\">10.0<\/span><span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.1<\/span>\nnetsh <span class=\"hljs-class\"><span class=\"hljs-keyword\">interface<\/span> <span class=\"hljs-title\">ip<\/span> <span class=\"hljs-title\">show<\/span> <span class=\"hljs-title\">config<\/span><\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">Policy, ACL, and registry checks<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs language-bash\">gpresult \/v\ngpupdate \/force\nsecedit \/refreshpolicy machine_policy \/enforce\ncacls C:\\Data\\report.txt\nreg query HKLM\\Software<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\">Services and process control<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript language-bash\">sc query\ntasklist \/svc\ntaskkill \/PID <span class=\"hljs-number\">1234<\/span> \/F\nshutdown \/r \/m \\\\WS<span class=\"hljs-number\">-001<\/span> \/t <span class=\"hljs-number\">60<\/span> \/c <span class=\"hljs-string\">\"Maintenance restart\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">System inventory and file integrity<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript language-bash\">systeminfo\ndriverquery\nsfc \/scannow\nmsinfo32\nwmic os <span class=\"hljs-keyword\">get<\/span> Caption,Version,BuildNumber<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Other useful commands from the original list<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>comp<\/strong>: file comparison utility (similar use case to diff-style checks).<\/li><li><strong>defrag<\/strong> and <strong>contig<\/strong>: disk defragmentation-related tools in the original post.<\/li><li><strong>control<\/strong>: launch Control Panel applets from command line (for example, user account dialogs).<\/li><li><strong>openfiles<\/strong>: display or disconnect open files (noted as XP-only in the source).<\/li><li><strong>sigverif<\/strong>: verify digitally signed drivers.<\/li><li><strong>tree<\/strong>: display folder hierarchy.<\/li><li><strong>more<\/strong>: paginate long text output one screen at a time.<\/li><li><strong>recover<\/strong>: attempt data recovery from damaged disk sectors.<\/li><li><strong>mmc<\/strong>: launch Microsoft Management Console.<\/li><li><strong>msconfig<\/strong> and <strong>sysedit<\/strong>: startup\/configuration related tools for legacy workflows.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Common pitfalls on XP\/2000 command usage<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Assuming edition parity: some commands differ between XP Home and XP Professional.<\/li><li>Using destructive commands without backup: <code>diskpart<\/code>, <code>reg<\/code>, and forced process termination can cause outages.<\/li><li>Running modern assumptions on legacy hosts: syntax and switches may differ from newer Windows versions.<\/li><li>Skipping documentation: always capture command output before and after changes for audit and rollback.<\/li><li>Operating unsupported systems on exposed networks: isolate and harden legacy machines whenever possible.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A structured reference to key Windows XP and Windows 2000 command-line tools, including OS availability, troubleshooting workflow, and practical command examples. Useful for legacy support, migration prep, and forensic troubleshooting.<\/p>\n","protected":false},"author":1,"featured_media":4065,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[55],"tags":[1385,824,378,3228,1118,311,3227,182,3219,3226,3224,3222,3225,3223,3229,3218,3220,3221],"class_list":["post-132","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-cheatsheet","tag-command-line","tag-commands","tag-list-of-windows-xp-2000-command-line","tag-operating-system","tag-tools","tag-useful-commands-of-windows-xp-2000","tag-windows","tag-windows-xp","tag-windows-xp-command-line-cheatsheet","tag-windows-xp-command-line-guide","tag-windows-xp-command-line-reference","tag-windows-xp-command-line-resource","tag-windows-xp-command-line-tutorial","tag-windows-xp-commands-help","tag-windows-xp-2000","tag-windows-xp-2000-commands","tag-windows-xp-2000-tools"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":78981,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/132\/revisions\/78981"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/4065"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}