script to change the password for
a local account.
It will initially test whether a key in the registry. If it is not present is that the script runs for the first time.
He will then proceed to change the local administrator account named LocalAdmin. Thereafter it creates a key in the HKLM \ SOFTWARE to ensure that the script is no longer running.
This script has been inserted into a GPO to perform the execution of a hundred computer