{"id":6044,"date":"2018-10-24T19:06:33","date_gmt":"2018-10-24T17:06:33","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=6044"},"modified":"2018-10-25T10:23:44","modified_gmt":"2018-10-25T08:23:44","slug":"windows-store-credentials-to-access-a-share","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-store-credentials-to-access-a-share\/","title":{"rendered":"Windows: Store credentials to access a share"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_6044 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_6044')){$('.twoclick_social_bookmarks_post_6044').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20Store%20credentials%20to%20access%20a%20share\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Athe%20credialstore%20offers%20the%20ability%20to%20store%20credientials%20to%20access%20some%20resources%20without%20entering%20the%20password%20every%20time%20when%20the%20resource%20is%20used.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-store-credentials-to-access-a-share\\\/\",\"post_id\":6044,\"post_title_referrer_track\":\"Windows%3A+Store+credentials+to+access+a+share\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>the credialstore offers the ability to store credientials to access some resources without entering the password every time when the resource is used.<br \/>\n<!--more--><br \/>\nThis example stores the credentials for a network share.<\/p>\n<pre><code>\r\nShare:    \\\\myServer.myDomain.org\\myShare$\r\nUser:     myUser\r\nDomain:   myDomain\r\nPassword: VerySecred\r\n<\/code><\/pre>\n<p>Store Login<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\&gt; cmdkey \/add:myServer.myDomain.org \/user:myDomain\\myUser \/pass\r\nD:\\&gt; cmdkey \/list\r\nCurrently stored credentials:\r\n\r\n\r\n    Target: Domain:target=myServer.myDomain.org\r\n    Type: Domain Password\r\n    User: myDomain\\myUser \r\n<\/pre>\n<p>Connect to the network drive. Its important to<strong> omit<\/strong> the net use <strong>\/user<\/strong> switch otherwise net use asks for the password. The Server string must exactly match as entered by cmdkey.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nD:\\&gt; dir \\\\myServer.myDomain.org\\myShare$ \r\nD:\\&gt; net use R: \\\\myServer.myDomain.org\\myShare$ \r\n<\/pre>\n<p>Explorer can also use the credentials. Do not specify any connect as parameters.<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, the credialstore offers the ability to store credientials to access some resources without entering the password every time when the resource is used.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[99,1274,92,514,1273,145,20,1275],"class_list":["post-6044","post","type-post","status-publish","format-standard","hentry","category-windowsknowhow","tag-credentials","tag-credentials-store","tag-password","tag-share","tag-store","tag-user","tag-windows-2","tag-without-password"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/6044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=6044"}],"version-history":[{"count":4,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/6044\/revisions"}],"predecessor-version":[{"id":6049,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/6044\/revisions\/6049"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=6044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=6044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=6044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}