The problem of psexec and its solution

Source: Internet
Author: User

C:\>psexec.exe \\192.168.1.142 cmd

PsExec v1.98-execute processes remotely
Copyright (C) 2001-2010 Mark Russ Inovich
sysinternals-www.sysinternals.com

couldn ' t access 192.168.1.142:
Logon failed: Unknown user name or bad password.

c:\>psexec.exe \\192.168.1.142 cmd-u administrator-p

Yang PsExec V1.98-execute Processes remotely
Copyright (C) 2001-2010 Mark Russinovich
sysinternals-www.sysinternal s.com

couldn ' t access 192.168.1.142:
Logon failed: Unknown user name or bad password.

c:\>


On the 192.168.1.142, modify a configuration as follows:


To "classic"


Again PsExec:


C:\>psexec.exe \\192.168.1.142 cmd

PsExec v1.98-execute processes remotely
Copyright (C) 2001-2010 Mark Russ Inovich
sysinternals-www.sysinternals.com

couldn ' t access 192.168.1.142:
The network name could not be found. Make

sure this default admin$ share is enabled on 192.168.1.142.

C:\>


Open admin Share on 192.168.1.142:


C:\>net share

share name   resource                        annotation

------------------------------------------------------------------- ------------
ipc$                                         remote IPC
command completed successfully.


c:\>net share admin$
admin$ shared success.


c:\>net share

share name   resource                        annotation

---------------------------------------------------------- ---------------------
admin$       C:\WINDOWS                      remote management
ipc$                                         remote IPC
command completed successfully.


c:\>

Again PsExec:


C:\>psexec.exe \\192.168.1.142 cmd

PsExec v1.98-execute processes remotely
Copyright (C) 2001-2010 Mark Russ Inovich
sysinternals-www.sysinternals.com


Microsoft Windows XP [version 5.1.2600]
(C) All rights reserved 1985-2001 Microsoft Corp.

C:\windows\system32>

It worked.


Summarize:

1, CONFIGURED as "classic"

2, open admin share

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.