{"id":386,"date":"2009-01-08T15:30:20","date_gmt":"2009-01-08T15:30:20","guid":{"rendered":"http:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/"},"modified":"2009-01-08T15:34:10","modified_gmt":"2009-01-08T15:34:10","slug":"useful-commands-cmdkey","status":"publish","type":"post","link":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/","title":{"rendered":"Useful Commands &ndash; CmdKey"},"content":{"rendered":"<p>A couple of weeks ago I saw a post on <a href=\"http:\/\/www.markwilson.co.uk\/blog\/2008\/12\/managing-stored-credentials-from-the-windows-command-prompt-using-cmdkey.htm\" target=\"_blank\">Mark Wilson\u2019s blog talking about CMDKEY<\/a>. At the time I thought \u201cthat\u2019s one to remember\u201d but wondered if I&#8217;d ever actually need it<\/p>\n<p>Turns out today I did!<\/p>\n<p>CmdKey is used for managing cached credentials<\/p>\n<p>Someone called today as they were working with the documents on their SharePoint site and the \u201ccreated by\u201d field was a different user to the one who was actually logged into the PC<\/p>\n<p>What had happened was when the user had been created they initially didn\u2019t have permissions to access the site so they were presented with a username and password prompt<\/p>\n<p><a href=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2009\/01\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px\" height=\"254\" alt=\"image\" src=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2009\/01\/image-thumb.png\" width=\"252\" border=\"0\" \/><\/a><\/p>\n<p>They put in a username and password  combination that DID have permissions to the site and put the tick in the box for \u201cremember my password\u201d<\/p>\n<p>So I used the following commands<\/p>\n<p><em>CMDKEY \/List<\/em><\/p>\n<p>This gave me a list of the cached credentials on this PC<\/p>\n<p>I found the one I wanted and used<\/p>\n<p><em>CMDKEY \/Delete:TARGET<\/em> \u2013 where target was the name of the server\/site I needed to delete<\/p>\n<p>I closed the browser and restarted and all was well!<\/p>\n<p>The CMDKEY command is included on Server 2003 \/ Server 2008 and Windows Vista but NOT XP<\/p>\n<p>However, you can copy it from a server 2003 machine onto an XP machine and it\u2019ll work just fine<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of weeks ago I saw a post on Mark Wilson\u2019s blog talking about CMDKEY. At the time I thought \u201cthat\u2019s one to remember\u201d but wondered if I&#8217;d ever actually need it Turns out today I did! CmdKey is used for managing cached credentials Someone called today as they were working with the documents<\/p>\n<p><a class=\"readmore\" href=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/\"><span class=\"arrow-right icon\"><\/span>Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"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":[45,74],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-sharepoint","category-useful-commands"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Useful Commands &ndash; CmdKey - Andy&#039;s Techie Blog<\/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:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Useful Commands &ndash; CmdKey - Andy&#039;s Techie Blog\" \/>\n<meta property=\"og:description\" content=\"A couple of weeks ago I saw a post on Mark Wilson\u2019s blog talking about CMDKEY. At the time I thought \u201cthat\u2019s one to remember\u201d but wondered if I&#8217;d ever actually need it Turns out today I did! CmdKey is used for managing cached credentials Someone called today as they were working with the documentsRead More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/\" \/>\n<meta property=\"og:site_name\" content=\"Andy&#039;s Techie Blog\" \/>\n<meta property=\"article:published_time\" content=\"2009-01-08T15:30:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2009-01-08T15:34:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2009\/01\/image-thumb.png\" \/>\n<meta name=\"author\" content=\"Andy Parkes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andy Parkes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/\",\"name\":\"Useful Commands &ndash; CmdKey - Andy&#039;s Techie Blog\",\"isPartOf\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\"},\"datePublished\":\"2009-01-08T15:30:20+00:00\",\"dateModified\":\"2009-01-08T15:34:10+00:00\",\"author\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\"},\"breadcrumb\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/andyparkes.co.uk\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Useful Commands &ndash; CmdKey\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/\",\"name\":\"Andy&#039;s Techie Blog\",\"description\":\"Professional Geek\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\",\"name\":\"Andy Parkes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"caption\":\"Andy Parkes\"},\"description\":\"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.\",\"sameAs\":[\"http:\/\/www.andyparkes.co.uk\/blog\"],\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Useful Commands &ndash; CmdKey - Andy&#039;s Techie Blog","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:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/","og_locale":"en_US","og_type":"article","og_title":"Useful Commands &ndash; CmdKey - Andy&#039;s Techie Blog","og_description":"A couple of weeks ago I saw a post on Mark Wilson\u2019s blog talking about CMDKEY. At the time I thought \u201cthat\u2019s one to remember\u201d but wondered if I&#8217;d ever actually need it Turns out today I did! CmdKey is used for managing cached credentials Someone called today as they were working with the documentsRead More","og_url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/","og_site_name":"Andy&#039;s Techie Blog","article_published_time":"2009-01-08T15:30:20+00:00","article_modified_time":"2009-01-08T15:34:10+00:00","og_image":[{"url":"https:\/\/andyparkes.co.uk\/blog\/wp-content\/uploads\/2009\/01\/image-thumb.png"}],"author":"Andy Parkes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Andy Parkes","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/","url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/","name":"Useful Commands &ndash; CmdKey - Andy&#039;s Techie Blog","isPartOf":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#website"},"datePublished":"2009-01-08T15:30:20+00:00","dateModified":"2009-01-08T15:34:10+00:00","author":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d"},"breadcrumb":{"@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2009\/01\/08\/useful-commands-cmdkey\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/andyparkes.co.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"Useful Commands &ndash; CmdKey"}]},{"@type":"WebSite","@id":"https:\/\/andyparkes.co.uk\/blog\/#website","url":"https:\/\/andyparkes.co.uk\/blog\/","name":"Andy&#039;s Techie Blog","description":"Professional Geek","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d","name":"Andy Parkes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","caption":"Andy Parkes"},"description":"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.","sameAs":["http:\/\/www.andyparkes.co.uk\/blog"],"url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pmvJ6-6e","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":1,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":387,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/386\/revisions\/387"}],"wp:attachment":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}