you could try the following:
map the network drive to the remote system.
copy down the batch or using echo make on on the client system.
set up a scheduled task using the at command to start the batch at the desired time.
remove the mapped network drive and move on the the next system.
rinse and repeat
or you could ask the domain admin to set up a service account to use fro the PSexec commands.
Dear wbrost,
I have created batch file on my server m/c, The operation of my batch file is like this,
1) I have log file in my server which records client login logout time, For particular user if the logout log is not exist(means application is still on & it is consuming license from the license server) then i am reading the clients last login time & date,
2) Checking the date & time difference with current date & time
3) If the time difference is greater than 8 hrs & date difference is greater than 1 day
4) Then, copy the killprocess.bat file from server to client machine & execute that batch file on client machine remotely to kill that perticular process.
-----
killprocess.bat file has one liner code,
cd\
taskkill /F /IM processname.exe
------
Issues/ Problem i am facing are,
1) for copying killprocess.bat from server to client machine requires shared folder on client pc. as said earlier my domain restrictions doesn't allow me to share folders in client pc.
2) even if i manage to copy the killprocess.bat file somehow, for executing that batch file remotely using PSEXEC command also requires the shared path where the killprocess.bat is located - How can i execute process remotely without having shared folder in client pc? is there any alternate to execute batch file remotely?
I thing now i have explained my problem in more detailed.
Eagarly waiting for the reply, Thanks in advance.