Saifuddinit 1 Posted February 24 Share Posted February 24 HI We need your support through ESET Command we deployed VPN Cetrifiacte to the user directory but it is not working I am using the batch file from ESET Console management can you please help me how to use Link to comment Share on other sites More sharing options...
Administrators Marcos 4,919 Posted February 24 Administrators Share Posted February 24 The command is run in the local system account so please try executing it via "psexec /s call ... \script.bat" and see if it runs well. Link to comment Share on other sites More sharing options...
Saifuddinit 1 Posted February 24 Author Share Posted February 24 Still the same please find attachment Link to comment Share on other sites More sharing options...
Administrators Marcos 4,919 Posted February 24 Administrators Share Posted February 24 You have misunderstood me. Please run psexec locally on the machine where you want the script to run. Do not run it via Run command. Link to comment Share on other sites More sharing options...
Saifuddinit 1 Posted February 24 Author Share Posted February 24 Hi Marcos Are you confused when I run the local system this batch file is working fine but through ESET console command is not working and task is showing successfully but client side not impact Link to comment Share on other sites More sharing options...
Administrators Marcos 4,919 Posted February 24 Administrators Share Posted February 24 3 minutes ago, Saifuddinit said: Are you confused when I run the local system this batch file is working fine but through ESET console command is not working and task is showing successfully but client side not impact Did you run "psexec /s call ... \script.bat" locally on the machine? Link to comment Share on other sites More sharing options...
Saifuddinit 1 Posted February 24 Author Share Posted February 24 Locally this command not wokring Link to comment Share on other sites More sharing options...
Administrators Marcos 4,919 Posted February 24 Administrators Share Posted February 24 16 minutes ago, Saifuddinit said: Locally this command not wokring Most likely the problem is that the local system account does not have permissions for the remote share. If psexec doesn't run the script locally, it won't work via the Run command task either. Link to comment Share on other sites More sharing options...
TvM 4 Posted February 24 Share Posted February 24 22 minutes ago, Saifuddinit said: Locally this command not wokring You need to loose the quotes Link to comment Share on other sites More sharing options...
Saifuddinit 1 Posted February 24 Author Share Posted February 24 (edited) Hello Marcos But How come if Make a batch file when I click that file it is working fine so this task also should work right and if there user permission issue then this batch file also not work Edited February 24 by Saifuddinit Link to comment Share on other sites More sharing options...
Administrators Marcos 4,919 Posted February 24 Administrators Share Posted February 24 Do you mean that if you run the batch file from a network share via psexec.exe /s it works? Before you wrote it didn't work. Link to comment Share on other sites More sharing options...
Saifuddinit 1 Posted February 24 Author Share Posted February 24 I mean if I click direct that batch file without any issue it is working That file I am not using PSEXEC.exe command direct run through Batch file Link to comment Share on other sites More sharing options...
Administrators Marcos 4,919 Posted February 24 Administrators Share Posted February 24 You must use psexec /s to simulate execution by a Run command task which is executed in the local system account and not under the current user which happens when you run the batch file without using psexec. Link to comment Share on other sites More sharing options...
Saifuddinit 1 Posted February 24 Author Share Posted February 24 Hi Marcos if i will keep batch file not network I just test purpose i did same system i have follow process but even not working as below link https://help.eset.com/protect_admin/80/en-US/client_tasks_run_command.html Link to comment Share on other sites More sharing options...
Administrators Marcos 4,919 Posted February 25 Administrators Share Posted February 25 14 hours ago, Saifuddinit said: if i will keep batch file not network I just test purpose i did same system i have follow process but even not working as below link https://help.eset.com/protect_admin/80/en-US/client_tasks_run_command.html You must first make it work locally with "psexec /s" to make sure the batch file runs alright under the local system account without being triggered by ESET. Sharing the share for the computer should make it work, e.g. according to https://learn.microsoft.com/en-us/answers/questions/793838/system-account-can-access-shares-without-explicit Link to comment Share on other sites More sharing options...
Recommended Posts