Solved

Windows 7 Store Password via Command Prompt

Posted on 2014-03-19
10
909 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
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 95

Expert Comment

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

NET USER USERNAME PASSWORD
0
 

Author Comment

by:triphen
Comment Utility
Not set. Store. For auto login.
0
 
LVL 91

Expert Comment

by:nobus
Comment Utility
if you are using auto login - why do you need a password?
i don't understand...
0
 
LVL 14

Expert Comment

by:Rob Miners
Comment Utility
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
Comment Utility
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:triphen
Comment Utility
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
Comment Utility
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
Comment Utility
OK I'm out of ideas :(
0
 
LVL 91

Expert Comment

by:nobus
Comment Utility
triphen, tx for feedback
0
 

Author Closing Comment

by:triphen
Comment Utility
What I want is not possible....closing request.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
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…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now