Pies Posted September 10, 2008 Share Posted September 10, 2008 hi guys! Well, ive been studying autoit for some weeks now, and I now know how to automate some programs or app or do something i wanna do. But what I wanna do now is to reboot my computer, ive been searching for some code in autoit on how to do that but cant find one. I know how to reboot a computer in vb6, im thinking to reboot the computer using the vb6 .exe but after rebooting the computer, I need to type the ctrl+alt+del then type in the username and password. Can you help me how to automate this plz? "Failure is the key to success. So try and try until you succeed!" Link to comment Share on other sites More sharing options...
spudw2k Posted September 10, 2008 Share Posted September 10, 2008 hi guys!Well, ive been studying autoit for some weeks now, and I now know how to automate some programs or app or do something i wanna do. But what I wanna do now is to reboot my computer, ive been searching for some code in autoit on how to do that but cant find one. I know how to reboot a computer in vb6, im thinking to reboot the computer using the vb6 .exe but after rebooting the computer, I need to type the ctrl+alt+del then type in the username and password. Can you help me how to automate this plz?I don't think there is an easy way to perform a login by automating the the login process; however, you can create a few registry keys that will attempt to login using the desired credentials.You could write a script to write these keys and delete them.http://support.microsoft.com/kb/315231 Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Nahuel Posted September 10, 2008 Share Posted September 10, 2008 As for the reboot part, check out Shutdown() [click] Link to comment Share on other sites More sharing options...
Pies Posted September 10, 2008 Author Share Posted September 10, 2008 Thanks for the shutdown code.Anyway, I just found this thread on Click ThisIt's something what I wanna do. Except that I don't wanna reboot my computer again and again. Btw, can you tell me where to find the windows startup folder? Because I think that code should be saved in the windows startup folder. And not in the user's start up folder. "Failure is the key to success. So try and try until you succeed!" Link to comment Share on other sites More sharing options...
Pies Posted September 10, 2008 Author Share Posted September 10, 2008 C:\Dokumente und Einstellungen\All Users\Startmenü\Programme\AutostartI dont think that's the right path to run the automated .exe in logging in as the admin. I can run the .exe files in the start up folder after logging in as the user. But what I wanna do is to run the .exe file, which is the automated log in program before logging in as the user. "Failure is the key to success. So try and try until you succeed!" Link to comment Share on other sites More sharing options...
Pies Posted September 10, 2008 Author Share Posted September 10, 2008 i'll just try what spud had just said. ;p "Failure is the key to success. So try and try until you succeed!" Link to comment Share on other sites More sharing options...
Pies Posted September 10, 2008 Author Share Posted September 10, 2008 before login? Then it must run as service. hmn.. I think so, so where should I save the .exe file to run as service? "Failure is the key to success. So try and try until you succeed!" Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 10, 2008 Share Posted September 10, 2008 hmn.. I think so, so where should I save the .exe file to run as service?It's in the FAQ, go take a look. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
Pies Posted September 10, 2008 Author Share Posted September 10, 2008 It's in the FAQ, go take a look.It isn't there. "Failure is the key to success. So try and try until you succeed!" Link to comment Share on other sites More sharing options...
Pies Posted September 10, 2008 Author Share Posted September 10, 2008 It's in the FAQ, go take a look.oops. it's there.haha! "Failure is the key to success. So try and try until you succeed!" 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