当前位置:网站首页>win11下vscode 自动升级失败 There was an error while marking a file for deletion
win11下vscode 自动升级失败 There was an error while marking a file for deletion
2022-07-25 18:13:00 【JackieZhengChina】
当升级vscode时出现下方报错:

There was an error while marking a file for deletion:
Failed to mark file for deletion:拒绝访问.
Please verify there are no Visual Studio Code processes still executing
既然是“拒绝访问”应该是权限问题,关闭vscode,右键vscode,“以管理员身份运行”重新打开vscode,再次升级完成提示重启时,完成升级。
也可以一劳永逸直接提升当前用户权限为管理员权限:
运行gpedit.msc打开组策略编辑器 依次进入“计算机配置->Windows设置->安全设置->本地策略->安全选项”
进入安全选项后双击右侧的“管理员账户状态”

在管理员账户状态中,勾选“已启用”,再点击下方“确定”保存即可获取管理员权限
边栏推荐
- "Jargon" | what kind of experience is it to efficiently deliver games with Devops?
- 直击考点:PMP考试中常见敏捷知识点汇总
- Update 3dcat real time cloud rendering V2.1.2 release
- Bl602 development environment setup
- 超全Mavan标签详解
- Use of C language cjson Library
- Stm8s003f3 internal flash debugging
- OV7725 yuv 640*[email protected] 配置文件
- SQL那些事
- TME2022校园招聘后台开发/运营开发/业务运维/应用开发笔试(I)编程题的一点自我分析
猜你喜欢

CVE-2022-33891 Apache spark shell 命令注入漏洞复现

二叉树的相关操作

Imx6 rtl8189ftv migration

Kendryte K210 在freertos上的lcd屏幕的使用

Introduction to cloud XR and development opportunities of cloud XR in 5g Era

Oracle导入出错:IMP-00038: 无法转换为环境字符集句柄

如何判断静态代码质量分析工具的性能?这五大因素必须考虑

What is the relationship between cloud fluidization and cloud desktop

越来越成熟的Rust,都应用了哪些场景呢?

Connect to MySQL using sqldeveloper
随机推荐
Basic knowledge of software testing (mind mapping)
对角化、A的幂
srec_ Use of common cat parameters
php内存管理机制与垃圾回收机制
专访即构科技李凯:音视频的有趣、行业前沿一直吸引着我
Recognized by international authorities! Oceanbase was selected into the Forrester translational data platform report
STM8S003F3 uart的使用
Itextpdf realizes the merging of multiple PDF files into one PDF document
c语言---25 扫雷游戏
Kendryte K210 在freertos上的lcd屏幕的使用
OV7725 yuv 640* [email protected] Profile
What is the relationship between cloud fluidization and cloud desktop
Joseph Ring problem
Update 3dcat real time cloud rendering V2.1.2 release
排序还需要了解的信息以及链表
实时云渲染有哪些优势
Idea integrates common functions of SVN code management
Optimistic lock pessimistic lock applicable scenario
Redis source code and design analysis -- 16. AOF persistence mechanism
Keil5 "loading PDSC debug description failed for STMicroelectronics stm32hxxxxxxx" solution