Allowing access to admin$ on NT4 -- getting

Allowing access to admin$ on NT4 -- getting "Access is Denied"

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Allowing access to admin$ on NT4 -- getting "Access is Denied" Maury Markowitz 11-17-2005
Posted by =?Utf-8?B?TWF1cnkgTWFya293aXR6 on November 17, 2005, 12:01 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
I'm trying to use psexec in order to automate a nightly process.
Unfortunately the process has to run on a NT4 machine and we all have XP,
which is why I would like to use psexec so the user doesn't have to move over
to the other machine.

psexec works by copying itself to the target machine using the admin$ share.
However it appears that this share is not accessable from the network on NT4!
For instance, if I simply do "dir \anxpmachine\admin$", I get the directory
as I would expect. When I run the same one on the NT4 boxes, I get "Access is
Denied".

So obviously I need to set the permissions for this share. So I went to that
machine, selected the folder (C:\winnt) and selected Sharing. Sure enough,
there's ADMIN$ in the list. However, when you click the Permissions button,
it responds with an error saying it's shared for admin purposes, and can't be
changed!

Anyone know the trick here?

Maury

Posted by Roger Abell [MVP] on November 17, 2005, 2:05 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
No trick.
Permissions for admin shares is fixed at Administrators Full Control.
You must have some other issue.
When you said
> For instance, if I simply do "dir \anxpmachine\admin$", I get the
> directory
> as I would expect. When I run the same one on the NT4 boxes, I get "Access
> is
> Denied".
it was not clear where this worked and not. Specify target machine
vs one in use for each attempt to clarify. Are you certain that the
account in use is granted network login rights on target machine ?
Are you within a domain using a domain account ?

> I'm trying to use psexec in order to automate a nightly process.
> Unfortunately the process has to run on a NT4 machine and we all have XP,
> which is why I would like to use psexec so the user doesn't have to move
> over
> to the other machine.
>
> psexec works by copying itself to the target machine using the admin$
> share.
> However it appears that this share is not accessable from the network on
> NT4!
> For instance, if I simply do "dir \anxpmachine\admin$", I get the
> directory
> as I would expect. When I run the same one on the NT4 boxes, I get "Access
> is
> Denied".
>
> So obviously I need to set the permissions for this share. So I went to
> that
> machine, selected the folder (C:\winnt) and selected Sharing. Sure enough,
> there's ADMIN$ in the list. However, when you click the Permissions
> button,
> it responds with an error saying it's shared for admin purposes, and can't
> be
> changed!
>
> Anyone know the trick here?
>
> Maury



Similar ThreadsPosted
Access is denied to some my folders. How to regain access? June 17, 2005, 7:38 am
Allowing Internet Access to Programs. September 2, 2005, 9:44 pm
DCOM - Allowing Remote Anonymous Access January 28, 2006, 7:46 pm
Allowing outside users access to company Intranet (anonymous) January 16, 2007, 10:39 am
Forcing Workstations to DHCP or Allowing Non-Admins Access to Alternate TCP/IP Config? October 24, 2007, 6:48 am
Denied access March 30, 2006, 3:49 pm
Help...access denied April 18, 2006, 4:14 pm
Access is Denied August 24, 2006, 9:05 pm
User-"Access Denied" October 5, 2005, 9:25 pm
Access denied in registry key October 31, 2005, 4:54 pm

The site map in XML format XML site map

Contact Us | Privacy Policy