Jill, Thank you for the information. I ran PS version 7.4.6 as administrator and entered cmd line but got this message "CMDKEY: A duplicate command switch was found on the command line." Removing the ""/persistence"localcomputer" did not generate the error but the credential that was created has a persistence of "Enterprise". Any other suggestion is appreciated.
how to create windows 11 credential with local computer persistence
Using credential manager, creating a new windows credential sets the persistence to logon session or enterprise depending on the user name and password. How do I set persistence to local computer?
Windows for business Windows Client for IT Pros User experience Other
2 answers
Sort by: Most helpful
-
-
Jing Zhou 7,765 Reputation points Microsoft External Staff
2024-10-28T00:51:56.1166667+00:00 Hello,
Thank you for posting in Q&A forum.
To set the windows credential persistence, please open CMD window and run below command:
cmdkey /add:[IP Address] /user:[Username] /pass:[Password] /persistence:localcomputer
You can verify the validation by navigating to Control Panel > User Accounts > Credential Manager and checking the credential validation.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.