Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

PsTools : UNC path - access denied - PSExec

$
0
0
Author: VitasLoWang
Subject: UNC path - access denied - PSExec
Posted: 30 April 2015 at 1:09pm

Hello. After 5 years this is still not fixed? :o Or did I just fail to find the obvious solution? :)
this is what I get if I try to use UNC path in psexec on a Windows server 2008:

C:\Users\czz60828>psexec \\sto00-mstst \\sto01-ms035\c$\Users\czz60828\scripty\timesync.exe

PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com


PsExec could not start \\sto01-ms035\c$\Users\czz60828\scripty\timesync.exe on sto00-mstst:
Access is denied.

C:\Users\czz60828>psexec \\sto00-mstst cmd.exe /c \\sto01-ms035\c$\Users\czz60828\scripty\timesync.exe

PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Access is denied.
cmd.exe exited on sto00-mstst with error code 1.

C:\Users\czz60828>psexec \\sto00-mstst -c _runfile1.cmd

PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

C:\Windows\system32>copy \\sto01-ms035\c$\Users\czz60828\scripty\timesync.exe c:\temp\
Access is denied.
_runfile1.cmd exited on sto00-mstst with error code 1.

on Windows server 2003 it works and does not do access denied. All servers are in one domain and the commands work if I run them directly on a server via remote desktop connection, so what can be the problem here? 
Network access: Sharing and security model for local accounts = Classic - local users authenticate as themselves.


Edited by VitasLoWang - 16 hours 10 minutes ago at 1:10pm

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>