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


Sunday, 29 September 2019

Start Menu for Windows 10, Server 2012,2016,2019



Right Click on Taskbar
Toolbars
New Toolbar...

Locate below Folder path 

C:\ProgramData\Microsoft\Windows\Start Menu\Programs

OK


Enable | Disable Administrative Shares

  • Start > Run > type “regedit” (without the quotes) > press Enter
  • Browse to HKLM > System > CurrentControlSet > Services > lanmanserver > parameters
To enable administrative shares :
  • Change the value of AutoShareServer to 1
  • Change the value of AutoShareWks to 1
To disable administrative shares :
  • Change the value of AutoShareServer to 0
  • Change the value of AutoShareWks to 0

AutoRun Disable for Windows

Method 1
  1. Click Start, type Gpedit.msc in the Start Search box, and then press ENTER.

     If you are prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
  3. In the Details pane, double-click Turn off Autoplay.
  4. Click Enabled, and then select All drives in the Turn off Autoplay box to disable Autorun on all drives.
  5. Restart the computer.
Method 2
  1. Click Start, type Gpedit.msc in the Start Search box, and then press ENTER.

     If you are prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Under Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Autoplay Policies.
  3. In the Details pane, double-click Default Behavior for AutoRun.
  4. Click Enabled, and then select Do not execute any autorun commands in the Default Autorun behavior box to disable Autorun on all drives.
  5. Restart the computer.


Saturday, 28 September 2019

Changing E1000 into VMXNET3 without changing a MAC address


Method 1 :
--------------
Note down MAK address and IP Configuration of existing E1000 NIC
Remove Adapter
add VMXNET3 adapter
add the old MAC




Method 2 : PowerCLI
-------------------
Power OFF VM

PowerCLI
Connect-VIServer -Server XXX.XXX.XXX.XXX -User YYYYYYY -Password ZZZZZZZZ

List VM: SRV1, NIC type:

PowerCLI C:\> Get-VM SRV1 | get-networkadapter

Change VM: SRV1, NIC type to VMXNET3:

PowerCLI C:\> get-vm SRV1 | Get-NetworkAdapter | set-networkadapter -type vmxnet3 -confirm:$false

This procedure preserves the original MAC address, but NIC adapter changes.

Wednesday, 18 September 2019

SHORTCUTS - Some important Shortcuts


Computer name change :
C:\Windows\system32\SystemPropertiesComputerName.exe














Password Change of local administrator :

C:\Windows\System32\compmgmt.msc




Creating Network Connections Shortcut in Windows 7

Right Click on Desktop

New --> Shortcut

Paste below in location

explorer.exe ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}

Next

Provide Name 'Network'
OK






Updating Softwares of Computer

  open Power Shell as Administrator type  winget upgrade will show the list of available updates  type winget upgrade --ALL   to auto doownl...