管理员打开命令行,执行命令:

attrib +R "%UserProFile%\Desktop"

原文链接:https://learn.microsoft.com/zh-cn/answers/questions/2823684/desktop?forum=windows-all&referrer=answers