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?
9 7247
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 - net use \\172.18.28.65\Admin$ /user:Admin
Luck!
Oralloy
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...
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?
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 !!!
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.
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.
Any luck resolving the core issue here?
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.
Thanks for letting me know.
Cheers!
Oralloy
Sign in to post your reply or Sign up for a free account.
Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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....
|
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
|
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...
| |