Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows 7 Store Password via Command Prompt

Posted on 2014-03-19
10
Medium Priority
?
981 Views
Last Modified: 2014-03-25
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
Comment
Question by:triphen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 39941582
So you want to SET the password via the command prompt?  

NET USER USERNAME PASSWORD
0
 

Author Comment

by:triphen
ID: 39941584
Not set. Store. For auto login.
0
 
LVL 93

Expert Comment

by:nobus
ID: 39941680
if you are using auto login - why do you need a password?
i don't understand...
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 14

Expert Comment

by:Rob Miners
ID: 39941717
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
 

Author Comment

by:triphen
ID: 39943881
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
 

Author Comment

by:triphen
ID: 39943883
rrjmin0,

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

Accepted Solution

by:
triphen earned 0 total points
ID: 39943902
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
 
LVL 14

Expert Comment

by:Rob Miners
ID: 39943909
OK I'm out of ideas :(
0
 
LVL 93

Expert Comment

by:nobus
ID: 39944617
triphen, tx for feedback
0
 

Author Closing Comment

by:triphen
ID: 39952720
What I want is not possible....closing request.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question