What Cause the Windows update get failed

The Windows Update failing over and over, many possible things can generate the error.

collected a list of the most common causes based on user reports.

  • Corrupt or missing system files. System files are crucial to make sure everything works on your device. There’s a possibility that your system files were corrupted or deleted recently, which causes Windows Update to fail.
  • Outdated drivers. Drivers are needed to handle components that don’t natively come with Windows 10 compatibility such as graphic cards, network cards, and so on. If a driver related to this issue hasn’t been updated in a while, it can cause issues with Windows Update.
  • An issue with the Windows Update service. There’s a possibility that something is wrong with your update service itself. If this is the case, you can find alternative ways to download the latest Windows 10 update below.

Note — the list above doesn’t contain all possible causes. You might be experiencing the error due to a unique issue on your computer.

Steps to fix Windows Update failing errors.

  1. Run the Windows Update Troubleshooter tool.
  2. Restart Windows Update related services.
  3. Run the System File Checker (SFC) scan.
  4. Execute the DISM command.
  5. Temporarily disable your antivirus
  6. Restore Windows 10 from a backup.

Step 1: Run the Windows Update Troubleshooter tool.

Microsoft have a designated tool to help fix issues with Windows 10’s updates. This tool is free and available for download to anyone, even without a Microsoft Account. All you must do is simply run the tool and see if it’s able to identify and fix any errors.

  1. Download the Windows Update Troubleshooter. This download link is directly from Microsoft’s website, which is verified as trustworthy and entirely safe.
  2. Open the WindowsUpdate.diagcab file you just downloaded by double-clicking on it. This will launch the troubleshooter window.
  3. Follow the on-screen instructions. If the troubleshooter is able to identify any issues, simply click on them to automatically apply a fix or get more information on your issue.

Note that the Windows Update Troubleshooter is not perfect. Even if it’s unable to find any errors on its own, you should continue with our methods until you find something that works to fix the Windows Update failing error.

Step 2: Restore Windows Update related services.

If a service related to Windows Update is experiencing issues, has been turned off, or is set to incorrect settings, it’s possible that it’s the cause of your errors. Luckily, you can simply fix this by executing some commands which reset your services that work with delivering updates.

  1. Press the Windows + R keys on your keyboard to launch the Run utility. Type in “cmd” and press Ctrl + Shift + Enter. This is going to launch the Command Prompt with administrative permissions.
  2. If prompted, make sure to allow the Command Prompt to make changes on your device. This means that you might need to log into an administrator account.
  3. Next, you need to stop the services related to downloading and installing Windows Update files. Within the Command Prompt, enter the following lines, pressing the Enter key in-between each new line:
  4. net stop bits
  5. net stop wuauserv
  6. net stop appidsvc
  7. net stop cryptsvc

   4. After stopping the services, input the following two commands, pressing the Enter key after each line:

  • Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
  • Ren %systemroot%\system32\catroot2 catroot2.bak

   5. Lastly, restart Windows Update related services using the following commands. Again, press Enter after each new line to execute the command:

  • net start bits
  • net start wuauserv
  • net start appidsvc
  • net start cryptsvc

   6.Close the Command Prompt and check if your Windows Update has been fixed after executing these commands.

Step 3: Run the System File Checker (SFC) scan

The System File Checker is a tool available in Windows 10 by default. It’s also called an “SFC scan,” and it’s your quickest way to automatically fix corrupted system files and other issues.

Some users have reported that running this scan fixed their issues with Windows Update failing, getting stuck, or not starting.

  1. Press the Windows + R keys on your keyboard. This is going to bring up the Run utility.
  2. Type in “cmd” and press the Ctrl + Shift + Enter keys on your keyboard. Doing so, you’re launching the Command Prompt with administrative permissions.
  3. If prompted, click Yes to allow the Command Prompt to make changes on your device.
  4. Once in the Command Prompt, type in the following command and press Enter to execute it: sfc /scannow
  5. Wait for the SFC scan to finish scanning your computer and repairing corrupt files. This may take a long time; ensure that you don’t close the Command Prompt or shut your computer down.
  6. Restart your device after the scan is complete. Check if you’re able to update Windows 10 after the restart has finished.

Step 4: Execute the DISM command.

The DISM tool allows you to identify and fix issues with your system by simply running commands. It checks for corruption on your system and automatically applies fixes to restore damaged or missing files.

You can use this tool to repair Windows Update and finally get the latest version of Windows 10.

  1. Press the Windows + R keys on your keyboard. This is going to bring up the Run utility.
  2. Type in “cmd” and press the Ctrl + Shift + Enter keys on your keyboard. Doing so, you’re launching the Command Prompt with administrative permissions.
  3. If prompted, click Yes to allow the Command Prompt to make changes on your device.
  4. Once in the Command Prompt, you need to start the DISM scan which will run and look for issues system-wide. Type in the following command and press Enter to execute it: DISM.exe /Online /Cleanup-image /Scanhealth
  5. Next, you need to execute a command to fix any issues found on your system. Simply type in the following line and press Enter again: DISM.exe /Online /Cleanup-image /Restorehealth
  6. Wait for the process to finish. Upon completion, close the Command Prompt window and restart your device. Check if the Windows Update error still comes up now.

