• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1083
  • Last Modified:

Windows 7 Store Password via Command Prompt

Hey guys,

Is it possible to store the password via Command prompt?

Windows 7 Pro


Store password like (Start > Run > control userpasswords2 > enter > Uncheck User must enter a password to use this computer > Type in password > Confirm password > OK

If not through command prompt, maybe VBS?


Thanks!
0
triphen
Asked:
triphen
  • 5
  • 2
  • 2
  • +1
1 Solution
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
So you want to SET the password via the command prompt?  

NET USER USERNAME PASSWORD
0
 
triphenAuthor Commented:
Not set. Store. For auto login.
0
 
nobusCommented:
if you are using auto login - why do you need a password?
i don't understand...
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
Rob MinersCommented:
Is this what you are looking for?

Cmdkey creates, lists, and deletes stored user names and passwords or credentials.

http://technet.microsoft.com/en-us/library/cc754243.aspx

From an elevated command prompt type in cmdkey /list to give you an idea of the syntax required.

eXample: Target Name =

cmdkey /list:Windowsleft:(token):name=tent@blewaway.com;serviceuri=mail.left.com

Currently stored credentials for Windowsleft:(token):name=tent@blewaway.com;serviceuri=mail.left.com:

    Target: Windowsleft:(token):name=tent@blewaway.com;serviceuri=mail.left.com
    Type: Generic
    User: tent@blewaway.com
    Local machine persistence


cmdkey /list:termsrv/vb

Currently stored credentials for termsrv/vb:

    Target: TERMSRV/vb
    Type: Domain Password
    User: tesr
    Local machine persistence

And this I think is my Automatic logon:

Target: LegacyGeneric:target=ULTIMATE64\Rob
    Type: Generic
    User: ULTIMATE64\Rob
0
 
triphenAuthor Commented:
nobus,

So you can lock the machine or log off.

To have the ability to connect to it remotely through LogMeIn with using Computer Access ode.

To have the ability to access shared resources without a blank password.
0
 
triphenAuthor Commented:
rrjmin0,

I dont think so, but maybe....I will test and report back. The article says Windows 8, and Server 2012 only.
0
 
triphenAuthor Commented:
rrjmin0,

I just tested and the cmdkey. It works on Server 2008, however it's not what I want. This accesses the Windows Credential Manager that is in the Advanced tab of (Start > Run > control userpasswords2).

It just might not be possible to do what I want :/
0
 
Rob MinersCommented:
OK I'm out of ideas :(
0
 
nobusCommented:
triphen, tx for feedback
0
 
triphenAuthor Commented:
What I want is not possible....closing request.
0
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.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now