Jump to content

How do I Format my computer with AutoIt


 Share

Recommended Posts

4 hours ago, Earthshine said:

This is ridiculous this language cannot perform a format and re-install of windows it is not possible it is an interpreted language that needs a Windows host to operate. once you format the drive there’s no more windows host.

IMO, this is false.  There is always a windows host, even before, during, and after formatting the hard drive.  It’s either loaded from the CD or a USB drive etc...  There’s a command prompt on an x: drive available during installs.

Note: I am not claiming that Autoit can automate windows installs, only that there is always a windows image loaded..


 

 

Code hard, but don’t hard code...

Link to comment
Share on other sites

@JockoDundee - AutoIt wouldn't work on bare-metal systems, it would require at a minimum WinPE but would have limited functionality.  Although in this case you would probably just use CMD to format, partition and image the machine.

@BrunoIvo - Recommend you look at two free Microsoft tools:

Microsoft Deployment Toolkit - https://www.microsoft.com/en-us/download/details.aspx?id=54259
Windows ADK + Windows PE add-on: https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install

These tools allow you to setup a centralised repository allowing you to automate the entire install of Windows, including formatting, partitioning and installing Windows, you can also add applications, drivers.  The enterprise tool, Microsoft Endpoint Configuration Manager (aka SCCM) uses the same framework so it's a good starting point if you want to learn how to deploy OS correctly.

Link to comment
Share on other sites

5 hours ago, JockoDundee said:

IMO, this is false.  There is always a windows host, even before, during, and after formatting the hard drive.  It’s either loaded from the CD or a USB drive etc...  There’s a command prompt on an x: drive available during installs.

Note: I am not claiming that Autoit can automate windows installs, only that there is always a windows image loaded..


 

 

So you have no way to do it just like we told you. This is all I’m going to say about this and I assure you that you cannot do this with auto IT alone. Ok I’m done with this. Have fun

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Link to comment
Share on other sites

  • Moderators
10 hours ago, JockoDundee said:

Note: I am not claiming that Autoit can automate windows installs, only that there is always a windows image loaded..

But AutoIt automating format and windows install is the OP's request, and all your side statements and arguments are at this point doing nothing more than derailing the thread. How about we take all the tangential arguments to another thread if you'd like to continue, and cease polluting the original post here.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

You can use AutoIT as a crutch to control and automate another tool. 

I mean you could automate SCCM with AutoIt. You could automate BarMetal OS providing by using your host provider portal/API "with AutoIt" too. 

You could automate anything that you want, until you have a system to give your orders. The only way to do this with AutoIT is to manipulate an already existing tool that will interact with the bios and/or the post bios process of the machine. 

 

So you could do serial masterisation using AutoIT, if you're not using AutoIT "alone".

Edited by caramen

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

Well I will throw my two cents in to this (convoluted) discussion.

In my previous work, I created a fully automated Windows installation that ran from Windows PE to deploy a Windows image (WIM image) and then made custom settings including setting up and formatting partitions on additional disk drives after the WIM image was up and running on the system.  The deployment could deal with multiple types of hardware.

The reason for the PE deployment without something like SCCM was that the systems were isolated from the world at large so effective deployment had to be "stand-alone". Started with CDs as the media and moved to DVD then to USB devices.

Requires that one knows about the Windows deployment tools as well as AutoIT and the inner workings of Windows, etc..

It's not easy but it can be done.

Always carry a towel.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...