Step 5: Temporarily disable your antivirus.

Microsoft Teams for Personal use

Microsoft has a Teams for personal use which has more casual chat view, a dashboard to easily coordinate information with your friends and family, and a shared calendar to coordinate plans. It works with your own personal Overdrive storage and is designed to be a hub for all of your communication in your personal life.

Teams for personal can be download from the link given below

https://www.microsoft.com/en-us/microsoft-teams/download-app

Download the one which is encircled

After installation I would prompt for login using your personal email address

Login in with your personal e-mail

After login you will see the similar Screen

Team is ready now..

Some of the plans are given below

You can run the Personal and the work side by side

Hyper-V Replica on Server 2012 R2 Step By Step Guide

Hyper-V Replica is a new feature added to the Hyper-V Role in Windows Server 2012 Standard / Data Center and Hyper-V Server 2012. It uses an asynchronous data replication technology for organizations to implement an affordable Business Continuity and Disaster Recovery (BCDR) solution for virtualized workloads.

This allows virtual machines running at a Primary Site to be efficiently replicated to Secondary Site (Replica Site) across a LAN/WAN link without relying on software or hardware technologies outside of the Windows Server 2012 Operating system.

In Windows Server 2012 R2, Microsoft has enhanced Hyper-V Replica features like Extended Replication and configurable Hyper-V Replica frequency options. In Windows Server 2012 R2 Hyper-V, we can configure VM to replicate from Primary Site A to Secondary (Replica) Site B and then further replicate from Secondary Site B to Extended Replica Site C

Hyper-V Replica provided a fixed replication interval of 5 minutes. In Windows Server 2012 R2 it has been enhanced and as such we can configure the replication interval from the old default of 5 minutes to every 30 seconds, 5 minutes or 15 minutes as per the environment, criticality of operations and the available bandwidth.

Lets Look at the Lab : My Primary server is called as HOST where i have installed and Configured Two VMs VM-APP and  VM-DB and my Replica server is called As HOST1 where i am going to enable relication from Primary Site/Server to Replica Site/Server to receive the changes made in Primary Site/Server.

hyperv1

Lets Enable the replication in Hyper-V settings

repset

Configure the following parameters, will user Kerberos (HTTP) port 80  and select the allow replication from Specified server

replica

auth

once apply you will get a pop up to enable the incoming traffic rule to be allowed from  firewall

fwset

fw

We have set all the requirements to replicate the VM from Primary server to Replicate server. know enable the replication open hyper-V settings an right click on VM-APP and select “Enable Replication”

repenab

On the Before You Begin page, click Next.

beginnreppng

 

 

Installing and Configuring “RDP GATEWAY” server in Windows server 2012 R2 in workgroup Scenario

I assume Windows server 2012 R2 instance is installed on a Hyper-V VM or on a Physical server. the following steps are required. I have registered a domain name xyz.com  for external users to log on to RDP gateway server. in case of LAN users DNS Suffix is required as Shown in below figure.

Open server manager and click on Add role from the menu and select “Remote desktop services”

Follow the instructions and complete the Installation

Open “RD Gateway Manager” console

Create a Policy as shown in below figure RD CAP and RD RAP

Create a New Policy and follow the wizard

.

Define a Name for the policy

Add Groups who need to connect to RDP servers.

.

Optional settings..

If you need to enale Ideal time and session time out you can set  just click on enable and set the time

Now Start Creating RAP

Finish..

Type “mstsc” in command prompt and go to the “Advance” tab and click on “settings” and follow the settings below

now press connect, you will be prompt to login to Gateway server first then prompts for the server which you want to access

 

 

 

 

 

 

RDP Black Screen in Windows server 2012 R2

When RDPing, users are displayed by a “Black Screen” internal, External and VPN connected users… for this i have done two things first is  Enabling the local GPO

Enabling and setting GPO

  1. Login to Server and open command prompt with Administrator Privileges.
  2. Type  the Command “gpedit.msc
  3. Group policy dialog opens where i have enabled two policies as shown below

blackrdppng

Add the “Authenticated Users” and “Interactive Logon” to the local “Users” group and reboot.

If the machine is a Domain Controller, do the same in the builtin\users Group
Click Start, Run, type lusrmgr.msc then ENTER.
Select Groups in the left pane.
Double-click Users in the right pane.
Click Add, and then click Locations. Scroll to the top of the Locations dialog and select the local computer name, then click OK.
In the Enter the object names to select field, type Interactive; Authenticated Users (separated by a semi-colon). Then click OK.
Restart the computer

or

Run the following commands from a command prompt:
Net localgroup Users Interactive /add
Net localgroup Users “Authenticated Users” /add

make sure “On resume display logon screen” is enabled on-screen server settings of the server, so one can try disabling.

 

Best Deal at Amazon with better quality

Creating a Container in Windows Nano server 2016 TP3

I have configured Hyper-V feature in my Desktop In windows 10 system. then i have installed Hypervisor Windows Nano server TP3 from there i have started creating Containers..

