Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save vladtreny/7f735abc38a89d5acff3b15172f5b116 to your computer and use it in GitHub Desktop.

Select an option

Save vladtreny/7f735abc38a89d5acff3b15172f5b116 to your computer and use it in GitHub Desktop.
A guide on how to install Windows Server 2012 for Minecraft.
1. Make sure Netboot is set to hard disk. Also make sure that Monitoring is disabled.
2. Click 'Reinstall' in the control panel, and select 'Linux Plesk 12 (CentOS 7) (64bits)'. The server should restart and begin installing the OS.
3. Once it is done (it will come up under 'Tasks'), change the Netboot to Rescue, then select 'rescue-pro' and restart the server.
4. You will receive an email with the SSH login information. Open up PuTTY or your preferred SSH client, and log in.
5. Type in this command as follows:
wget -O- 'http://mirror.joodle.nl/KS2012R2-Joodle-Template.gz' | gunzip | dd of=/dev/sda
EDIT: The link is now premium. You can buy a download link from here for only $0.99: https://joodle.nl/install-windows-on-a-kimsufi-server/
It's recommended to just copy and paste it. Once you run it, you should see that the Windows Server 2012 template begins downloading.
5. Once everything completes, exit from the SSH command line and go back to the control panel. Change the Netboot to Hard Disk and restart the server.
6. Wait approximately an hour, or until you can connect to the server using Remote Desktop. The default username will be 'Administrator' and the password will be 'Password147'.
6a. To change your password, open an elevated command prompt and type the following:
net user Administrator {new_password}
Replace {new_password} with what you would like the new password to be.
6b. Install IPBan as a service, so that people don't brute-force your Remote Desktop.
Download IPBan from here: http://www.digitalruby.com/securing-your-windows-dedicated-server/
Once you have saved it, open an elevated command prompt and type the following:
sc create IPBAN type= own start= auto binPath= d:\system\ipban\ipban.exe DisplayName= IPBAN
Replacing 'd:\system\ipban\ipban.exe' with the path where you saved IPBan. Once you have done that successfully, open the Task Manager and click on 'More details'. Click the Services tab, and enable IPBAN by right-clicking on it and pressing Start.
7. Disable Internet Explorer's Enhanced Security Configuration. It's just a hassle. Open an elevated command prompt and type in these 2 lines:
REG ADD "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}" /v IsInstalled /t REG_DWORD /d 00000000 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}" /v IsInstalled /t REG_DWORD /d 00000000 /f
8. Expand the current partition so that it uses the whole HDD. Open Run (Windows key + R) and type in 'diskmgmt.msc'. From there, right click on the 'C:' drive and click on 'Extend Volume'. Make sure it uses up the unallocated space.
9. Open up Windows Firewall with Advanced Security. Click on Inbound Rules and enable the following (they will be disabled by default):
File and Printer Sharing (Echo Request - ICMPv4-In)
File and Printer Sharing (Echo Request - ICMPv6-In)
Remote Desktop – User Mode (TCP-In)
Remote Desktop – User Mode (UDP-In)
Remote Desktop – Shadow (TCP-In)
These are CRITICAL to ensure you don't lock yourself out.
10. Once you have done that, make sure your firewall is activated by opening an elevated command prompt and typing the following:
netsh advfirewall set allprofiles state on
11. It's also useful to port-forward Minecraft and Votifier while you're at it. Type these command into an elevated command prompt:
netsh advfirewall firewall add rule name="Minecraft TCP" dir=in action=allow protocol=TCP localport=25565
netsh advfirewall firewall add rule name="Votifier TCP" dir=in action=allow protocol=TCP localport=8192
12. If you need a way to activate Windows but you don't have a legitimate product key, you can use a KMS activator like KMSpico. Here's how.
12a. Open an elevated command prompt and type in the following:
DISM /online /Set-Edition:ServerDatacenter /ProductKey:W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 /AcceptEula
When it prompts you for a restart, type in 'Y'.
12b. Once the server restarts, log back in. Install KMSpico. Once it is installed, open it up from the start menu and click the button.
KMSpico download link (educational purposes only): http://forums.mydigitallife.info/threads/65739-KMSpico-Official-Thread
12c. Boom. Windows Server 2012, datacenter edition should be activated. When you reboot, there should be no issues.
13. Open up the Server Manager, click on 'Configure this Local Server', then make sure you select the correct Time zone. This makes life easier for you.
14. Enable Large Page support by opening Run (Windows key + R) and typing in 'gpedit.msc'. From there, go to Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment. Under that, select 'Lock pages in memory'. Right click it, press Properties, then Add User or Group, type in 'Administrator', and press OK to everything.
15. Install Firefox. Open up Internet Explorer, navigate to the Firefox installation page, and well... install it. Once you have installed it, ensure you get the Adblock Plus and NoScript addons, to ensure heightened security.
16. It's also recommended to install Java JDK + JRE, 7-Zip, Notepad++, and Git. You should know how to do that using Firefox. The reason for installing these is so that you can download plugins from Spigot directly to the server, and manage everything from there.
17. You're done! You can re-enable Monitoring in the control panel.
NOTE:
If your server has FTP access, download FileZilla and connect using it. You will be able to access all your files this way.
Otherwise, if you need to transfer files from another host running Linux, use Bitvise SSH Client: http://dl.bitvise.com/BvSshClient-Inst.exe
Simply log in as you would and once you do, you will have access to all your files through the power of SCP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment