CgMiner Windows Setup

When I started to bitcoin mining I really didn’t know much about it. All I knew was that it was alternative currency. I knew it didn’t have a tangible currency behind it and it was created by computers “mining” algorithms. Now, I continued my search to know more about this “Coin.” I was very fascinated by it. Once I decided to start mining I started looking on how to mine. This was a bit of a road block for me. At the time I started mining there wasn’t a windows program to mine. So, I had to build a Linux box to run it. I love Linux and didn’t mind making another Linux box. Now, this was easy on getting it started there was tutorials on how to get everything running. I know Linux very well so it wasn’t hard at all getting it working. A few years have passed since the first block I started mining and a lot of progress has been made in the world of cryptocurrency. Not only in software but the quantity of currencies out being mined ( and the addition of many coins.

I was talking to some friends who wanted to mine but they are having trouble. I asked them what is holding them back from starting and they said the whole thing about linux is confusing them. You see linux is a great operating software for a computer but most people have never used it. Unlike Windows or Mac Os most linux, some are an exception, do not have a gui where there is icons. It’s a black screen with writing that you need to type in commands to make it work.

Seeing this most people get confused or intimidated so they give up. That’s unfortunate because I know how it felt when I first started using linux. I waited for over an hour for the desktop to appear and all I got was a little box waiting for me to type in commands. I was determined to learn it and spent hours upon hours learning linux but the normal person doesn’t want to deal with this. They are used to windows or mac and they just want to open a program and start mining.

Fortunately, they have made it easier for people on Windows to run mining software. Unfortunately, it’s not 100% easy. There requires a little bit of coding but nothing this tutorial can’t help with.

If you are ready to dive in.. let’s start.

*First and foremost, we are going to install cgminer but it also works with bfgminer and others that offer a windows file.

What you will need:

  • Windows Computer
  • CGminer
  • 7-zip
  • Pool Address, username and password

1.We first need to download Cgminer from link below. Download the latest version which ends in Windows.7z. Example cgminer-4.X.X-windows.7z

1a. If you do not have 7-zip. Download and install 7-zip from link below.

2. Use 7 zip to unzip the cgminer file

3. Now time to make the script that runs cgminer. This is the most advance part but is pretty simple. Open Notepad(included in windows). Then copy and paste this line in the program.

      cgminer.exe -o stratum+tcp://poolurl:port -u username -p password

3a. You need to change the pool url, port, username and password to match your pools information.

3b. Try making the bat file yourself if you are having trouble. Here is the simple config bat file- Download

Open the file in notepad and change the information to your pool

4. Click File and then Save, and then navigate to the cgminer file. For the file name, type “mine.bat”, and if your version of Windows has a “Save as type” option, choose “All files”, otherwise it saves as a text file. Once you have completed these steps, click the Save button and exit notepad.

5. Now open the cgminer folder and you should see a file named mine.bat. All you need to do is double click the bat file and cgminer should open.

This is the basic install and config of cgminer for windows. There are a lot of options you can configure in the bat file which can be found in the readme file or:


If you have any questions please feel free to ask. I will try my best to answer them.

More from Dennis Stamatoiu

The BTC Panic…

This post contains opinion based on past fluctuations and research. Please do...
Read More