Thursday, 31 October 2019

Uninstalling .NET framework


If you were to use Remove-WindowsFeature PowerShell cmdlet, you can add the –whatif switch to see the list of features that would also be impacted.

Remove-WindowsFeature Net-Framework-45-Features –WhatIf



To completely Uninstall .NET framework , run below command.


Uninstall-WindowsFeature Net-Framework-45-Features

Wednesday, 30 October 2019

Thursday, 24 October 2019

Windows 2012 R2 Remote Booting Black Screen With Command Prompt Only

Windows 2012 R2 Remote Booting Black Screen With Command Prompt Only

















If you ever find yourself in a situation where Windows Server 2012 R2 decides to spontaneously switch from regular GUI Windows to Windows Server Core, here’s how you switch it back.


Dism /online /enable-feature /featurename:Server-Gui-Mgmt /featurename:Server-Gui-Shell /featurename:ServerCore-FullServer /all
















The command will take a while, but when it is complete all your GUI goodies will return. After a reboot and a long wait you will get your Start menu back!

Tuesday, 22 October 2019

Group Policy Update Error

ERROR :

C:\Windows\system32>gpupdate /force
Updating policy...

Computer Policy update has completed successfully.
User Policy could not be updated successfully. The following errors were encountered:

The processing of Group Policy failed. Windows attempted to read the file \\BirlasoftCOE.com\SysVol\BirlasoftCOE.com\Policies\{8E6E766D-476D-4422-ADB9-5936C3E89479}\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:
a) Name Resolution/Network Connectivity to the current domain controller.
b) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).
c) The Distributed File System (DFS) client has been disabled.

To diagnose the failure, review the event log or run GPRESULT /H GPReport.html from the command line to access information about Group Policy results.


SOLUTION :

On that Client System :

Go to 

HKLM\SYSTEM\CurrentControlSet\Control\LSA\Kerberos\Parameters 

(create the key Parameters if necessary).

Create/Edit the MaxTokenSize value data to 65535 in Decimal



Saturday, 5 October 2019

List of ALL installed programs in Windows


Method 1 - PowerShell

Open Power Shell as ADMIN

Run this command 

Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize > C:\InstalledProgramsPS.txt



Check file InstalledProgramsPS.txt on C:\ Drive







Method 2 - wmic

open CMD as ADMIN
type wmic
At the "wmic:root\cli>" prompt, type the following command:

/output:C:\InstalledProgramsWMIC.txt product get name,version

Check file InstalledProgramsWMIC.txt on C:\ Drive


Windows 10's God Mode

God Mode  in Windows 10 gives you quick access to a ton of handy settings in one place.  Right-click on the desktop and go to New > ...