Solved

Changing user's passwords by using Windows Environment Variables

Posted on 2010-09-22
5
343 Views
Last Modified: 2012-05-10
I have a lot of HP Thin clients with windows embedded and I need to change their passwords to match the %ComputerName% however the password needs to be in lowercase.  At this point my script consists of:
net user %COMPUTERNAME% %COMPUTERNAME%
This works to set the password correctly except it's in all uppercase.  Is there a way to do this through the command line or do I need to write a vbs script?  Thanks.
0
Comment
Question by:PhillipsPlastics
[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
  • 3
  • 2
5 Comments
 
LVL 79

Accepted Solution

by:
arnold earned 250 total points
ID: 33733895
0
 

Author Comment

by:PhillipsPlastics
ID: 33734021
Yes it probably would be easier... not sure where to start with the vbscript ideas?
0
 
LVL 79

Expert Comment

by:arnold
ID: 33734177
What do you currently use to set the password?
Do you have a script that connects to each thinclient and issues the net user command?

You are setting local user/password to match the computer name.
The links posted include an example for a batch script that would go character by character and convert it to lower case.

0
 

Author Comment

by:PhillipsPlastics
ID: 33734392
Currently we have the passwords set one way and now we are changing the standard so they all need to be chnaged.  I am trying to craft a script to connect to each thin client and set it using the net user command.
I tried using http://fixunix.com/ms-dos/271008-batch-code-convert-lowercase-file-uppercase-vice-versa.html but can't figure out how to change it to make everything lower from upper.
0
 

Author Comment

by:PhillipsPlastics
ID: 33734610
ok got it solved... used the other page with the lower case function thanks for the help.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This is about my first experience with programming Arduino.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
Suggested Courses

632 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