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

在管理员账户状态中,勾选“已启用”,再点击下方“确定”保存即可获取管理员权限
边栏推荐
- 推荐一个沁恒的蓝牙的参考博客
- How to read a Book
- Is there any inconspicuous but profitable sideline?
- Related operations of figure
- 图的相关操作
- 「数字安全」警惕 NFT的七大骗局
- Polynomial addition
- 更新|3DCAT实时云渲染 v2.1.2版本全新发布
- Mock service Moco series (III) - redirection, regular expression, delay, template, event, sub module design
- Error when starting MySQL on Linux
猜你喜欢

408 Chapter 2 linear table

Redis source code and design analysis -- 17. Redis event processing

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

专访即构科技李凯:音视频的有趣、行业前沿一直吸引着我

Related operations of figure

「行话」| 用DevOps高效交付游戏,是种什么体验?

STM8S003F3 内部flash调试

乐观锁解析

超全Mavan标签详解

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
随机推荐
Redis source code and design analysis -- 17. Redis event processing
Basic knowledge of documents
OV7725 yuv 640*[email protected] 配置文件
Three control methods of TestNG execution sequence
Which real-time gold trading platform is reliable and safe?
BL602 开发环境搭建
Hit the test site directly: summary of common agile knowledge points in PMP examination
SQL optimizer parsing | youth training camp notes
Optimistic lock pessimistic lock applicable scenario
泛域名配置方法
虚拟偶像代言产品出问题谁负责?
Use of LCD screen of kendryte k210 on FreeRTOS
Sorting also needs to know the information and linked list
Recommend a qinheng Bluetooth reference blog
ORB_ Slam3 recurrence - Part I
Idea integrates common functions of SVN code management
Postman快速上手
STM8S003F3 uart的使用
云流化和云桌面有什么关系
实时云渲染有哪些优势