# How to disable networking features \*of UE4\* on windows?

**URL:** <https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809>\
**Category:** Multiplayer & Networking\
**Tags:** pc, Networking, offline, windows, unreal-engine, question\
**Created:** [December 17, 2014, 3:24am UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809 "2014-12-17T03:24:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![piXelicidio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pixelicidio/32/983228_2.png) [@piXelicidio](https://forums.unrealengine.com/u/piXelicidio)\
**Post date:** [December 17, 2014, 3:24am UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809/1 "2014-12-17T03:24:38Z")

</div>

Hi,  
Whenever I execute my packaged game in a new PC windows rise this firewall dialog. How I can disable network communication if my game is offline single player and doesn’t need it?

NOTE: I’m not talking about my computer setup. I was asking for disabling the features inside the engine. So any time my game is installed in a user computer it should not rise that unnecessary system dialog, when I’m not using any networking feature.

![24292-clipboard01_allow_firewall.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/1/b61d829a563a1ff9f5a371904985830a335c1dd3.jpeg)

Regards,  
piX

---

<div class="post-metadata">

**Author:** ![piXelicidio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pixelicidio/32/983228_2.png) [@piXelicidio](https://forums.unrealengine.com/u/piXelicidio)\
**Post date:** [April 16, 2015, 9:16pm UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809/2 "2015-04-16T21:16:45Z")

</div>

Hi,  
I was not talking about my computer setup. I was asking for disabling the features of the engine. So any time my game is installed in a user computer it not rise that unnecessary system dialog, when I’m not using any networking feature.  
Thanks for your quick replay. But maybe I have to edit my question to be more precise.

---

<div class="post-metadata">

**Author:** ![piXelicidio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pixelicidio/32/983228_2.png) [@piXelicidio](https://forums.unrealengine.com/u/piXelicidio)\
**Post date:** [April 17, 2015, 2:01pm UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809/3 "2015-04-17T14:01:45Z")

</div>

Hi, why are you accepting your answer if this actually not answering what I was asking for? Would be even better if you just say me: It can’t be possible.  
If you need me to be more explanatory just ask me. But do not send me to Microsoft website when I talking about an UE issue not my Windows system.

---

<div class="post-metadata">

**Author:** ![sloppyjava](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sloppyjava](https://forums.unrealengine.com/u/sloppyjava)\
**Post date:** [May 9, 2015, 6:03pm UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809/4 "2015-05-09T18:03:42Z")

</div>

I would like to know this as well. Not only for the end user, but every time i test a concept, i have more firewall rules… it’s getting messy in there.

---

<div class="post-metadata">

**Author:** ![Isaac\_Nichols](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Isaac\_Nichols](https://forums.unrealengine.com/u/Isaac_Nichols)\
**Post date:** [May 17, 2015, 2:32am UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809/5 "2015-05-17T02:32:51Z")

</div>

I thirded that. I’m have some people testing my single player game and there like why do I need this.

---

<div class="post-metadata">

**Author:** ![cce](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cce](https://forums.unrealengine.com/u/cce)\
**Post date:** [July 31, 2015, 3:03pm UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809/6 "2015-07-31T15:03:25Z")

</div>

I managed to remove at least some of them by simply disabling the initialization functions. I haven’t really tested it, but the compiled game binary seemed to work fine.

Here’s a patch of the changes I made on top of commit `ec89afdca643efec6aaa1badc5b2b07df27eaec3` on the `release` branch.

```
From a4c0117412df460530c3de11db754863a0dfd43c Mon Sep 17 00:00:00 2001
From: seece <seece@iki.fi>
Date: Fri, 31 Jul 2015 18:05:37 +0300
Subject: [PATCH] Disable networking

---
 Engine/Source/Runtime/Online/HTTP/Private/Windows/HttpWinInet.cpp | 1 +
 Engine/Source/Runtime/Sockets/Private/Windows/SocketSubsystemWindows.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Engine/Source/Runtime/Online/HTTP/Private/Windows/HttpWinInet.cpp b/Engine/Source/Runtime/Online/HTTP/Private/Windows/HttpWinInet.cpp
index 645a2c3..999d4e7 100644
--- a/Engine/Source/Runtime/Online/HTTP/Private/Windows/HttpWinInet.cpp
+++ b/Engine/Source/Runtime/Online/HTTP/Private/Windows/HttpWinInet.cpp
@@ -252,6 +252,7 @@ bool FWinInetConnection::InitConnection()
 	ShutdownConnection();
 
 	UE_LOG(LogHttp, Log, TEXT("Initializing WinInet connection"));
+	return false;
 
 	// Check and log the connected state so we can report early errors.
 	::DWORD ConnectedFlags;
diff --git a/Engine/Source/Runtime/Sockets/Private/Windows/SocketSubsystemWindows.cpp b/Engine/Source/Runtime/Sockets/Private/Windows/SocketSubsystemWindows.cpp
index 2f52869..f480f3d 100644
--- a/Engine/Source/Runtime/Sockets/Private/Windows/SocketSubsystemWindows.cpp
+++ b/Engine/Source/Runtime/Sockets/Private/Windows/SocketSubsystemWindows.cpp
@@ -107,6 +107,7 @@ FSocket* FSocketSubsystemWindows::CreateSocket(const FName& SocketType, const FS
 bool FSocketSubsystemWindows::Init(FString& Error)
 {
 	bool bSuccess = false;
+	return false;
 
 	if (bTriedToInit == false)
 	{
-- 
1.9.5.msysgit.0
```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd1c043c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd1c043c](https://forums.unrealengine.com/u/anonymous_user_fd1c043c)\
**Post date:** [January 21, 2016, 5:56pm UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809/7 "2016-01-21T17:56:30Z")

</div>

I had same problem on UE4.10.2. I read that it’s ok if packaged with “shipping” on another thread but not.  
Then I found the cause. That is SlateRemote plugin.

(if you googled and came here and care about this matter, it’s better to check  
Edit\>ProjectSetting\>End-UserSettings. I don’t know when it will send anonymous data,  
but soon or later it causes end-users to have suspicious I think.)

 ![75421-slateremote.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/5/bd52b7609b2406e4e18b7ee4c2bf73ee690c6190.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_47451bc2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_47451bc2](https://forums.unrealengine.com/u/anonymous_user_47451bc2)\
**Post date:** [September 3, 2021, 4:43am UTC](https://forums.unrealengine.com/t/how-to-disable-networking-features-of-ue4-on-windows/301809/8 "2021-09-03T04:43:16Z")

</div>

Hm, this plugin was auto-disabled for me and I’m still getting the notification. Hm
