473,320 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Enabling $Admin share on windows 7

ashitpro
542 Expert 512MB
I have windows 7 setup with ip 172.18.28.65
I have also enabled the $Admin share.

If I hit following command from my XP machine(172.18.28.59)

net use \\172.18.28.65\Admin$ /user:Admin

everything works perfectly.

Now, if I telnet to windows 7.
telnet 172.18.28.65

and hit:

net use \\127.0.0.1\Admin$ /user:Admin

then it gives access denied error.

It may sound crazy, but I need this to run psexec smoothly.

Any help?
Oct 12 '10 #1
9 7247
Oralloy
985 Expert 512MB
You might check your permissions on the share, Ashit.

I've been bitten by that sort of thing more than once. There are some subtle things that creep in.

Also, can you issue the first command from the Windows7 machine successfully? Which is to say, do the telnet, and issue
Expand|Select|Wrap|Line Numbers
  1. net use \\172.18.28.65\Admin$ /user:Admin
Luck!
Oralloy
Oct 12 '10 #2
ashitpro
542 Expert 512MB
thanks for reply,
I tried that command after telnet. It still shows me access denied. Like I said, from remote machine it works like a charm. By the way, how should I check the Admin share permission. Sorry for being naive, but you know I am not a windows person. Help me...
Oct 12 '10 #3
Oralloy
985 Expert 512MB
If you know where Admin$ maps into the file system, you can right-click on the folder that it maps into. On the dialogue that pops up, there should be a "shares" tab. Then you'll have to use your native smarts to look deeper from there.

If Admin$ is a service or some such, we're beyond my basic knowledge, and I'll have to step back.

Have you tried googling the problem, too?
Oct 12 '10 #4
ashitpro
542 Expert 512MB
I believe I've solved this mess.
All we have to do is instead of using 127.0.0.1 or localhost or real ip, use computer name, in my case its 'win_7_32_test'. 'net use' as well as psexec is working fine

What a shame !!!
Oct 12 '10 #5
Oralloy
985 Expert 512MB
Ash,

Thanks so much for giving me that feedback. Hopefully I'll not find myself in a similar state, but if I do, I'll be prepared.

I can understand how that might work. Windows will route the I/O over a local NETBUI channel or something, rather than across TCP/IP.

Grrrrr.
Oct 12 '10 #6
ashitpro
542 Expert 512MB
Also, if there is no way that one could use netbios names and has to use 127.0.0.1, we have to disable UAC in windows 7.
Oct 13 '10 #7
Oralloy
985 Expert 512MB
Any luck resolving the core issue here?
Oct 18 '10 #8
ashitpro
542 Expert 512MB
Actually, I was not able to run psexec and start my batch script remotely. I read somewhere that you have to enable the Admin share. So I was stuck enabling that share.

But like I said, when I disabled the UAC in windows 7. everything started working fine. Admin share as well as PsExec.
Oct 20 '10 #9
Oralloy
985 Expert 512MB
Thanks for letting me know.

Cheers!
Oralloy
Oct 20 '10 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: timothy.williams | last post by:
Hello all. We don't have admin privs on our Windows boxes, but I'd like to be able to install a package built using distutils. I was able to install Python without admin, but when I tried to run...
1
by: John Grandy | last post by:
I perform File.Copy("\\machine1\c$\dir1\file1.txt","\\machine2\c$\dir1\file1.txt",true) file1.txt shows up on machine2 with the "Read Only" attribute set Does anyone know how to prevent this...
8
by: Pete Wittig | last post by:
Hello, I am wondering if it is possible to create a networked application with C# that is seen as a windows user. For example, if Bob logged onto windows and then started the application, any...
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
4
by: Matt Dockerty | last post by:
Hi, I'm trying to connect to a network share using a username / password / domain of my choosing. I've tried the WindowsIdentity.Impersonate route but can only impersonate the users on the...
2
by: yxq | last post by:
Hello I want to create and delete the folder share, i found that it is ok for generic folder, but it does not work for Root directory(i.e c:\, d:\) The code...
1
by: Anand G | last post by:
All, How do I share Windows folder programatically? Which namespace/class to look for? Thanks in advance for your help. regards, Anand
0
by: John Fleming | last post by:
Hello, I am building a web application with the following components: 2 Web Servers - Windows Server 2003 - IIS 6 - .Net Framework version 2.0 - Reside in Domain A 2 Clustered Database...
0
by: | last post by:
Hey all, i am writing a windows service application that uses QBFC6 to connect to QuickBooks.i can run the application fine on my local machine that uses windows xp.but when i try to connect to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.