Re: Access Denied - weird problem.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: kipper5 (kipper5_at_discussions.microsoft.com)
Date: 10/23/04


Date: Sat, 23 Oct 2004 16:51:02 -0700

I've had exactly the same problem, and Hans-George's site sorted it - after
16 hours trying everything I could think of and find.

Go to his site, or try this:

You have all the following symptoms:

You can ping the computer by IP and by name.
When you type: net view \\computername, you get the error message, "Error 5:
You do not currently have access to this file. The file may be marked
read-only, or it may be part of a shared resource such as a folder, a named
pipe, a queue, or a semaphore. You can use the ATTRIB command to change the
read-only attribute, or try again later when the file may be available."
This is in some cases caused by a registry setting named RestrictAnonymous.
Go to the computer which you cannot access, start a registry editor and
change the following registry value.

HKEY_LOCAL_MACHINE
 \SYSTEM
  \CurrentControlSet
   \Control
    \Lsa
Value name: RestrictAnonymous
Value type: DWORD

If the value is 1 or even 2, change it to 0, reboot and retest. If the
problem is solved, leave the value at zero. If not, you can change it back if
you like.

Background: RestrictAnonymous controls whether null sessions, sessions that
work without any authentication and use the permissions of the groups
Everyone and NETWORK, are allowed (value 0) or disallowed (value 1). The
value 2 is obsolete for Windows XP.

Don't mistake this for the value named restrictanonymoussam, which controls
null session SAM account name listings.

The man is a GENIUS!

"Patrifick" wrote:

> This was my first post, regarding my problem and I am using this newsgroup
> first time as well. There might be an misanderstanding.
>
>
> "Hans-Georg Michna" wrote:
>
> > On Sat, 16 Oct 2004 04:11:01 -0700, Patrifick
> > <Patrifick@discussions.microsoft.com> wrote:
> >
> > >...
> >
> > You never replied to my previous message, which contains the
> > solution to your problem. Why is that?
> >
> > Just curious, because I want to understand better how the web
> > page works or fails.
> >
> > Hans-Georg
> >
> > --
> > No mail, please.
> >



Relevant Pages

  • Re: Host Computer with ICS cannot be accessed
    ... This is in some cases caused by a registry setting named RestrictAnonymous. ... RestrictAnonymous controls whether null sessions, ... Don't mistake this for the value named restrictanonymoussam, ...
    (microsoft.public.windowsxp.network_web)
  • Re: denied access from main computer
    ... This is in some cases caused by a registry setting named RestrictAnonymous. ... RestrictAnonymous controls whether null sessions, ... Don't mistake this for the value named restrictanonymoussam, ...
    (microsoft.public.windowsxp.network_web)
  • RE: access denied
    ... > This is in some cases caused by a registry setting named RestrictAnonymous. ... RestrictAnonymous controls whether null sessions, ... > Don't mistake this for the value named restrictanonymoussam, ...
    (microsoft.public.windowsxp.network_web)
  • Re: denied access from main computer
    ... > This is in some cases caused by a registry setting named RestrictAnonymous. ... RestrictAnonymous controls whether null sessions, ... > Don't mistake this for the value named restrictanonymoussam, ...
    (microsoft.public.windowsxp.network_web)
  • Re: Cannot access computer on 3 PC network
    ... This is in some cases caused by a registry setting named RestrictAnonymous. ... RestrictAnonymous controls whether null sessions, ... Don't mistake this for the value named restrictanonymoussam, ... A wireless notebook and another wireless desktop. ...
    (microsoft.public.windowsxp.network_web)