Briandr Posted December 10, 2010 Share Posted December 10, 2010 Hi, Does anyone have any ideas on how through AutoIT or any other scripting language how I could get the following done. > Enable AutoAdminLogin, specify all values (DefaultUserName, DefaultPassword, DefaultDomainName, AutoLogonCount) > Logon and initiate restart > Disable (I would want to logon and restart twice prior to disabling) Link to comment Share on other sites More sharing options...
Developers Jos Posted December 10, 2010 Developers Share Posted December 10, 2010 something like this? : SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 10, 2010 Share Posted December 10, 2010 You could do that much in ANY scripting language, include plain .BAT files. Setting up and then removing auto-admin login is just some registry settings. I prefer to schedule the restart via a one-time scheduled task using SchTasks.exe. If remote registry access and the Task Scheduler service is available to admin users you can do it all remotely over the network to an arbitrary number of machines, too. 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 Link to comment Share on other sites More sharing options...
Briandr Posted December 10, 2010 Author Share Posted December 10, 2010 (edited) Thanks guys. We are moving computers from our workgroup environment over to over AD domain. From what we found two re-boots are needed so all GPO policies apply correctly. Not sure why the extra re-boots are needed. I can force the first re-boot with Altiris through a script, but I need to reboot 2 additional times and the end user has to be taken out of the mix. So that is why I want to autologon and then restart. Then repeat once more and then disable. Thanks. Jos, That script looks promising. I am not sure how much I would need to keep. I don't script well at all. Maybe someone can help tweak it for me. Edited December 10, 2010 by Briandr Link to comment Share on other sites More sharing options...
Developers Jos Posted December 10, 2010 Developers Share Posted December 10, 2010 Jos,That script looks promising. I am not sure how much I would need to keep. I don't script well at all. Maybe someone can help tweak it for me.You don't want to remove much, just look at the STEP cases.You should be able to run it after updating it with the proper Admin userid/password. Make sure you use a local admin account only for security reasons. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now