using PSexec on win2008 or later
psexec still tries to access the ADMIN$ share with your local credentials, before executing your command as another user. You can cache credentials before executing psexec:
#create credentials cmdkey.exe /add:MACHINE_NAME_HERE /user:MACHINE_NAME_HERE\Administrator /pass:PASSWORD_HERE
#run psexec, but be sure to have latest version (download) psexec.exe \\MACHINE_NAME_HERE -u domain\administrator -p password -h cmd #delete credentials cmdkey.exe /delete:MACHINE_NAME_HERE switch ( -h )
If the target system is Vista or higher, has the process run with the account's elevated token, if available.