当前位置:网站首页>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设置->安全设置->本地策略->安全选项”
进入安全选项后双击右侧的“管理员账户状态”

在管理员账户状态中,勾选“已启用”,再点击下方“确定”保存即可获取管理员权限
边栏推荐
猜你喜欢

Cve-2022-33891 Apache spark shell command injection vulnerability recurrence

乐观锁解析

使用sqldeveloper连接mysql

nodejs 简单例子程序之express

Keil5 "loading PDSC debug description failed for STMicroelectronics stm32hxxxxxxx" solution

超全Mavan标签详解

Lwip之内存与包缓冲管理

How to read a Book

STM8S003F3 内部flash调试

如何判断静态代码质量分析工具的性能?这五大因素必须考虑
随机推荐
Postman get started quickly
Mock服务moco系列(二)- Json格式、File文件、Header、Cookie、解决中文乱码
Linux启动mysql报错
Memory and packet buffer management of LwIP
程序的编译
srec_cat 常用参数的使用
使用sqldeveloper连接mysql
BiSeNet v1
srec_ Use of common cat parameters
MySQL optimistic lock
What is the relationship between cloud fluidization and cloud desktop
Mock service Moco series (II) - JSON format, file file, header, cookie, solving Chinese garbled code
Bl602 development environment setup
Three control methods of TestNG execution sequence
对角化、A的幂
Tkinter GUI address book management system
Landmark buildings around the world
Who is responsible for the problems of virtual idol endorsement products?
Oracle uses impdp import to report an error: ora-39001: invalid parameter value ora-39000: dump file description error ora-39088: file name cannot contain path description
OV7725 yuv 640*[email protected] 配置文件