I already tried several modes
taskkill /f /IM chrome.exe /fi "SERVIDOR\Convidado eq %USERNAME%"
taskkill / f / fi "convidado eq NT AUTHORITY \ SYSTEM" / im chrome.exe
the search filter can not be recognized
what I'm trying to kill a process from a user without administrator rights, by the taskmager I can kill the process normally, more accurate per batch of files
script complete
@echo off
:c
taskkill /f /fi "Convidado eq NT AUTHORITY\SYSTEM" /im chrome.exe
TIMEOUT 5
cd C:\Users\Convidado\Desktop
cd C:\Users\Convidado\Desktop\d
start myfile
TIMEOUT 110
:c
GOTO c
taskkill /f /IM chrome.exe /fi "SERVIDOR\Convidado eq %USERNAME%"
taskkill / f / fi "convidado eq NT AUTHORITY \ SYSTEM" / im chrome.exe
the search filter can not be recognized
what I'm trying to kill a process from a user without administrator rights, by the taskmager I can kill the process normally, more accurate per batch of files
script complete
@echo off
:c
taskkill /f /fi "Convidado eq NT AUTHORITY\SYSTEM" /im chrome.exe
TIMEOUT 5
cd C:\Users\Convidado\Desktop
cd C:\Users\Convidado\Desktop\d
start myfile
TIMEOUT 110
:c
GOTO c