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