Creating a back up of Windows Credential file (.crd) file using windows commands and later restoring it. RRS feed

  • Question

  • I want to automate the process of creating a windows credential file (.crd) and later restoring the credential file using windows scripts in a batch file. There will be two batch files one for creating the credential file (the one we do manually by clicking on Windows Credentials -> Back Up Credentials , entering the path of the .crd file and then the password) and the other for restoring the credential file (done manually by clicking on restore credentials and the selecting the .crd file and entering the password). The cmdkey.exe does not do what I want. It stores generic credentials one at a time not the entire credential file. Any help would be highly appreciated.


    Monday, December 11, 2017 6:48 AM