To install a "Minecraft" server on a Windows platform, download and install the server software from the "Minecraft" download page. After verifying that your version of Java is up to date, start the "Minecraft" server, then create a batch file to store your commands.
When verifying your version of Java, you may want to install and run a 32-bit version even if you are running a 64-bit machine, since most browsers use 32 bits.
On the first execution of your "Minecraft" server, you must accept the end-user license agreement. Open the folder where you stored your server .exe or .jar, and opening the file "eula.txt." Change the "eula" parameter from "false" to "true" and save. Change the command line, and modify the system path. Go into your Advanced System Settings, click Environment Variables, then under System Variables, find the Path variable. Click on Edit, and add a semicolon to the end of the current value and to the location of your Java folder. Close all command windows.
Finally, the batch file creates a file of all these commands so you don't have to type them every time. In Notepad, add the lines "@echo off," "set path," "title run-minecraft," "java -Xms1024M -Xmx2048M -jar minecraft_server.jar nogui" and "pause." This allows you to start the "Minecraft" server by double-clicking on the batch file.