Hello
I am trying to execute batch file on server from another computer.
I tried to execute using PsTool. command as follow
PSTools\PsExec.exe \\Serverip C:\FolderName\FileName.bat
It worked successfully.
But When I tried to execute same command from another machine it says that access denied.
I tried sharing and unsharing folder on server also passing user and password by -u user -p password.
Its working on my machine without shared forder and without passing username and password, But not working from another machine with keeping forder shared and also passing user and password
please write me if anyone knows.
I am trying to execute batch file on server from another computer.
I tried to execute using PsTool. command as follow
PSTools\PsExec.exe \\Serverip C:\FolderName\FileName.bat
It worked successfully.
But When I tried to execute same command from another machine it says that access denied.
I tried sharing and unsharing folder on server also passing user and password by -u user -p password.
Its working on my machine without shared forder and without passing username and password, But not working from another machine with keeping forder shared and also passing user and password
please write me if anyone knows.