Hi
I need to reset the local administrator password for all the pc & laptop. However, my boss requirement is to hide the password & the file must be accessible by all user… she doesn’t want user to know the local administrator password. I will convert the batch file to exe so that user won’t see it. However,
As the company has renamed the local administrator acct a myadmin, i need to do the following:-
1. Check if user has local myadmin acct.
If yes, go to 2. else create the myadmin acct
2. Check if myadmin belongs to the administrator group, if no add into the administrators group
using the net local group
3. if yes
net user myadmin password
however, I cannot find the checking mechnism (dos command) to create the batch file. Can some1 help me
on this