Step-1

1

 

Step-2

3

Step-3

41

Step-4

5

Step-5 installing the image of container

6

Step-6 installing process begins

7

Step-7

8

Step-8

9

Step-9

done

Step-10 Verify the Commands Related to Container

11

Step-11 Check the IP config It Configured automatically the Ip address as shown below (172.16.0.1)

12

Step-12 Verify the Container image and Virtual switch as shown below in Yellow text

13

Step-13 Create A new Container as shown below and Check the status.

As the container is in “OFF” Mode

Start the container as shown below

14

Step-14 Wow… Connecting Newly Created Container Thru “Remote PowerShell”

You can see [43ae01cb-8e7] is our New container

15

Now you can install Windows Feature WEB-Server to run this container as IIS web Server and dump the Website in the  folder

C:\inetpup\wwwroot\ then browse the website from other computer in your local area network

for more information about “Containers” please follow the links given below

https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/inplace_setup

https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/container_setup

 

Installing Web server on Nano Server 2016

Installing Windows server 2016 TP3 core mode means no GUI

Nano server is a very compact os developed by Microsoft. It is head less fast and less reboots. It is managed by Remote PowerShell or WMI.

Microsoft has also stated that Nano will have Windows Server Roles and Features support using Features on Demand and DISM (Deployment Image Servicing and Management). Nano will also support remote file transfer, remote script authoring and remote debugging including remote debugging from Visual Studio. Microsoft also stated that they will provide a new Web-based management tool for Nano Server.

 

For more information about NANO visit the Microsoft site https://technet.microsoft.com/en-us/library/mt126167.aspx

Installed Nano server on Hyper-v as shown below

 

hyperv

 

First look of Nano server as shown below:

nano

 

First install the feature using PowerShell

Get-windowsfeature web-webserver

It will add inetpub directory as shown below

dir

Type Notepad and paste the code for example and save as Nano.htm

<!DOCTYPE html>

<html>

<body>

 

<img src=”ict.jpg” alt=”www.icrisat.org” width=”104″ height=”142″>

<a href=”http://rabbanisyed.com”>MY Blog Link</a>

</body>

</html>

site

 

 

 

 

Users can not view GWX apps on taskbar

//

Dear All after struggling 2 days  i did the following to get instant windows 10 update on your system

Un-install the KB2976978 and reboot after then i have re-installed the same KB2976978

then Deleted all from C:\Windows\SoftwareDistribution\Download

using elevated permissions ran the following

once press enter you will see windows 10 download

//

Windows 10 Technical Preview Features

smw10

Microsoft has introduced a new start menu with a combination of metro style like windows 8.1 you can see the right side of the start menu. those beautiful icons can be added and resize by right click. you can add and remove more commands from start menu in to Icon Palette.

The Task Bar:

w10tbarpng

The Desktop:
dtop
Newly Designed Desktop Icons like My computer, Network etc..

Windows Search is one of new feature:
It can search in your system as well as on internet and display Temperature, city and country
w10search

improvement in Command prompt
Another quite amazing feature for those of us that use it is that the command prompt is now getting keyboard shortcuts! So you will be able to paste in your commands! Hardly groundbreaking, but actually pretty exciting.
w10pasteincmd

Another new Task View
Now the Windows 8 task switcher has been unceremoniously dumped, there’s a new Task View in Windows 10, too, so users can switch between virtual desktops.That’s because Microsoft now recognises that novice users use the taskbar rather than switching in other, cleverer, ways such as Alt+Tab (which also now switches between desktops).
w10taskview

Improvements to Windows Explorer
w10fileexplorer
A new Home location is the new default view in windows Explorer. There’s also a Share button on the Windows Explorer taskbar.
w10share
w10exp

Changes in Exchange 2013

Architectural changes in exchange server 2013: Microsoft has significantly made changes for better performance and reliability

The core changes of exchange 2013 is it is more geo-redundant , scalable and more reliable. exchange 2013 eliminated the HUB- Transport role and the Unified messaging roles. the core roles are

a) Client Access Server  (CAS) and b) Mailbox Server (MBX). the CAS no longer does not rendering, and this role focus on Authentication, redirection and Proxy. The mailbox Server now includes the following

1. Client Access Portal

2. Hub Transport Services

3. Mailbox Databases

4.Unified Messaging Services.

CAS roles is simplified just to support HTTP, HTTPS, POP3 and IMAP client protocols with no requirement for sessions between the CAS and Mailbox roles. CAS and MBX servers no longer need to be geo-graphically close to one another, in the past Two roles needed to be on the same subnet with high speed connectivity because of the two servers Microsoft has eliminated integrated components between the CAS and the MBX servers. The requirement of identical patch level between CAS and MBX is no longer a dependency. Organizations can patch and update CAS and MBX servers in a pattern that makes sense to organizations. MBX has self-signed certificate automatically assigned to it on installation that is trusted by CAS. MBX is no longer exposed directly to end point client, the public or trusted root certificate needs to reside on the CAS. The relation between the CAS and MBX can remind a self-assigned
certificate.