Solved

Changing user's passwords by using Windows Environment Variables

Posted on 2010-09-22
5
341 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 78

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 78

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

739 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