Psexec Remote Execute file prompt denied access

Source: Internet
Author: User

Psexec Remote Execute file prompt denied access

1: First confirm that Group Policy is configured correctly

Run-secpol.msc-Local Policy-security options-network access: Sharing and security model for local accounts

Modify this to be a classic

Then refresh the Group Policy to make it effective

Run-cmd-gpupdate

Now it's time to try and see if there's an access denied problem.

If there is a second step that denies access

2: Open Network access for admin$

Run-cmd-net share admin$

NET share

Then run the net share again admin$ view the shared properties of admin$

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7A/C6/wKioL1a1R8Likw4xAAAhMoF3YyA542.png "title=" 1.png " alt= "Wkiol1a1r8likw4xaaahmof3yya542.png"/>

If the permissions shown are shown as READ

Need to change to full complete control mode

Now you need to manually change the permissions for C:\windows

First right click on the C:\Windows folder Select Share tab to cancel all sharing

And then reset the share

Share name is set to admin$

Notes for remote administration

Allow maximum number of users

Permissions-everyone-Full Control

Click Apply

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7A/C6/wKiom1a1SHrSx_-bAADT2ibSIyA138.png "title=" 2.png " alt= "Wkiom1a1shrsx_-baadt2ibsiya138.png"/>


Then use net share admin$ again to see if the permissions are correct

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7A/C6/wKioL1a1SPGAFwvzAAAk7NyTn08088.png "title=" 3.png " alt= "Wkiol1a1spgafwvzaaak7nytn08088.png"/>


Then run the psexec command test

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7A/C6/wKiom1a1SOKACbltAAAiaUOq8mo222.png "title=" 4.png " alt= "Wkiom1a1sokacbltaaaiauoq8mo222.png"/>

Psexec Remote Execute file prompt denied access

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.