Logo

Installation failed, ended prematurely

If you are trying to install or reinstall a program on your Windows 10 computer but encountered an error instead that says, “Fatal error, Installation fails, Installation ended prematurely because of an error”, then you’ve come to the right place as this post will guide you how you can fix it.

This kind of error is most likely caused by some files that may have been left behind by the previous installation of the program. Each time a program is uninstalled, it leaves behind its files and if the uninstallation process wasn’t completed properly, then it would result in errors like the

“Fatal error, Installation fails, Installation ended prematurely because of an error”.

Moreover, this kind of error is a generic one that can also occur with any software reinstallation or installation. And to fix this error, there are several suggestions you must check out. You can try to install or reinstall the program in a Clean Boot State or restart the Windows Installer Service. You could also try to re-register the Windows Installer Service or re-register the VBScript.dll file.

Option 1 – Install or reinstall the program in a Clean Boot State

It is possible that there are some third-party applications in your computer that are preventing the program from getting installed and to isolate this possibility, you need to boot your computer in a Clean Boot State and then try installing the program again. Putting your computer in this state can help you identify which program is the culprit and thus isolates the problem. In a Clean Boot state, your computer will start using only the pre-selected minimal set of drivers and startup programs. Note that you have to disable and enable one process at a time.

  • Log onto your PC as an administrator.
  • Type in MSConfig in the Start Search to open the System Configuration utility.
  • From there, go to the General tab and click “Selective startup”.
  • Clear the “Load Startup items” checkbox and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
  • Next, click the Services tab and select the “Hide All Microsoft Services” checkbox.
  • Click Disable all.
  • Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
  • After you’ve set your computer into a Clean Boot State, make sure that you’re signed in as administrator and then try to install the program again.

Option 2 – Try to restart the Windows Installer Service

The next thing you can do to fix the problem is to restart the Windows Installer Service. To do this, follow these steps:

  • Tap the Win + R keys to launch the Run utility and type “services.msc” in the field and then hit Enter to open the Windows Services Manager.
  • Next, look for the Windows Installer service among the list of services shown.
  • Once you found it, right-click on it and open its Properties.
  • From there, click on the Stop button and then click on the Start button.
  • But if it isn’t running, then just click on the Start button.

Option 3 – Try to unregister and re-register the Windows Installer Module

  • Tap the Win + R keys to open the Run dialog box.
  • Then type the “msiexec /unregister” command and hit Enter to unregister the Windows Installer Module.
  • Next, type the “msiexec /regserver” command and hit Enter to re-register the Windows Installer Module.
  • Now restart your computer and see if unregistering and re-registering the Windows Installer Module fixed the problem or not.

Option 4 – Try to re-register the vbscript.dll file

You may have to re-register the vbscript.dll file using the regsvr32.exe before you can successfully install the program and fix the error. The Regsvr32 tool is a command-line utility that can be used to register and un-register the OLE controls like DLL and ActiveX (OCX) control in the Windows operating system. Follow the steps below to use it.

  • Open Command Prompt as admin from the WinX menu.
  • Next, type regsvr32.exe vbscript.dll in the elevated Command Prompt and hit Enter to execute the command. This will re-register the affected DLL file using the Windows operating system tool, regsvr32.exe.
  • You should see a message saying, “DllRegisterServer in vbscript.dll succeeded” if the Regsvr32 tool was able to run successfully. After that, try to install the program again and see if it now works.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

Steam Deck will be able to dual boot
Steam Deck release is almost upon us and more news comes to light. The Latest officially confirmed technical detail is that the user will have access to device's BIOS and that dual booting will be officially supported. steam deckThis, of course, means that you will be able to have both Proton and Windows on your device letting you play anything that you wish if the hardware is strong enough. Valve also said that you can launch OS from an SD card! This of course will save space available for games themselves, especially for entry models with less than one available. All of this information really pushes Deck into the territory of a handheld PC and not just another console and I must admit that this announcement left a smile on my face.
Read More
Transferring characters in diablo 2 remake
Diablo 2 resurrected has hit official release and servers seem to be finally taken care of and everything seems to be running smoothly now. The game also received great praise from gamers and attracted old players of the original Diablo 2 game. diablo 2 gameplaySpeaking of old players of old Diablo 2, they can transfer their old characters into remaster and continue playing them within this new great HD environment. There are some steps and requirements but we are here to help and transferred characters will bring full stash, inventory, and equipped items with them.

Requirements

There are not many requirements for this transfer to occur but they must be respected in order to be successful. The first thing is a minor requirement and somewhat annoying but it needs to be done, firstly fire up Diablo 2 resurrected and create a character, any kind of character with any kind of name, any kind of class. This strange requirement is to actually create a character folder and register it inside D2 resurrected so we can copy old ones there. The second requirement will be that characters that you wish to be transferred must be offline characters. Old battle net online characters cannot be transferred at this moment and probably will not be in the future as well. So for all of you that wish to transfer online characters, bad luck, for the rest of us casuals playing offline single-player mode, we can enjoy our characters.

Process of diablo 2 character trasfer

The process itself of transferring characters when previously mentioned requirements are met is just a simple and copy operation. If you have somewhere backed your characters go into your backup folder and copy files in c:\users\*current user*\saved games\*diablo 2 resurrected folder* If you do not have characters backed up and just have old Diablo 2 installed and playing it, you can go to c:\users\*current user*\saved games\*diablo 2 folder* and just copy all characters files into c:\users\*current user*\saved games\*diablo 2 resurrected folder* Your old characters end with .d2s extension, grab all that you want to transfer, and copy them into D2R. Take note that copied characters cannot be brought back into Diablo 2, once they are copied into Diablo 2 resurrected all further progress on them will be tied to the new game.

Conclusion

That’s it about the transfer process and requirements for it. Fire up the new game version and enjoy.
Read More
Fix Origin code 10.0 Error in Windows 10
Gaming on the computer has become one of the most used past-time activities among people of all ages. And since we are still in pandemic it has only risen as activity. People can acquire a lot of games at various discounts on various platforms and enjoy them at the leisure of their home. Among many game platforms and stores, Electronic art's Origin is one of the bigger ones, and having some titles that could not be found anywhere else coupled with the ability to have access to almost the whole game catalog with one monthly subscription make it one of the most used clients. Sadly as with every piece of software Origin's client is not perfect by any means and it can behave strangely from time to time. Hello everyone and welcome to errortools.com, today we will fix Origin error code 10 which oddly enough can appear out of nowhere and can even appear on the very end of installation for the chosen game. If you have managed to come by this error you are in luck to be here because we have a couple of fixes for it. I know that you might be excited to play the game so let's go and do some fixing

Check Server status

Before diving into technicality and before we start deleting files and fixing things you should check the Server status. This seems maybe like something you should not do but if the server has experienced some kind of downtime or it is in maintenance Origin will throw this error in the client. Unexpected situations can cause various server issues all of a sudden and the first thing is to check are servers online and working. There are various ways to check server status from official origin website to Electronic arts twitter channel to Reddit and many more online server status websites. If it turns out that the server is to be blamed for this error then sit back and wait for EA to resolve the issue, there is not much you can do anyway.

Delete OriginThinSetupInternal.exe

  • After some research, it has come to light that originthinsetupinternal.exe can cause this specific error. The best solution is to delete the file and then run Origin as administrator so the file is remade new.
  • First, make sure that Origin is fully closed, check the taskbar and if it lurks there right-click on it and click on quit
  • Run file explorer and go into the folder where Origin is installed, by default it is C:\Program Files (x86)\Origin
  • Locate OriginThinSetupInternal.exe and delete it
  • Then locate origin.exe and right-click on it and then click on Run as administrator

Reinstall Origin client

If the previous solution has not solved the issue then Origin might have some corrupted files inside it. It is known that the Origin client can produce some bad files if the installation has been forcefully canceled. The best thing is to reinstall the completely whole client.
  • Press ⊞ WINDOWS + R to open the run dialog
  • Inside run dialog type in Control panel and press ENTER
  • In the control panel locate programs and features group and double click on it
  • Locate Origin, click to select it, and on top click on uninstall
  • After uninstall process is completed start file explorer and go to the folder where Origin was installed, by default it is C:\Program Files (x86). Locate the Origin folder and delete it.
  • Go to the official origin website and download the new client installation.
  • After the download is finished double click on it and follow onscreen instructions.

Disable antivirus

