Solved

Windows 7 Store Password via Command Prompt

Posted on 2014-03-19
10
938 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
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 92

Expert Comment

by:nobus
ID: 39941680
if you are using auto login - why do you need a password?
i don't understand...
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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 92

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

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)

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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.

685 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