Instead of running the GUI method (netplwiz), there's a more efficient way to set auto…