惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Palo Alto Networks Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
S
Schneier on Security
S
Securelist
酷 壳 – CoolShell
酷 壳 – CoolShell
C
CXSECURITY Database RSS Feed - CXSecurity.com
Cyberwarzone
Cyberwarzone
Apple Machine Learning Research
Apple Machine Learning Research
S
SegmentFault 最新的问题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
GbyAI
GbyAI
Security Latest
Security Latest
Last Week in AI
Last Week in AI
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
Recorded Future
Recorded Future
Webroot Blog
Webroot Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
TaoSecurity Blog
TaoSecurity Blog
C
Cisco Blogs
博客园 - 【当耐特】
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
B
Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Attack and Defense Labs
Attack and Defense Labs
The Last Watchdog
The Last Watchdog
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
Project Zero
Project Zero
WordPress大学
WordPress大学
L
LINUX DO - 最新话题
F
Fortinet All Blogs
L
LINUX DO - 热门话题
PCI Perspectives
PCI Perspectives
Simon Willison's Weblog
Simon Willison's Weblog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
MongoDB | Blog
MongoDB | Blog
Latest news
Latest news
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
The Hacker News
The Hacker News
爱范儿
爱范儿
O
OpenAI News
J
Java Code Geeks
T
The Exploit Database - CXSecurity.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More

博客园 - 天际翔龙

一个苹果证书如何多次使用——导出p12文件[多台电脑使用] Log4net系列一:Log4net搭建之文本格式输出【转】 SMMS 2016 啟用深色主題 c#代碼小集 ZenCoding[Emmet]語法簡介【轉】 vscode: Visual Studio Code 常用快捷键【轉】 C#枚举Enum[轉] Android 杂记 解决genymotion-arm-translation.zip无法拖拽安装的问题[转] c#同步調用異步(async)方法【記錄用】 DDD基本概念 Entity Framework中AutoDetectChangesEnabled為false時更新DB方法 git常用命令备忘录 MSSQL日誌傳輸熱備份注意事項 c#生成唯一编号方法记录,可用数据库主键 唯一+有序 Angular 隨記 使用dumpbin命令查看dll导出函数及重定向输出到文件【轉】 UML类图与类的关系详解【转】 知識隨記
server2012/win8 卸载.net framework 4.5后 无法进入系统桌面故障解决【转】
天际翔龙 · 2017-10-26 · via 博客园 - 天际翔龙

都重装过一次了,第二次被坑了,真的是痛苦的经历

只剩下的cmd什么命令都不能执行啊,powershell也执行不了呀【网上都是说powershell切换的】

故障:服务器装的是windows2012 standard(2012版本从低到高依次为Foundation、Essentials、Standard
Datacenter,以及它们的升级版R2),由于要安装的应用系统是要用到.net framework3.5,所以,2012自带的.net 4.5版本需要卸载,但是卸载后问题来了——黑屏、无法进入系统桌面,只能调出任务管理器。

分析:原以为是explorer.exe进程被结束了,但在任务管理器中,新建任务(运行),输入explorer.exe,提示报错,依然无法解决问题,且任务管理器,新建任务运行--浏览,无法浏览、无法打开服务;重启多次也无法解决。最后,想到了可能是卸载.net framework后,系统没有了图形界面(由完整模式Full变为了核心模式core),需要重新恢复.net framework4.5,打电话咨询微软客服,建议要重新安装系统,我去!系统是设备供应商安装的,还要协调供应商,最重要的是时间耗不起。

解决:然后,我就想起来了系统恢复命令——Dism命令,就尝试着恢复一下试试。

试了几次,根据命令的提示,最终搞定了,系统恢复正常。

核心模式core 变回完整模式 Full,用dism命令,具体命令如下:

dism /online /enable-feature /all /featurename:servercore-fullserver /featurename:server-gui-shell /featurename:server-gui-mgmt

切记:每个“/”前有空格,否则会报错;还有enable-feature后面的 “all”必须加上,否则也会报错。

完成模式Full,切换为核心模式,可以使用“删除角色和功能”来卸载“用户界面和基础结构”功能,也可以通过命令来卸载,命令如下:
dism /online /disable-feature /all /featurename:servercore-fullserver

参考地址:http://blog.sina.com.cn/s/blog_9fc733290102v8bs.html