→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Dmitry_Vorobev
Engaged Sweeper
Hi. Task

taskkill.exe /f /im opera.exe 1> c:\temp\taskkill_opera.log 2>&1

didnt work, it says access denided. Opera launched by user. Same result whit other processes e.g "calc.exe" and whit other commands e.g. "wmic process where "name='myprocessname.exe'" delete". Any one have idea?
5 REPLIES 5
steveb
Champion Sweeper
Domain admin should be good enough. Does it work using the system account option?
steveb wrote:
Domain admin should be good enough. Does it work using the system account option?


Working only when using the system account option, but script can not use network shares in this case.
Dmitry Vorobev wrote:
steveb wrote:
Domain admin should be good enough. Does it work using the system account option?


Working only when using the system account option, but script can not use network shares in this case.


Adjusting the permissions accordingly on the network shares should allow the script to run if that is permitted per your security policies. All of our deployments use the system account option without issue.
Dmitry_Vorobev
Engaged Sweeper
How can i do this? lansweeper scanning account in Domain Admin group, task executed whit scanning credentials.
steveb
Champion Sweeper
Have you tried with elevated credentials?