A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Security and Administration with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

What permissions do I need to use admin$ ?



 
 
Thread Tools Display Modes
  #1  
Old November 29th 05, 04:22 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

I'm trying to mount admin$ of one of our NT Server machines onto my XP
machine. I do not have permissions to do so, but I can't find the permissions
I'd need.

admin$'s own permissions cannot be set (or so it appears) because "This has
been shared for administrative purposes. The permissions cannot be set."

So how do I get permissions?

Maury
Ads
  #2  
Old November 29th 05, 04:31 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

Maury Markowitz wrote:
I'm trying to mount admin$ of one of our NT Server machines onto my XP
machine. I do not have permissions to do so, but I can't find the
permissions I'd need.

admin$'s own permissions cannot be set (or so it appears) because
"This has been shared for administrative purposes. The permissions
cannot be set."

So how do I get permissions?

Maury


If in a domain you need domain admin permissions. If in a workgroup then you
must be a administrator on that machine.

Why would you want to mount admin$? I can't think of any reason to do this.
At best if you need temporary access you should use Start == Run ==
\\server_name\c$ or whatever drive you need access to. If you need permanent
access to the root of a system drive then something is not right with your
overall network security plan.

Kerry


  #3  
Old November 29th 05, 04:42 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

"Kerry Brown" wrote:

If in a domain you need domain admin permissions. If in a workgroup then you
must be a administrator on that machine.


It is on a domain, I am a domain admin of another domain. I am attempting to
add rights for those domain admins to have access to admin$.

Why would you want to mount admin$?


PsExec requires access to admin$. I'm not so much trying to mount it as
figure out why PsExec always gives me "access is denied". using net use
admin$ also gives me "access is denied". The two are almost certainly caused
by the same problem.

Maury
  #4  
Old November 29th 05, 05:03 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

Maury Markowitz wrote:
"Kerry Brown" wrote:

If in a domain you need domain admin permissions. If in a workgroup
then you must be a administrator on that machine.


It is on a domain, I am a domain admin of another domain. I am
attempting to add rights for those domain admins to have access to
admin$.

Why would you want to mount admin$?


PsExec requires access to admin$. I'm not so much trying to mount it
as figure out why PsExec always gives me "access is denied". using
net use admin$ also gives me "access is denied". The two are almost
certainly caused by the same problem.

Maury


You may need to specify an account that will work with the -u and -p
switches. See the following link for usage and axamples.

http://www.windowsitpro.com/Windows/...919/42919.html

Alternatively you could logon as a domain admin in the same domain as the
server. Another method would be to logon as an Enterprise Admin. Obviously
running a program as an Enterprise Admin is a security risk that should be
avoided if at all possible. What are you trying to accomplish with psexec?

Kerry


  #5  
Old November 29th 05, 05:36 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

"Kerry Brown" wrote:

What are you trying to accomplish with psexec?


All I need to do is run a batch file. The batch file spawns an interactive
application that imports data into a db. The morons that wrote it included a
"batch mode", but it nevertheless displays both a splash screen as well as a
dialog box saying it's complete.

I have tried every possible tool I can think of...

"at" fails because the application appears to be setting the working
directory, which for some reason is not allowed. at runs as the logged in
user, which in this case is the admin.

rcmd fails because on this machine any attempt to run with "allow access to
desktop", which is required for an interactive app, fails with an error about
kernel32.dll failing to initialize. MS has a tech note on this error, but it
does not describe how to fix it in terms I can understand.

psexec fails as I mentioned, with an "Access is denied".

However, I have made progress with psexec. By simply using:

psexec \\server cmd

....with no user or pass I _was_ able to run cmd! However when I ran the
batch file in question, psexec never returns from the importer program. I
assume it is "frozen" waiting for the user to click something which is not
visible on the screen.

This shouldn't be this hard! Am I overlooking some other solution?

Maury
  #6  
Old November 29th 05, 05:57 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

Only an administrator can access that share which is full control access to
the systemroot folder and is hard coded by the operating system. If you have
a real need to do such then you will have to use credentials for a user
account that is an administrator on the target computer. If you do not need
full control then you can create your own share with the access needed.---
Steve

http://support.microsoft.com/default...314984&sd=tech ---
info on administrative shares


"Maury Markowitz" wrote in
message ...
I'm trying to mount admin$ of one of our NT Server machines onto my XP
machine. I do not have permissions to do so, but I can't find the
permissions
I'd need.

admin$'s own permissions cannot be set (or so it appears) because "This
has
been shared for administrative purposes. The permissions cannot be set."

So how do I get permissions?

Maury



  #7  
Old November 29th 05, 05:59 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

