security disallows App from loading DLLs from directory

astropirit

New member
What security feature disallows applications from loading DLLs from their own directory?

I have two DLLs named ws2_32.dll and wsock32.dll. I also have an application that i want to utilize these two dlls rather then the ones in system32 but it apears that it doesn't. I ran a dependency scanner and found that in fact the application does load these two DLLs rather then the ones in system32 folder.

How i know its not working: the dlls are suppose to make a log file. It succeeded in making the log file on winXP but not Win7.
I found some one else having same problem but with vista but that could be fixed by doing the following:

'set the registry key "HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Image File Execution Options\DevOverrideEnable" to 1" '

However, i can't find the DevOverrideEnable field in my win7 registry. so upon the suggestions of some friends i added the field in manually and set the value that didnt work either.

What i have tried:
On Admin account
Run as Admin
Set compatibility to xp
take ownership
turn off all security features that i could get my hands on

all of that and no luck please advise.

Thank you,
Astropirit
 

My Computer

OS
windows 7
Check in C:\Users\[username]\AppData\Local\VirtualStore for your log files.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
i looked in there but nothing is there.

does the registry entry " HKLM\ SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs" have any thing to do with this problem? i tried taking off the dll with the same name off the list but it denied my permission.
 

My Computer

OS
windows 7
i looked in there but nothing is there.

does the registry entry " HKLM\ SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs" have any thing to do with this problem? i tried taking off the dll with the same name off the list but it denied my permission.

Could tell me what are those dll and what program they are related too ??
 

My Computer

Computer Manufacturer/Model Number
Samsung NP550P5C-S02IN
OS
Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
CPU
Intel® Core™ i7 Processor 3,610QM (2.30Hz, 6MB L3 Cach
Memory
8 GB
Graphics Card(s)
NVIDIA® GeForce® GT 650M 2GB Graphics, Optimus™ techno
Sound Card
SoundAlive™ JBL 3 Speakers (With sub-Woofer)
Monitor(s) Displays
39.62cm (15.6) SuperBright 300nit HD+ LED Display
Screen Resolution
1,600 x 900, Anti-Reflective
Hard Drives
1TB S-ATA II Hard Drive (5,400RPM)
Those DLLs are bassicaly pointer DLLs which i am using to make a tool for an application that is widly used but no longer supported. they are ws2_32.dll and wsock32.dll. the program is suppose to call these DLLs instead of the one in the system32 folder (which it does on my xp machine) and these DLLs create a packet log. basically recording the communication data between the application and a remote node. well that part is irrelevant, only telling because you asked.

I even ran 2 different dependency scanners on the applications and they tell me that the program will call the DLLs in the same directory which it apparently isn't, because if it did i would have the logs generated too.

Any suggestion would be very appreciated.
 

My Computer

OS
windows 7
The DLLs are made for Windows XP and not with Windows 7, is that correct?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
they were made IN windows xp but they are designed to work with all versions of windows. there is nothing in the code that would stop it from working with windows 7. as long as bot operating systems operate on the same bit number it doesn't really matter.
 

My Computer

OS
windows 7
Back
Top