Security settings needed to elevate remote execution
Hello,I am trying to use psexec to run a cmd remotely. psexec -u admin -p ***** \\remote-machine \\remotecmdThe user acct I am passing is the local admin in both client and server and client process running the cmd is also the same user.The cmd works great in win2k3 but hangs for ever in win2k8(client and server).What is the security setting needed to get this working?(This works fine if I use system account, -s args)Thanks,SmithaSmitha Saligrama MSFT
July 2nd, 2009 3:17am
The sysinternals forums has some info on issues connecting to Windows Server 2008. They even mention a reg hack but mainly forVista. Theyalways mention that you need to be an admin to accomplish anything with psexec.exe. Can you see the process actually launching on the remote machine?
I would definitely get over to sysinternal forums, those guys are great with that product set.
http://forum.sysinternals.com/forum_topics.asp?FID=8
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2009 7:53am
Probably it may be a securiity block....the psexec works only if you have an active ADMIN$ on the target or an admin access right to the IPC$ on the target system...and also check if your ACL's allow them also check for the domain policy enforcement in place regarding the share access..hope u kno this....if in case u been through this before please post back...also check the SMB port access across the firewall.....and pls do let me know.....Regards,
KOWSHAL H.M.
a.k.a W@R10CK
July 2nd, 2009 11:05am
Hi, It sounds like a UAC issue. Please try to disable UAC and test. Please also test in Clean Boot. If the issue persists, its suggested to run Process Monitor to monitor psexec. You can also upload it to Skydrive and give us link to analyze. Thanks. This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2009 11:30am


