---
title: "Discussion on \"Windows 10+WSL2卡死处理\" | Hashnode"
description: "Discussion on \"Windows 10+WSL2卡死处理\". 先看服务状态：\nsc queryex LxssManager\n\n如果STATE是STOP_PENDING，说明卡死，需要手动强杀 查到其中的PID字段，用任务管理器杀掉该进程 或使用命令 taskkill /PID 1234 /F 杀掉后，再检查状态，应访是RUNNING，这时候WSL又能启动了\n优化项，可减少这种情况\n禁用 metadata 同步优化（减少锁）\n编辑/etc/wsl.conf，加"
url: "https://hashnode.com/posts/windows-10-wsl2/69f85dbd46610fd606b3c0f2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Windows 10+WSL2卡死处理](https://www.leiex.com/windows-10-wsl2?utm_source=hashnode&utm_medium=feed)

先看服务状态： sc queryex LxssManager 如果STATE是STOP\_PENDING，说明卡死，需要手动强杀 查到其中的PID字段，用任务管理器杀掉该进程 或使用命令 taskkill /PID 1234 /F 杀掉后，再检查状态，应访是RUNNING，这时候WSL又能启动了 优化项，可减少这种情况 禁用 metadata 同步优化（减少锁） 编辑/etc/wsl.conf，加

May 4 · 1 min read · leiex.com  
Updated Jun 3  
Read the article

## Written by

[兄友弟恭源赖朝](https://hashnode.com/@leyley)

@leyley

  
[View profile](https://hashnode.com/@leyley)

C++ & Java Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
