I found a question on the Microsoft Technet Forums, how can I allow a users to use a ERP software in another domain without using his credentials.
So this solution does not really give a solution that allows the local user account any rights, but stores the remote domain username/password for the user so the user doesn’t get bugged for those all the time.
C:\Users\virot>cmdkey /add:*.file.local /username:[email protected] /pass
Enter the password for '[email protected]' to connect to '*.file.local':
CMDKEY: Credential added successfully.
C:\Users\virot>
