Author: sail23
Subject: psexec Object Handle failure error
Posted: 24 July 2014 at 4:14pm
I'm attempting using psexec with alternate credentials (-u and -p) to remotely connect to another Windows7 computer in my environment. I am logged in to the source device as an ID that does NOT have Admin rights on the remote device, but the alternate user ID I am designating with psexec definitely does.
When I execute the test command: psexec -e -s \\{remotedevicename} cmd.exe -u {uid} -p {password}, I receive the error "Could not start PSEXECSVC service on {remotedevicename}: Access is denied".
When I look at the remote system event log after the failure, I see two successful 5145 events referencing the alternate user ID and one 4656 "A handle to an object was requested" FAIL event that references the user ID that i am logged into the source system with.
If I am using alternate credentials via the -u and -p switches, why is psexec passing through my logged in user ID to the remote system and trying to use it to open an object handle? Does anyone have any thoughts on this?
Thanks!
Subject: psexec Object Handle failure error
Posted: 24 July 2014 at 4:14pm
I'm attempting using psexec with alternate credentials (-u and -p) to remotely connect to another Windows7 computer in my environment. I am logged in to the source device as an ID that does NOT have Admin rights on the remote device, but the alternate user ID I am designating with psexec definitely does.
When I execute the test command: psexec -e -s \\{remotedevicename} cmd.exe -u {uid} -p {password}, I receive the error "Could not start PSEXECSVC service on {remotedevicename}: Access is denied".
When I look at the remote system event log after the failure, I see two successful 5145 events referencing the alternate user ID and one 4656 "A handle to an object was requested" FAIL event that references the user ID that i am logged into the source system with.
If I am using alternate credentials via the -u and -p switches, why is psexec passing through my logged in user ID to the remote system and trying to use it to open an object handle? Does anyone have any thoughts on this?
Thanks!