Sign in to follow this  
Followers 0
Saddle

Group Login

3 posts in this topic

Can you make an AutoIt script log a machine into a domain when required?

An example would be to force a room of PCs to login when required for say a "test" at a school. If a script was sitting there running on the login screen waiting for a file (or some other message type) to appear and then use the contents as the login name and password (encripted maybe), could this be done? Coul dit detect a UDP message?

Thanks,

Saddle (In the land of Oz)

Share this post


Link to post
Share on other sites



Can you make an AutoIt script log a machine into a domain when required?

An example would be to force a room of PCs to login when required for say a "test" at a school. If a script was sitting there running on the login screen waiting for a file (or some other message type) to appear and then use the contents as the login name and password (encripted maybe), could this be done? Coul dit detect a UDP message?

Thanks,

Saddle (In the land of Oz)

Yes, if you have remote registry access enabled and admin permissions, you can write to the auto logon keys in the registry and then remotely reboot the machine, which will logon right after the reboot. If you set the auto logon user account with a restricted shell then only permitted apps should be runnable. This is a typical "Kiosk" setup except you are leaving the keyboard in place, and is also usefull for remote software installs.

I googled some info on AutoAdminLogon, it's easy to find more.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Thanks for the reply.

That option had occurred to us, but alas, most of our machines are DeepFrozen or HDGuarded and any changes to the registry disappear after a reboot. I'm presently leaning towards writing a service that waits for a file to appear in a specified location on drive c (look at it every ten seconds or so) and using it's contents to run a script (kinda an auto-batch executer). I could then pass to it almost anything.

The intent here is to allow temporary logons to a domain without the need to give login names and passwords to the users.

Regards,

Saddle (In the land of Oz)

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
Sign in to follow this  
Followers 0