/build/static/layout/Breadcrumb_cap_w.png

Is there a way to create a batch or .exe that will automatically log into 1 of 3 accounts on startup?

As part of manufacturing when configuring the software on a new device, the operator will have to configure the Windows computer to automatically boot up into the Employee account (the Master HD will automatically boot up into the PBS Biotech account).

To accomplish this, the registry key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName will have to have its value changed to “Employee”

Just so you have the whole picture, the Master HD on file, which we clone onto the devices before configuring them, will be configured to boot up to the admin account, which won’t have a password. When configuring a clone for a Manufacturing customer, we would set the password for the admin account, and configure Windows to boot up to the Employee account. When configuring a clone for a Research customer (which can be more lax), we would delete the “Employee” and “Admin” accounts.

We’re trying to automate whatever we can in manufacturing, both to speed it up and to avoid mistakes. I doubt most of that stuff can be automated, but if it can, that would be great too.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: chucksteel 7 years ago
Red Belt
0
You should be able to accomplish this with batch files. I would use the reg command to set the necessary auto login keys in the registry. You can also use the net command to add or delete users as appropriate.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