HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > XP Networking

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 01-28-2009, 06:30 PM
IT Guy
Guest
 
Posts: n/a
Default Prevent Windows Explorer DLL Searching in UNC home Folder?

I'm investigating some response issues with Windows Explorer when a user's
home drive is mapped to a network share. During my network captures I see
that if I launch a local program, such as Calculator or Word 2003, that it
performs several queries to my home drive looking for wshenv.dll.

If I'm in Windows Explorer and click on an Excel file to open it, for
example, then I see several queries for shell32.dll in my home directory.

I've enabled the safedllsearchmode and safeprocesssearchmode, but I'm still
seeing these DLL queries. In addition I enabled the StartRunNoHomePath option
as well. However, per KB 264061 if the HOMEDRIVE path is defined it will
still be searched. I confirmed this variable is defined, which explains why
this didn't help prevent the searches.

This also seems to present some security risk, as a user could place a DLL
in their home folder and Explorer would possibly run it given that it
searches there very frequently.

One of our goals is to minimize WAN traffic. And as far I can tell, these
queries are not useful and just put extra traffic on the WAN whenever anyone
starts a program or clicks on a file.

Any ideas on putting a damper on all DLL searches in a user's home folder?
This is with Windows XP SP2 in a domain environment.
Reply With Quote
Sponsored Links
  #2  
Old 01-29-2009, 06:25 PM
Lanwench [MVP - Exchange]
Guest
 
Posts: n/a
Default Re: Prevent Windows Explorer DLL Searching in UNC home Folder?

IT Guy <ITGuy@discussions.microsoft.com> wrote:
> I'm investigating some response issues with Windows Explorer when a
> user's home drive is mapped to a network share. During my network
> captures I see that if I launch a local program, such as Calculator
> or Word 2003, that it performs several queries to my home drive
> looking for wshenv.dll.
>
> If I'm in Windows Explorer and click on an Excel file to open it, for
> example, then I see several queries for shell32.dll in my home
> directory.
>
> I've enabled the safedllsearchmode and safeprocesssearchmode, but I'm
> still seeing these DLL queries. In addition I enabled the
> StartRunNoHomePath option as well. However, per KB 264061 if the
> HOMEDRIVE path is defined it will still be searched. I confirmed this
> variable is defined, which explains why this didn't help prevent the
> searches.
>
> This also seems to present some security risk, as a user could place
> a DLL in their home folder and Explorer would possibly run it given
> that it searches there very frequently.
>
> One of our goals is to minimize WAN traffic. And as far I can tell,
> these queries are not useful and just put extra traffic on the WAN
> whenever anyone starts a program or clicks on a file.
>
> Any ideas on putting a damper on all DLL searches in a user's home
> folder? This is with Windows XP SP2 in a domain environment.


I'm not really sure I see where the problem is, but why not stop using home
directories entirely? You don't need them anymore - they're archaic. Just
use folder redirection. See

How to dynamically create security-enhanced redirected folders by using
folder redirection in Windows 2000 and in Windows Server 2003
\http://support.microsoft.com/kb/274443

....although I'm not sure where the WAN enters into it. You should have the
home directories or redirected folders going to a local server.


Reply With Quote
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
preventing Windows Explorer address bar from searching Ideas Live Windows XP 5 08-07-2008 03:46 PM
Windows explorer timing out when searching for files accross a slo Bryn Windows XP 0 02-29-2008 10:57 AM
problem: dbl clicking windows explorer folder opens new folder Rickyroma Windows XP 1 02-12-2008 02:41 AM
Searching for strings in Vista using Windows Explorer doesn't seem to work Celegans Windows Vista 4 07-24-2007 06:42 PM
How could I prevent Windows XP from counting the size of dir in Windows Explorer? billdavidcn@gmail.com Windows XP 1 07-01-2007 01:14 AM


All times are GMT. The time now is 09:16 AM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger