How to Create a Startup Script in Windows

By Thomas Stockwell

Updated September 28, 2017

Items you will need

  • Microsoft Windows operating system

  • Administrator privileges

i Ciaran Griffin/Stockbyte/Getty Images

Startup scripts are very useful for managing the Microsoft Windows Operating Systems without having to know programming or without advanced knowledge of the registry. Through the process of creating startup scripts, you will be able to automate basic and complex routines through basic logic statements and commands. Scripting can be used to accomplish many common tasks such as starting a time-keeping application, email application, and Internet browser instantly when your computer starts up. This will produce a more efficient workplace

Creating a Script

Click "Start."

Click "All Programs."

Right click the "Startup" folder.

Click "Open."

Right click in the "Startup" folder. Then proceed to create a new text document by clicking "New" and "Text Document."

Name the file"'StartupScript.bat." You need to specify the *.bat extension or the operating system will not execute the file when the computer starts.

Write the script to perform any tasks you see fit. In the example in which the script must start up Internet Explorer at a particular website when the computer boots, you would use the following command "START iexplore.exe """ This command can be altered for any application, such as for Outlook it would be: "START outlook.exe."


Scripting is a feature in all Microsoft Windows operating systems.