# Win11使用WSL2报错“参考的对象类型不支持尝试的操作” **Published by:** [Hans](https://paragraph.com/@dr-ai/) **Published on:** 2022-01-21 **URL:** https://paragraph.com/@dr-ai/win11-wsl2 ## Content 说是因为加速器的原因,具体也没好好研究。 解决方法查到两个,一个是管理员运行:netsh winsock reset 一个是创建文稿,添加以下内容,并存为xxx.reg文件。双击运行。Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2\Parameters\AppId_Catalog\0408F7A3] "AppFullPath"="C:\\Windows\\System32\\wsl.exe" "PermittedLspCategories"=dword:80000000 我两种方法都用了,没重启电脑。 ## Publication Information - [Hans](https://paragraph.com/@dr-ai/): Publication homepage - [All Posts](https://paragraph.com/@dr-ai/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@dr-ai): Subscribe to updates - [Twitter](https://twitter.com/hans_rss3): Follow on Twitter