My company has a backup server that has a space in its name ("Foo Bar").
I am trying to add the login credentials for this server to Windows Credential Manager, but I receive a canned error response (I am assuming this is due to the space. No space, no error):
Windows cannot save this information. Make sure the information is correct
and that all required fields are completed.
Error code: 0x80070057.
Error message: The parameter is incorrect
I have tried the following:
- Its network IP address (credential manager doesn't seem to ID an IP and server name as the same?)
\\Foo Bar\foobar
"\\Foo Bar\foobar"
(same 0x80070057 error)\\Foo%20Bar\foobar
(does not link to the server)\\FooBar\foobar
(doesn't ID)\\Foo-Bar\foobar
(doesn't ID)"Foo Bar"
(same 0x80070057 error)
Unfortunately, I do not have permission to undertake the simplest solution (properly naming the server!).
Any ideas?
Best Answer
If you can successfully connect to the share via
Net Use
I believe you can use the/savecred
option to save those credentials into the WCM.You will probably have to enclose the server/share name in quotes to prevent confusion by the space. IE:
Net Use K: "\\Server Name\ShareName"
Info here and here.