<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Taskkill WSL2? in Endpoint Privilege Manager (EPM) Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418497#M8855</link>
    <description>&lt;P&gt;Windows has never required admin rights to run task manager as far back as windows 3.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do recall an instance of this happening in our environment where users were part of the network operators and it started causing windows to prompt for UAC. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By chance are your users in that security group? Have you tried putting the users creds in despite the admin prompt?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Sep 2025 15:16:46 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-09-03T15:16:46Z</dc:date>
    <item>
      <title>Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418493#M8851</link>
      <description>&lt;P&gt;Our Devx team want the developer to task kill WSL using -&lt;/P&gt;&lt;P&gt;Shell&lt;/P&gt;&lt;P&gt;taskkill&amp;nbsp;-IM&amp;nbsp;vmwp.exe&amp;nbsp;-IM&amp;nbsp;wsl.exe&amp;nbsp;-IM&amp;nbsp;wslhost.exe&amp;nbsp;-IM&amp;nbsp;wslservice.exe&amp;nbsp;/F&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The trouble is it requires admin to run. I wondered if it could be whitelisted as part of the WSL commands? &lt;/P&gt;&lt;P&gt;We lock own CMD and other high risk processes via an AAD group and very rarely give CMD as admin rights to devs anyway, so I was wondering how users can kill wsl2 running on windows 11 if it's possible to create a policy around the taskkill ? I don't believe giving users the ability to run task manager as Admin is either allowed or would do the job as that too is binded to an AAD group, but our cyber team would not want to go down this route either. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Devs are complaining they need to task kill wsl2 as for now they're forced to reboot the device when it becomes unresponsive.&lt;/P&gt;&lt;P&gt;We obviously have an Allow policy in place for wsl2 and a block policy in place for admin type aspects of wsl2 that developers are restricted from actioning, But this seems to be more of a general windows action &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit  So possible just create a policy to allow for the termination of wslService ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 12:09:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418493#M8851</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-03T12:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418494#M8852</link>
      <description>&lt;P&gt;Why do they need to run task manager to kill the process? Task manager doesnt require admin rights to kill processes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CTRL+ALT+DEL, click task manager, find wsl process, kill task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You dont want to give task manager admin rights or they can create an elevated cmd prompt and other things but it doesnt need admin rights to kill processes.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 12:38:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418494#M8852</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-03T12:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418495#M8853</link>
      <description>&lt;P&gt;Comes up with a typical error message - you need to be an administrator please run Task Manager as admin and we don't want to give users that ability just to end task wsl because it stops responding at times. &lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 14:06:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418495#M8853</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-03T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418496#M8854</link>
      <description>&lt;P&gt;Looks like we've worked it out so rolling it out might create one for &lt;/P&gt;&lt;P&gt;AND Parameters is exactly "-IM wslservice.exe /F" (case insensitive) and may look to create a task kill for vmwp.exe too seems to work in our test environment. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 15:09:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418496#M8854</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-03T15:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418497#M8855</link>
      <description>&lt;P&gt;Windows has never required admin rights to run task manager as far back as windows 3.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do recall an instance of this happening in our environment where users were part of the network operators and it started causing windows to prompt for UAC. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By chance are your users in that security group? Have you tried putting the users creds in despite the admin prompt?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 15:16:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418497#M8855</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-03T15:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418498#M8856</link>
      <description>&lt;P&gt;we lock down a lot of WSL actions and restrict them and CMD cannot be run as admin either, we've created the above policy I want to see if i can get the whole shebang working now - taskkill&amp;nbsp;-IM&amp;nbsp;vmwp.exe&amp;nbsp;-IM&amp;nbsp;wsl.exe&amp;nbsp;-IM&amp;nbsp;wslhost.exe&amp;nbsp;-IM&amp;nbsp;wslservice.exe&amp;nbsp;/F&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;users here run task manager as normal of course, we actually lock it down via an AAD group along with other high risk processes as mentioned and you can't use task kill in cmd without admin rights , anyway now that we've created the EPM policy to allow this specific task kill for the wslservice it's working I want to branch out and see if EPM can kill all 3 processes. &lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 15:52:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418498#M8856</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-03T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418499#M8857</link>
      <description>&lt;P&gt;ok it's working using both the commands as one argument  - taskkill -IM vmwp.exe -IM wslservice.exe /F - Job done!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 08:57:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418499#M8857</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-05T08:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418500#M8858</link>
      <description>&lt;P&gt;task manager doesnt require privileges to run, but if you are attempting to do something to a process running in a higher user context than your own, you will need to elevate your permissions to do so.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 13:56:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418500#M8858</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-08T13:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418501#M8859</link>
      <description>&lt;P&gt;If I am following you correctly, you created a policy for taskkill.exe with those specific parameters as authorized for elevation? &lt;/P&gt;&lt;P&gt;So your user will open a regular CMD/PS shell and get their elevation by providing the right parms for taskkill?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 13:58:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418501#M8859</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-08T13:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418502#M8860</link>
      <description>&lt;P&gt;That's correct we've created the epm policy and it's working when wsl shutdown doesn't help resolve a non-responsive behaviour. We've just tested and devs can now end the tasks using task kill. apologies you are right task manager doesn't need admin but we do restrict it's elevation via AAD permissions and didn't want to go down that route to end tasks the high privilege processes.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 14:07:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418502#M8860</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-08T14:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Taskkill WSL2?</title>
      <link>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418503#M8861</link>
      <description>&lt;P&gt;correct  they get a EPM confirmation  the parameters are elevated and able to be run, I guess though they have to run them from a separate non-elevated cmd/PS,  &lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 14:12:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/endpoint-privilege-manager-epm/taskkill-wsl2/m-p/1418503#M8861</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-09-08T14:12:42Z</dc:date>
    </item>
  </channel>
</rss>

