Save Virtual Machine credentials

Hello there,

How can I tell the Hyper-V to save the credentials of the virtual machine. Now everytime I connect to my vm I have to type in the credentials. I want to save the credentials ,so next time when i clcik on connect,I dont have to enter the credentials everytime. I am using msserver 2012 R2.

cheers
Zolf
zolfAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
It is done exactly the same way that you would do it as in a physical machine.
sysinternals autologon or 'control userpasswords2' uncheck users must supply a username and password.
0
Pallavi GodseSr. Digital Marketing ExecutiveCommented:
Hi,

Use the following Syntax for saving VM credentials -

Parameter Set: Name
Save-VM [-Name] <String[]> [-AsJob] [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-Passthru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: VMObject
Save-VM [-VM] <VirtualMachine[]> [-AsJob] [-Passthru] [-Confirm] [-WhatIf] [ <CommonParameters>]
0
zolfAuthor Commented:
Thanks for your comments.

David:

I dont see this option in VM to save password as I would in physical machine.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

David Johnson, CD, MVPOwnerCommented:
if you sit down in front of a computer, and turn it on, you also when logging in don't get an option to save the password. I think you are confusing remote desktop and hyper-v  virtual machine connection
0
zolfAuthor Commented:
I know remote desktop has the option to save credential. What I want is to be able to save the credentials for the VM connections. Now I have 2 VM on my host and I need to enter the credentials everytime I need to access those VM. To make things faster,I want to be able to login my VM without everytime entering the credentials. Hope I made myself clear.
0
David Johnson, CD, MVPOwnerCommented:
it can't be done the way you want it is exactly the same as a physical machine
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zolfAuthor Commented:
ic,thanks for your feedbacks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hyper-V

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.