If every solution so far has not been able to remove error then obviously something else is interfering with the origin client and installation functioning. Altho not advisable, turn OFF your security suite including both firewall and antivirus and try installing the game again. There is the possibility that the origin client or some game file has been marked as false positive by security software thus preventing it from executing properly.
Read More
Fix ndis.sys failed BSOD error on Windows 10
NDIS or Network Driver Interface Specification is a programming interface for the network interface cards that aids in the proper functioning of a system driver in a computer network. The NDIS helps the computer system in order to communicate with other connected devices and hardware components on a computer network. In relation, the ndis.sys file is a critical system file developed by Microsoft for the Windows operating system. As you know, sys files or system files are important parts of the Windows operating system as well as a repository of system driver settings used by Windows to communicate with the connected hardware and devices. The ndis.sys files are stored mostly in a driver folder at C:/Windows/System32/drivers and as mentioned, these files are essential for the system to function properly. Although the presence of ndis.sys system file is not yet known to affect the normal functioning of the Windows OS, some of the Windows 10 users reported that they encountered ndis.sys blue screen errors on their PCs. Blue Screen of Death errors or Stop errors usually occurs when you open a program or a function. Moreover, it could also occur when the driver gets loaded during the system startup or during system shutdown. It isn’t yet clear what really causes the ndis.sys blue screen error. However, like other Stop errors, it may occur due to corrupted files, misconfigured device drivers, bad drivers, corrupted Windows Registry, missing or damaged system files, and malicious programs. Aside from the aforementioned reasons, the ndis.sys blue screen error might also occur if your hard disk is damaged and if the RAM is corrupted. In such cases, a lot of users usually disable the ndis.sys file. However, it won’t really resolve the issue since the file is required for the normal functioning of the operating system and even when you disable the file, it’s pretty useless as the file will start all over again. In addition, you might want to disable security programs or firewalls and antivirus programs in the meantime to check if these programs are the ones that are causing the error. And if you’ve determined that none of the security programs or firewalls and antivirus programs are to blame, refer to the options below that might help you resolve the DRIVER_IRQL_NOT_LESS_OR_EQUAL or ndis.sys Blue Screen of Death error.

Option 1 – Try to update or reinstall the PC device driver

The Ndis.sys Blue screen error can occur when the device driver in your computer is outdated or corrupted. Thus, you either have to update or reinstall it to fix the issue.
  • Tap the Win + R keys to launch Run.
  • Type in devmgmt.msc into the box and tap Enter or click OK to open the Device Manager.
  • After that, a list of device drivers will be displayed. If you see a red or yellow sign that shows up against the driver, right-click on the driver’s name and select “Update Driver Software” or “Uninstall”. And if you find any “Unknown device”, you need to update it as well.
  • Select the “Search automatically for updated driver software” option and then follow the instructions to complete the process.
  • Restart your PC.

Option 2 – Rollback your Network drivers

If you have updated the driver software as of late and you suddenly got this BSOD error, you might have to roll back the device driver – in other words, switch back to the previous working version. To do that, follow these steps:
  • Tap the Win + R keys to launch the Run window and then type in the “devmgmt.msc” command and hit Enter to open the Device Manager window.
  • Under the Device Manager, you will see a list of drivers. From there, look for the Network Adapters and expand it.
  • Next, select the driver entries that are labeled appropriately other than anything in the context of the WAN Miniport.
  • Then select each one of them and double-click to open a new mini window.
  • After that, make sure that you’re on the Driver tab and if you are not, just navigate to it then click the Roll Back Driver button to switch back to the previous version of your Network adapters.
  • Now restart your computer to successfully apply the changes made.

Option 3 – Try running the System File Checker

The SFC or System File Checker scan could detect and automatically repair damaged system files that could be causing the ndis.sys Blue Screen of Death error. SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files with good system files. To run the SFC command, follow the steps given below.
  • Tap Win + R to launch Run.
  • Type in cmd in the field and tap Enter.
  • After opening Command Prompt, type in sfc /scannow and hit Enter.
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
  1. Windows Resource Protection did not find any integrity violations.
  2. Windows Resource Protection found corrupt files and successfully repaired them.
  3. Windows Resource Protection found corrupt files but was unable to fix some of them.

Option 4 – Try running the CHKDSK utility

Running the CHKDSK utility might also help you resolve the Netwtw04.sys failed BSOD error. If your hard drive has issues with integrity, the update will really fail as the system will think that it’s not healthy and that’s where the CHKDSK utility comes in. The CHKDSK utility repairs hard drive errors that might be causing the problem.
  • Open Command Prompt with admin privileges.
  • After opening Command Prompt, execute the following command and hit Enter:
