Solved

Changing user's passwords by using Windows Environment Variables

Posted on 2010-09-22
5
337 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
  • 3
  • 2
5 Comments
 
LVL 76

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 76

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
factorial example challenge 10 61
powerN  challenge 3 47
Change local server setting in php 6 60
move one pixel 4 41
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

707 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

12 Experts available now in Live!

Get 1:1 Help Now