Bobby_Moore

Auto Login Domain

8 posts in this topic

Dear all,
I am an administrator for a domain.


I want to be able to get a script that will populate the login boxes (with credentials I know/set) to login to the actual PC. It enables us to run scripts en masse, something that we already have configured.

https://technet.microsoft.com/en-gb/library/cc939702.aspx -  adminlogon registry keys which prove to be inconsistent
https://technet.microsoft.com/en-us/sysinternals/autologon.aspx - is a glorified registry editor, and not command line based
https://www.logonexpert.com/ - works great, but expensive for the amount of clients we have

The market is really void of these types of solutions and it would be great if AutoIt has this capability.
Look forward to hearing your thoughts,
 

Share this post


Link to post
Share on other sites



I have already assumed I would need to run AutoIt as a service..

Share this post


Link to post
Share on other sites
4 hours ago, Bobby_Moore said:

https://technet.microsoft.com/en-us/sysinternals/autologon.aspx - is a glorified registry editor, and not command line based

Not entirely accurate.
"You can also pass the username, domain and password as command-line arguments:autologon user domain password"

Also, the AutoLogon tool encrypts the password which is much safer than adding the registry keys for AutoAdminLogon as described in the MS article.

 

2 hours ago, Bert said:

Umm....you can run scripts as an admin without logging in. Its how packages are pushed to PCs without the users logged in.

Agreed.  There are many ways to push scripts without having to login...now if your script depends on a user being logged in, that's another thing but that's not a very good deployment approach and should be avoided if possible. 

Share this post


Link to post
Share on other sites

The autologin does work, but all it is doing is injecting the relevant registries. I can do that without the autologin tools to achieve the same goal en masse.

Problem is, we are trying to login around 200 PCs via this method and there are documented issues when it comes to this scale.

What would be more reliable is an AutoIt script to sequence the keys to login - would this be possible?

 

Share this post


Link to post
Share on other sites

I strongly do NOT recommend you try the approach you are asking for. I've been doing IT since 1995 and your the first to want to do it the way you are asking. EVERYONE else does it the way we are telling you.

Why not just do small batches and verify the jobs ran properly in each batch?

Share this post


Link to post
Share on other sites
On 12/16/2016 at 2:54 AM, Bobby_Moore said:

there are documented issues when it comes to this scale.

What documented issues? 

 

On 12/16/2016 at 2:54 AM, Bobby_Moore said:

I can do that without the autologin tools to achieve the same goal en masse

How do you encrypt the password?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now