chkdsk /f /r
  • Wait for the process to be completed and then restart your computer.

Option 5 – Run the DISM Tool

The DISM tool is another command-line tool in the Windows operating system that could help users fix various corrupted system files. To use it, follow these steps:
  • Open the Command Prompt as admin.
  • Then type in this command: DISM /Online /Cleanup-Image /RestoreHealth
  • The DISM command you entered will repair the corrupted system image. Do not close the window if the process takes a while as it will probably take a few minutes to finish.
  • Restart your PC.

Option 6 – Perform a System Restore

Performing a System Restore on your computer can also help you fix the ndis.sys Blue Screen of Death error. You can do this option either by booting into Safe Mode or in System Restore. If you are already in the Advanced Startup Options, just directly select System Restore and proceed with the next steps. And if you have just booted your PC into Safe Mode, refer to the steps below.
  • Tap the Win + R keys to open the Run dialog box.
  • After that, type in “sysdm.cpl” in the field and tap Enter.
  • Next, go to the System Protection tab then click the System Restore button. This will open a new window where you have to select your preferred System Restore point.
  • After that, follow the on-screen instructions to finish the process and then restart your computer and check if the problem is fixed or not.
Read More
Reliability Monitor is not updating or working
In case you don’t know, there is a built-in tool in Windows 10, known as Reliability Monitor that provides a day-to-day snapshot of the health of your system. It warns users of any looming issues or disasters before your computer breaks down finally. So obviously, Reliability Monitor is useful, however, there are times when it could behave incorrectly. For instance, it might fail to show you any updates even when they are installed. Thus, if you experience any malfunctions with the Reliability Monitor tool in Windows 10, read on as this post will guide you in updating or working in Windows 10. To fix the problem with the Reliability Monitor, there are several fixes you can check out. You can try to enable the data collection for Reliability Monitor or reset it, as well as put your computer in a Clean Boot State. For more information, refer to each one of the options given below.

Option 1 – Try to enable the Data Collection for Reliability Monitor

The Reliability Monitor tool uses data provided by the RAC Agent scheduled task and it will start to display a Stability Index rating and specific event information 24 hours after the system installation. The RACAgent scheduled task, by default, runs after the operating system is installed. And if it is disabled, it must be manually enabled from the Task Scheduler snap-in for MMC or Microsoft Management Console. Thus, you need to enable the Data Collection for Reliability Monitor to fix the problem.

Option 2 – Try to reset the Reliability Monitor

The next thing you can do to fix the issue with the Reliability Monitor might want to reset it to resolve the problem. If the Reliability Monitor is already open, you have to close it and open it again. After the reset is done, it may take up to 24 hours for the Reliability Monitor to display results again. This should fix the problem.

Option 3 – Troubleshot the problem in a Clean Boot State

There are some instances that some conflicting programs installed in your computer might be the one that’s causing the Black border issue. To identify which program is causing the problem, you need to put your computer in a Clean Boot State. To do so, follow the steps below.
  • Log onto your PC as an administrator.
  • Type in MSConfig in the Start Search to open the System Configuration utility.
  • From there, go to the General tab and click “Selective startup”.
  • Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
  • Next, click the Services tab and select the “Hide All Microsoft Services” check box.
  • Click Disable all.
  • Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
  • From there, start to isolate the problem by checking which one of the programs you installed recently is the root cause of the problem.
