PDA

View Full Version : FileSharing Running eMule in Windows Vista



DyNast
11-18-2007, 02:02 AM
Running eMule in Windows Vista

all you need to know in order to run emule in vista

This is a collection of useful information about how to workaround with emule in windows vista, enjoy!



source: MyDigitalLife

eMule is a popular peer-to-peer (p2p) file sharing application in Windows platform for eDonkey and Kad networks. Due to tighten security and permission control in Windows Vista, coupled with new virtualization system, although eMule can install properly in Vista, eMule users may run into some problems such as unable to find finished downloaded incoming files, low ID, slow download speed, no minimize to tray button, downloads stuck incomplete at 99% and the famous “EventID 4226: TCP/IP has reached the security limit imposed on the number of concurrent TCP connect attempts” in Event Viewer error. Here’s a few tricks to avoid all these problems.1. Download latest version of eMule (http://www.emule-project.net/home/perl/general.cgi?l=1&rm=download) (currently at v0.47c or later). All future version of eMule later than version 0.47c will automatically support Windows Vista (http://www.amazon.com/gp/product/B000HCTYTE?ie=UTF8&tag=techgadgetrev-20&link_code=em1&camp=212341&creative=380613&creativeASIN=B000HCTYTE&adid=3f49bb89-3300-4804-a101-a8a31add7b8a) with full compatibility.

2. Install eMule out of the protected “Program Files” directory. By default, “Program Files” directory where all the programs normally are stored is protected against unauthorized write access, and Vista will redirect any write access to a virtual directory. This mechanism will affect eMule as its configuration files as well as downloads are stored there. The easy way out is by installing eMule in another folder outside to “Program Files”, such as “C:\eMule”. To do this, change the path installer suggest.

3. If you don’t want to install eMule in different location, the alternative is to change the folders storing incoming files and temporary files to an unprotected location. Vista has a default Downloads folder which is suitable to be assigned to eMule. To do so, open the Options page in eMule, select “Directories”, and then change “Incoming files” (or browse to the location or any place you like) to C:\Users\User Name\Downloads\ and “Temporary files” to C:\Users\User Name\Downloads\Temp. Replace User Name with the user ID used to log on to Vista.

4. To solve the issue eMule hitting the maximum half open concurrent connection limit in Vista, open the Options page in eMule, select “Extended” and then change “Max. half open connections” from 50 to any value between 1 to 9. Alternatively, download the tcpip.sys patch (http://www.mydigitallife.info/2007/04/09/windows-vista-tcpipsys-connection-limit-patch-for-event-id-4226/) for Vista to unlock the limit.

5. If you can’t see the minimize to tray button on some themes, it’s still possible to minimize eMule window to tray by clicking on system menu (the eMule icon on the top left corner of program window), and then select “Minimize to system tray”.
Alternatively, open Options page, select Display, and then enable (tick) the “Minimize to tray” setting to make all minimize action on standard button automatically minimize eMule to system tray.

6. It’s also possible to force eMule to run with highest execution level with full administrator’s rights so that eMule is allowed to write files to where it wants to without restriction. To do so, copy and paste the below code to a text editor (i.e. Notepad), and save the file as emule.exe.manifest inside the same directory with installed location of eMule.exe.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright © 1981-2001 Microsoft Corporation -->
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
processorArchitecture="x86"
version="5.1.0.0"
name="eMule"
type="win32"
/>
<description>eMule</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="highestAvailable"
uiAccess="false"
/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>


source (http://www.emule-project.net/home/perl/news.cgi?l=1&cat_id=10&b=0):emule-project.net


Microsoft has released Windows Vista and for those reckless enough to use it already with eMule, there are some steps to take in order to make eMule running smoothly on it. This only applies to eMule 0.47c and mods based on 0.47c, later eMule versions will have all of the following issues corrected already and do not need any special attention.
Vista protects the directory where programms are stored against unauthorized write access and redirects any write access to a virtual directory. This applies to eMule because currently its configuration files as well as downloads are stored there, so you might have trouble finding your downloads later. The easiest solution for now is to install eMule into a seperate directory, not located in the default programm folder. So if the installer suggests "C:\Program Files\eMule" change it to "C:\eMule" for example.
After installing, you need to correct one setting which eMule will not set properly on Vista. Run eMule, open the Options page, select "Extended" and then change "Max. half open connections" from 50 to 9. This is quite important.
On some themes you won't see the minimize to tray button. You can still minimize eMule to the tray bei either selecting this option from the system menu (the icon on the left side) or select on "Options" => "Display" the "Minimize to tray" setting, which will move the action to the standard minimize button.


To resolve problems with the tcpip.sys patch (http://www.mydigitallife.info/2007/04/09/windows-vista-tcpipsys-connection-limit-patch-for-event-id-4226/) and others
source: techrepublic

The correct method to activate the administer account in windows vista home editions (it will work in the others, however it is not necessary) is as follows:

Shut down the computer for a cold boot. Tap the "F8" key as you are booting.

Select "Safe Mode with networking" from the boot menu.

Log into windows Vista with your personal account that holds the administrator access.

Open a command window (START--->RUN--->CMD.exe). At the command prompt type the following "net user administrator /active".

And that’s it. Log out and log back in as administrator.

There are many file groups in vista that are owned by the system. I would suggest changing the ownership to administrator, and then securing the login with a password that is at least 128bit, and only use the login when needed for permission changes or restructuring of the OS.

I had many problems with resident spy ware that was just waiting for the administrator to access the system; I was fortunate that I always monitor the registry with new tasks and found it fast.

Vista may be a secure system ; which has been presented to the public as a virus safe operating system, however all the protection measures can drastically work against a user when they are used by unknowing hacker programmers consistent with the Storm Trojan programmers.

You will have a very tough time getting rid of viruses when these clandestine programmers understand the full lockout power of vista, and Microsoft’s new protected reserved partition.

So remember, if you are not an administrator, do use the account.

another way to patch the maximum half connections limit in vista
source: securevista.net
http://bp0.blogger.com/_PqI9QqUU5zo/RjYcs2JZbrI/AAAAAAAAApc/SycofXizE6w/s400/patch.jpg

As you may have noticed Microsoft still limits your half-open (incomplete/syn packets) connection attempts per second that the system can make. Microsoft Has done this since Windows XP Service Pack 2 to keep your computer from being used by dangerous programs such as Worms that scan the internet to infect more systems and to keep your computer from being a host of a Bot that connects to IRC that accepts commands to launch Distributed Denial Of Service Attacks (DDoS) against other people
and companies they do not like. Unfortunately For us and companies, this limit effects our internet by limiting the capability of P2P (Peer 2 Peer) applications like uTorrent, BitTorrent, BitComet, Azureus, BitSpirit, eMule (eDonkey network), BearShare, Direct Connect, DC++, ApexDC++ , or even P2PTV such as PPLive, PPStream, Sopcast, TVAnts, Peer to Peer, Web server, FTP, and many other applications we love to use but cannot take full advantage of. Basically, you will make uTorrent faster as well as all these other apps you need. So Speed up your Vista downloads, If you dont believe me try it and tell me what you think.


When the limit is hit, You will recieve a Notice in Event Viewer Saying:

EventID 4226: TCP/IP has reached the security limit imposed on the number of concurrent TCP connect attempts.

This means Vista Has maxed out our connect attempts.

I have compiled an Auto Patcher to take care of this for you, it patches tcpip.sys for vista 32 and vista 64

Contents of Readme.txt

Unpack the archive and run Patch32.bat (for x86) or Patch64.bat (for x64). Run UndoPatch.bat to uninstall concurrent half-open TCP/IP connection limit patch. Once installed you can have 70,000 half open connections, these connections are temp connections anyways, you can change the limit to any setting you want,
go to run and type in regedit and navigate to
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\
Parameters\]
"TcpNumConnections"=dword:00011170
and edit this value to whatever amount of connections you need. Btw these half open connections are called Syn packets

More information on TCP/IP @ wikipedia (http://en.wikipedia.org/wiki/SYN_%28TCP%29)http://www.softpedia.com/base_img/bwin_dwld.gif (http://www.softpedia.com/progDownload/TCP-IP-Limit-AutoPatch-Download-72536.html)


useful information about emule 0.48a+vista combination
source: MyDigitalLife

In conjunction with eMule 5th anniversary, eMule version 0.28a has been released. One of the most important feature in 0.48a release is improvement of program compatibility in Windows Vista. Prior to version 0.48a, eMule 0.47c or before has various glitches and problems when run in Vista, which has new security protection, and requires various workarounds to solve the issues. eMule 0.48a fixes some of these errors and improves support for Vista.Changelog on enhancements and bug fixes in eMule 0.48a that related to Vista:
If Vista is running with Aero, eMule will enable Minimize to Tray on Minimize by default (can be changed in the display options.
Sorting in the ipfilter dialog has been fixed on Vista.
Tooltips now have the proper size on Vista.
Sparse files have been disabled on Vista, due to a faulty / limited Vista implementation of them, which cannot be worked arround by eMule.
eMule now supports multi-user installations, which especially is supposed to fix the folder permission problems on Vista.
On Vista the half-open connection limit is now properly set to 9 by default (instead of 50).As mentioned, to tackle the virtual store protection mechanism in Vista, multi-user installation support has been introduced in eMule 0.48a. Thus, when you try to install eMule in Vista, current user specific folders (i.e C:\Users\user_name\Downloads\eMule\Temp and C:\Users\user_name\Downloads\eMule\Incoming) will be used by default, instead of placing these 2 folders inside Program Files directory.


Download latest version of eMule here (http://www.emule-project.net/home/perl/general.cgi?l=1&rm=download)

silent2k8
11-30-2007, 11:48 AM
Thx. nice

licinio
02-23-2008, 07:44 PM
nice

osn1020
03-05-2008, 02:16 PM
thx:)

0riGiNaLBoX
05-24-2008, 05:54 PM
thanks a lot