sasha2002 Blog's

Just another blog from admin's

fix psexec hang on remote connect —

1. Add this reg key on target:
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

2. Disable firewall (note – this will leave you with out any firewall protection)
netsh advfirewall set allprofiles state off

3. If target user has a blank PW and you don’t want to add one, run on target:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa] "LimitBlankPasswordUse"=dword:00000000

4.Execute on target :
Start -> Run -> secpol.msc -> Local Policies -> Security Options -> Network Access: Sharing > and security model for local accounts > Classic – local users authenticate as themselves
if already in ‘Classic’:
move to “Guest only – ..” run from elevated command prompt gpupdate \force move back to ‘Classic – ..” again run from elevated command prompt gpupdate \force
This one solved my issue:

P.S.
If you have some errors please look at established connections (on target from elevated command prompt):
1. Run
net use
look at output chart and for shares listed in remote column there
2. Run
net use [remote path from before list] /delete
3. Then run
net use \target\Admin$ /user:[user name]
enter prompted password request (if empty PW just press enter)


Categorised as: Windows

Comments are disabled on this post


Comments are closed.