Results 1 to 7 of 7

Thread: PSEXEC Access Denied

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2007
    Posts
    190

    PSEXEC Access Denied

    hello, im not sure where to put this but i have a problem with psexec.
    http://technet.microsoft.com/en-us/s.../bb897553.aspx

    i cant connect to a computer on the network because i recieve an access is denied message back.
    file and printer sharing is set to on on the computer i am connecting to, i have enabled remote desktop on that computer and i can access its shared documents through mine.
    I have read the comments here;
    http://windowsitpro.com/article/arti...19/psexec.html
    and
    http://forum.sysinternals.com/forum_posts.asp?TID=547
    on the second link, i see that admin share needs to be pointing to the windows folder, how can i do this?
    net use \\targetpc is a success so it can be accessed.

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: PSEXEC Access Denied

    this has nothing to do with VB.NET so shouldnt really be posted on this forum... but I'll try help just to be nice.

    Net Use \\targetpc does not prove that you can access a PC... all that proves is that you can access the visible share listing of a PC. Some shares can be hidden, these shares end with a $ symbol. The Admin share that you refer to is one of these such shares, the share name is actually \\targetpc\Admin$ not \\targetpc\Admin. On any windows XP professional PC this will already be setup though so I doubt its that that is causing you problems. Windows XP Home on the other hand does not have this share enabled by default, neither does it have the C$ share which I think PSEXEC might need to run as well.
    SO... first things first - Is the machine that you are trying to connect to running Windows XP Home or Windows XP Pro? Also, if its running Service Pack 2 for either of the OS's then you might need to turn the Windows Firewall off first.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Dec 2007
    Posts
    190

    Re: PSEXEC Access Denied

    Thanks chris.
    The computer i am trying to connect to is windows xp media center edition, and the pc i have is xp pro. Windows firewall is disabled because another one is being used, i should imagine it will give me a message when a connection is incomming.

  4. #4
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: PSEXEC Access Denied

    not always, some firewalls will just block anything coming in that you havent specifically allowed.
    As far as I know, Media Centre edition pretty much is XP home just with a couple of different icons and a few extra bits and bobs... so that is probably why you cant connect to it. Try it the other way round - from the Media Centre PC to the XP pro machine and just see if that works cos at least then that narrows down where the problem lies
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Dec 2007
    Posts
    190

    Re: PSEXEC Access Denied

    ok i just used a third pc with xp home on to connect to my xp professional pc. i had the firewall disabled on my pc and it still didnt work (access denied)
    All computers are on the same workgroup.
    thanks

  6. #6
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: PSEXEC Access Denied

    OK paste the exact PSEXEC command that you are using
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Dec 2007
    Posts
    190

    Re: PSEXEC Access Denied

    okay
    it is
    Code:
    psexec \\steve cmd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width