Read More
Intel i9 Alder Lake better than AMD Ryzen 9
Alder LakeIf we are to believe news from Intel, new series of processors based on Alder Lake architecture are about to be released somewhere in October. Alder Lake is the 12th Generation Core of Intel processors and it is meant to have all advantages of the current CPU structure. I9 is aimed to pack a punch against its competitors with technology including eight high-performance Golden Cove cores (P-cores) with Hyper-Threading and eight energy-efficient Goldmont (E-cores) equipped with a 30MB L3 cache and operating at high clock speeds. During the benchmark test, the new CPU outperformed all of Intel’s previous Rocket Lake structure processors which is logically expected but the big surprise came from results that indicate better performance than Apple’s new M1 processor even in single-threaded performance which is supposed to be best in that field. Another surprise was really beating AMD Ryzen 9 in each field. If we take into account that i9 has 16 cores in total and can process 24 threads against Ryzen 9 with 16 Cores and 32 threads this is an impressive feature. Now truth to be told Alder lake has massive L3 cache and microarchitectural advantages and consumes much more power but the results of performance are high. Also, note that this early CPU is not really a mass production one and maybe some things will still change but early results are very satisfactory. We will see what will price tag be since in this age of shortage and competition that will also play a big role in its overall success. Speaking of competition I eagerly await AMD’s response to this, in any way it seems that the CPU market is for some turbulence which is always a good thing for the final customer and I welcome it.
Read More
T-Mobile Hack, 40 Million and more Impacted
T-MobileHacker group recently came up with claims that they have stolen data from 100 million T-Mobile customers. T-Mobile has responded with confirmation it has been compromised and that over 40 million records were stolen, among them are not just present customers, but anyone who has applied for T-Mobile service as well as past accounts.

What has been stolen?

Report from T-Mobile states that stolen records included first and last name, date of birth, social security number, driver’s license & ID information. The company said that it has “no indication that the data contained in the stolen files included any customer financial information, credit card information, debit or other payment information.” Not really a reassuring statement meaning that they really do not know, but even if the statement is true, already stolen information is as much if even not more damaging and devastating as payment information.

What T-Mobile is planning to do now?