More playing, more progress...

Using PsExec I can now get cmd to run with the -i flag, which makes the
screen on the server. When I run my batch file I get a dialog saying "Error
attempting to set the system's working directory". Whoa, same error I get
when running "at".

Hmmm, maybe this is closer to working after all!

Maury
  #8  
Old November 29th 05, 06:01 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

You do not need to be a domain administrator unless the server in question
is a domain controller which the user did not clarify. While domain admins
global group is in the local administrators group of a domain computer by
default any domain user account can be added or the credentials of any user
in the local administrators group can be used including the built in
administrator account.. --- Steve


"Kerry Brown" *a*m wrote in message
...
Maury Markowitz wrote:
I'm trying to mount admin$ of one of our NT Server machines onto my XP
machine. I do not have permissions to do so, but I can't find the
permissions I'd need.

admin$'s own permissions cannot be set (or so it appears) because
"This has been shared for administrative purposes. The permissions
cannot be set."

So how do I get permissions?

Maury


If in a domain you need domain admin permissions. If in a workgroup then
you must be a administrator on that machine.

Why would you want to mount admin$? I can't think of any reason to do
this. At best if you need temporary access you should use Start == Run
== \\server_name\c$ or whatever drive you need access to. If you need
permanent access to the root of a system drive then something is not right
with your overall network security plan.

Kerry




  #9  
Old November 29th 05, 09:25 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

Steven L Umbach wrote:
You do not need to be a domain administrator unless the server in
question is a domain controller which the user did not clarify. While
domain admins global group is in the local administrators group of a
domain computer by default any domain user account can be added or
the credentials of any user in the local administrators group can be
used including the built in administrator account.. --- Steve


Good point. That is probably the best option, to add the domain user account
to the local administrators group.

Kerry


"Kerry Brown" *a*m wrote in message
...
Maury Markowitz wrote:
I'm trying to mount admin$ of one of our NT Server machines onto my
XP machine. I do not have permissions to do so, but I can't find the
permissions I'd need.

admin$'s own permissions cannot be set (or so it appears) because
"This has been shared for administrative purposes. The permissions
cannot be set."

So how do I get permissions?

Maury


If in a domain you need domain admin permissions. If in a workgroup
then you must be a administrator on that machine.

Why would you want to mount admin$? I can't think of any reason to do
this. At best if you need temporary access you should use Start ==
Run == \\server_name\c$ or whatever drive you need access to. If
you need permanent access to the root of a system drive then
something is not right with your overall network security plan.

Kerry




  #10  
Old November 29th 05, 09:27 PM posted to microsoft.public.windowsxp.security_admin
external usenet poster
 
Posts: n/a
Default What permissions do I need to use admin$ ?

Maury Markowitz wrote:
"Kerry Brown" wrote:

What are you trying to accomplish with psexec?


All I need to do is run a batch file. The batch file spawns an
interactive application that imports data into a db. The morons that
wrote it included a "batch mode", but it nevertheless displays both a
splash screen as well as a dialog box saying it's complete.

I have tried every possible tool I can think of...

"at" fails because the application appears to be setting the working
directory, which for some reason is not allowed. at runs as the
logged in user, which in this case is the admin.

rcmd fails because on this machine any attempt to run with "allow
access to desktop", which is required for an interactive app, fails
with an error about kernel32.dll failing to initialize. MS has a tech
note on this error, but it does not describe how to fix it in terms I
can understand.

psexec fails as I mentioned, with an "Access is denied".

However, I have made progress with psexec. By simply using:

psexec \\server cmd

...with no user or pass I _was_ able to run cmd! However when I ran
the batch file in question, psexec never returns from the importer
program. I assume it is "frozen" waiting for the user to click
something which is not visible on the screen.

This shouldn't be this hard! Am I overlooking some other solution?

Maury


Did you see Steven L Umbach's post? Adding your domain account to the local
administrators group on the server might work.

It's been a long time since I used NT4 and I've never used psexec so I'm out
of ideas.

Kerry


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
c:\ drive permissions [email protected] General XP issues or comments 6 June 28th 05 10:49 AM
Help!!! I get "Access Denied" message ......... chetttyson Security and Administration with Windows XP 10 December 3rd 04 04:39 AM
Registry permissions defaults cpnet Security and Administration with Windows XP 4 August 16th 04 07:10 PM
create new folder and the new vs inherited permissions Dov P Windows XP Help and Support 0 July 30th 04 11:10 AM
create new folder and the new vs inherited permissions Dov P Windows XP Help and Support 0 July 30th 04 05:46 AM






All times are GMT +1. The time now is 10:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.