Tuesday, December 15, 2015

Why you should NOT remove .NET Framework 4.5 in Windows 2012 R2

Dear All,

I am writing this post after lot of struggling to find out the root cause of Issue which I faced when we removed .NET Framework 4.5 from Windows Server 2012 R2.

Action taken before issue : Uninstalled .NET Framework 4.5


http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-59-75-metablogapi/image_5F00_79583822.png

http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-59-75-metablogapi/clip_5F00_image005_5F00_5ABE4779.jpg
Issue reported : 
- GUI got uninstalled. MSTSC / Remote was loading only command prompt.
No any GUI options were available. 
- Powershell was not available



Resolution : 

Thankfully there is a revert back process for this.
Run below command ONE BY ONE (It will take lot of time. Dont worry event if it dosent show any progress on Screen. Grab some Coffee and have 10 Min break)

DISM.exe /online /enable-feature /all /featurename:NetFx4
 

DISM.exe /online /enable-feature /all /featurename:MicrosoftWindowsPowerShell

Goto Powershell by Typing "PowerShell" at Command Prompt.

Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra

Restart-Computer 



Finally you got your beautiful GUI Back. Congrats!

Do comment if it helped you. Cheers!!!

No comments:

Post a Comment

Solved : The user profile failed to attach. The process cannot access the file becase it is being used by another process

Issue :  The user profile failed to attach. Please contact Support. Status : 0x0000000B, Message: Cannot open virtual disk Error Code: 0x000...