Hello everyone, have kind of a odd request from a teacher, every 6 months they need to do a mass change of about 600 user passwords.
We have a teachers that log in the students remotely when they sit down at a pc, all of the accounts use the same password, wich the student never knows - only the teachers.
Before I get any security advice, this is not a typical environment - lets just say its a place for people who did things they shouldnt have and are now long term guests, so its easier if they dont know passwords and log themselves in, they would share them with each other and we cant have that at all. In any other type of environment this would be ill advised. We also cant have teachers try to remember a different password for each student so here we are. With that being said...
I already have a batch file in place that I use to change the passwords, I export the list of users in a specific local group using net localgroup "mygroupname" > groupusers.txt, manually edit the lines I do not want then run a batch that changes the passwords and that works great.....
One time I found a command that would redirect only the users and no other information, I cant find it anywhere and I could of sworn I saved it in a document in google drive.
I am hoping someone can provide the command (standard command line only, no VBS, powershell, etc).
Right now I export the list and manually edit the lines I do not want, but I want to give this responsibility to a dedicated admin from now on, so I need to dumb it down as much as possible. I have noticed where I work, being a teacher doesnt mean they know the difference between a mouse and the monitor (in some cases).
Thanks in advance.