It is stated that the hole used for the hack has been addressed and closed so no more data can be stolen. Considering people that had their personal information compromised, T-Mobile said it is planning to reach out to them and offer them two years of free identity protection through McAfee’s ID Theft Protection Service. Additionally, T-Mobile recommends postpaid customers change their PIN by going online into their T-Mobile account or calling T-Mobile customer service by dialing 611 on their phone. The company also recommends a feature called Account Takeover Protection that prevents unauthorized individuals from stealing a phone number and porting it out of T-Mobile. Finally, the company will publish a website “for one-stop information and solutions to help customers take steps to further protect themselves.”
Read More
Fatal error occurred while trying to sysprep
There are several kinds of errors you could encounter when you are running Windows 10 on a virtual machine. The Windows OS knows the difference between booting up in a standalone computer or in a virtual machine. This is why some specific drivers and system capabilities are used while emulating the Windows OS on software and during this phase, there are times when the System Preparation may throw up an error that says, “A fatal error occurred while trying to sysprep the machine”. This kind of error arises due to a race condition wherein the Sysprep command tries to stop the Microsoft Distributed Transaction Coordinator or MSDTC service and the VMware tool tries to start the MSDTC service. You may also see the following messages logged in the Setuperr.log file:
  • [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing ‘C:Windowssystem32msdtcprx.dll,SysPrepDtcCleanup’, returned error code -2146434815[gle=0x000000b7]
  • [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -2146434815[gle=0x000000b7]
  • [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80100101[gle=0x000000b7]
To fix the 0x0f0082, 0x0f0070, 0x0f00a8 Sysprep errors, you can check out two potential fixes. First, you have to check the status of the MSDTC service and the second one is to check the settings in the Windows Registry. Note that these fixes are proven to be effective on many users and apply to several versions of Windows, including Windows 10.

Option 1 – Check the status of the MSDTC service via Command Prompt

As mentioned, the error could be caused by the malfunctioning of the MSDTC service or it. Thus, you have to uninstall and reinstall the MSDTC service to resolve the problem and you can do that using Command Prompt. Follow the steps below.
  • In the Start Search, type “command prompt” and from the results, right-click on Command Prompt and then select the “Run as administrator” option to open it with admin privileges.
  • If a User Account Control or UAC prompt appears, just click on Yes to proceed.
  • Once you’ve opened Command Prompt, execute this command: msdtc –uninstall
  • The command you just entered will uninstall the MSDTC service. After that, you need to execute this second command to reinstall the service: msdtc –install
  • Now exit Command Prompt and check if the error is now fixed.

Option 2 – Check the Registry settings

  • Tap the Win + R keys to open the Run dialog box and type “Regedit” in the field and click OK or hit Enter to open the Registry Editor.
  • After opening the Registry Editor, navigate to this registry path: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionSoftwareProtectionPlatform
  • From there, look for a DWORD value that’s named “SkipRearm” and double click on it.
  • Then change its value data to “1”.
  • Restart your computer to apply successfully apply the changes made and check if it was able to fix the error.
Read More
Switch audio devices in Windows 11 taskbar
windows 11 audio settingsWindows 11 has brought some new features and changed some of the existing ones. One of these changes includes quick switching of audio devices which will play audio. Audio switching can still be done under the taskbar, it is just a little different and one could say even hidden. Follow this quick guide and you will be switching from your headphones to speakers as an example in a matter of seconds.
  1. Click on the speaker icon located in the far-right part of the taskbar.
  2. After the quick settings menu appears click on the right arrow located right of the volume slider. If the arrow is not present, instead of click on the pencil icon, then on add, and finally select Volume from the list.
  3. After clicking on the arrow icon, a list of all enabled audio devices on the system will replace the volume slider. Click on the desired audio device in order to make it active.
  4. Click anywhere outside the quick setting menu to save changes and close it.
Note: in the Quick settings menu if you choose More Volume Settings it will bring you to System > Sound where you can access more sound input and output options.
Read More
Making your own Minecraft server in Windows
Minecraft has taken the world like a storm and if you tried it, you could tell why, procedurally created worlds, various modifications available and fun gameplay are just some of the things this game offers and it is non wonder why kids and adults are enjoying it. Minecraft is even more fun when you play with your friends on dedicated servers, where you all can adventure and build together. Sadly as everything costs, so does the Minecraft servers as well. Lucky you can create your own Minecraft server on your computer so your friends can join and play with you free of charge with just a little time you need to spend reading this guide and building one for yourselves. Without further delay let's dive right into it.

1. Install the most recent Java version

In order to run your personal server, you will need to own and have Minecraft: JAVA edition, not Windows 10 one. If you have this version of the game and it is already running it means that you already have JAVA as well but we will need to check to see if it is the latest version of JAVA, to check this do the following:
  • Press Windows and type in configure java followed by ENTER
  • Under the update tab, click on the update now button
  • If you have the latest version you are all good, if not follow the onscreen instruction on how to update it.
If by any chance you do not have JAVA installed you can get it here.

2. Prepare a dedicated location for your Minecraft server files

You can use any folder you like for your Minecraft server folder but it is highly recommended to create a new folder whose sole purpose will be to hold and run Minecraft server files. this will be very beneficial in the future when server files need to be updated or configured. Having things in one isolated space is always a good idea and keeping things organized is also a good idea.

3. Download, install and start the Minecraft: Java Edition server file

It is now time to download server files, you can get them here. Download the server.jar file and place it inside your server folder. Once everything is downloaded and prepared do the following:
  • Run the server.jar file, the first time it runs, the file will create some configuration files.
  • After additional files appear, there should be a text document called eula.txt. Open it with a text editor then change eula=false to eula=true.

4. Enable port forwarding on your router

This sep is required if you want to have people to play with you that are outside your router network, for example, if you want them to connect to your server from their home. If you do not wish to do this and want only people on your serves from your router network you can skip this step. Unfortunately, to enable port forwarding, you’ll need to make your computer on your local network to be accessible by other computers over the internet via a router. This will effectively make your port to be an open portThis can make your system vulnerable to malicious attacks. Once you’ve enabled it, set the default server port to 25565. You’ll need the Server IP address, which you can get by opening Command Prompt or PowerShell and run ipconfig. Your IP address is usually listed as IPv4 or IPv6 Address.

5. Run the Minecraft server

Simply double-click the server.jar file to run the server. If you want to have more control over it, use the command line.
  • Navigate to your Minecraft server directory using file explorer.
  • We will be using PowerShell instead of Command Prompt to enter commands. Hit Shift + Right-click on the directory window and select “Open PowerShell window here.
  • Once you are in the right directory, write the following command:
java -Xms1024M -Xmx1024M -jar {server file name} nogui
  1. Replace the {server file name} with the full name of .jar file. The command above will make the server run with no Graphical User Interface (GUI) and use 1024MB of allocated RAM space.
  2. If you want to enable the GUI, remove the nogui command. Additionally, you can edit the memory allocation for the server by changing the Xms and Xmx value.
  3. After the server is up, invite your friends to play by sharing your local or public IP address, depending on whether you are using a local or public network. For a local network, you can give the IPv4 or IPv6 Address earlier. For public networks, go to Google and type “what is my ip” to get the address.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status