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

在管理员账户状态中,勾选“已启用”,再点击下方“确定”保存即可获取管理员权限
边栏推荐
- 更新|3DCAT实时云渲染 v2.1.2版本全新发布
- Basic knowledge of software testing (mind mapping)
- 推荐一个沁恒的蓝牙的参考博客
- tkinter GUI版通信录管理系统
- php内存管理机制与垃圾回收机制
- Redis source code and design analysis -- 18. Analysis of redis network connection Library
- NPDP多少分通过?如何高分通过?
- Postman get started quickly
- srec_cat 常用参数的使用
- UFT (QTP) - summary points and automated test framework
猜你喜欢

Construction of Huffman tree

使用sqldeveloper连接mysql

"Digital security" alert NFT's seven Scams

Redis source code and design analysis -- 15. RDB persistence mechanism

Ch582 ble 5.0 uses Le coded broadcast and connection

STM8S003F3 内部flash调试

Connect to MySQL using sqldeveloper

Sorting also needs to know the information and linked list

SLA 、SLO & SLI

Drawing PDF form (II) drawing excel form style in PDF through iText, setting Chinese font, watermark, logo, header and page number
随机推荐
Postman快速上手
Is there any inconspicuous but profitable sideline?
SDLC software development life cycle and model
使用sqldeveloper连接mysql
SLA 、SLO & SLI
Problems faced by cloud XR and main application scenarios of cloud XR
STM8S003F3 uart的使用
Leetcode 101. symmetric binary tree & 100. same tree & 572. Subtree of another tree
C LINQ de Duplication & de duplication sum
实时云渲染有哪些优势
Use of C language cjson Library
Kendryte K210 在freertos上的lcd屏幕的使用
LeetCode 101. 对称二叉树 && 100. 相同的树 && 572. 另一棵树的子树
[MySQL]数据库中的索引为什么是用B+树来实现? 哈希表/红黑树/B树是否可行呢?
Could not stop Cortex-M device! Please check the JTAG cable solution
Why the future of digitalization depends on 3D real-time rendering
MATLAB中join函数使用
Auditing related notes
Sequential storage structure, chain storage structure and implementation of stack
"Digital security" alert NFT's seven Scams