Tuesday, April 11, 2017

Certlm.msc on Windows Server 2012 / Windows 8 or later

Started from Windows Server 2012 / Windows 8 or later, there is a new msc, Certlm.msc, were added to the Windows. Certlm.msc can directly open a computer certificate store. As previous, we needed to use Microsoft Management Console to add the computer certificate store to the console. So, It's easy for administrator to check the computer certificate via GUI.


This posting is provided “AS IS” with no warranties, and confers no rights!

Failed to Run Task Sequence for Windows Deployment

When I use PXE to deploy Windows 10, I got the following error message.

Symptom
The task sequence cannot be run because the program for CHQ00001 cannot be located on a distribution point. For more information, contact your system administrator or helpdesk operator.

Click Finish to restart the computer.


Cause
There is no site system servers under Boundary Group.

Resolution
1. Navigate to the Administration > Boundary Groups.


2. Make sure the site system servers were added into the boundary group.


This posting is provided “AS IS” with no warranties, and confers no rights!

Saturday, December 17, 2016

Fail to register another vault for a Hyper-V server

Scenario
The previous Site Recovery vault was deleted form the Azure and the Hyper-V was uninstalled the Azure Site Recovery Provider. When you register a Hyper-V server with an Azure Site Recovery vault, you get the following error message.

The server is already registered in vault. Either select the registration key associated with this vault, or unregister the server from and then register it with a different vault. Learn more on how to unregister the server from the previous vault: http://aka.ms/unregisterservers.


Cause
The previous Azure Site Recovery Vault is still remained in the registry of the Hyper-V Server

Solution
1. Cancel the installation.
2. Launch Registry Editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Azure Site Recovery.
3. Delete the Azure Site Recovery key.


4. Uninstall and reinstall the provider and agent setup.


Reference:

This posting is provided “AS IS” with no warranties, and confers no rights!

Thursday, November 10, 2016

Fixing NIC teaming which was created by onboard NICs after replace a motherboard

Symptom
After replacing a motherboard with same model,  when you check the current NIC teaming configuration on Server Manager. The NIC teaming is "Fault" status.



When you click properties, you got the "stopping working" windows.


Cause
The virtual NICs of blade server were changed. The NIC teaming doesn't know you changed the hardware.

Before

After




Resolution
1. Launch PowerShell to remove the current NIC teaming.


2. Update the VMSwitch to point to this new NIC teaming by performing Set-VMSwitch.

This posting is provided “AS IS” with no warranties, and confers no rights!

Change the PowerShell prompt

The PowerShell prompt can be modified by function prompt.


For example, perform Function prompt {'PS terrytlslau.tls1.cc'} to change the PowerShell as the following.


To restore to original, we can perform Function prompt {'PS ' + $pwd + '>'}



This posting is provided “AS IS” with no warranties, and confers no rights!

SYSTEM account and Invoke-Command in a schedule task

Can we perform Invoke-Command in a PowerShell script performed by SYSTEM account of the "Task Scheduler"?

Yes, please add your computer accounts as local administrator group of the destination computer.

Source computer: OPSDC02
Target computer: OPSWS01

1. Add the OPSDC02 computer account into the local administrator group of OPSWS01 as the following.


2. Now, the SYSTEM account can run the PowerShell script that with Invoke-Command -ComputerName on the destination computer, OPSWS01. 



This posting is provided “AS IS” with no warranties, and confers no rights!

Monday, October 31, 2016

Check and update tcp dynamic port range

To check the TCP dynamic port range of Windows, we can perform netsh int ipv4 show dynamicportrange tcp to show how many ports for dynamic ports.


Why do we need to care about the TCP dynamic port range?
If the dynamic network ports are exhausted, it will not be able to establish any outbound network connection.

How do we check the dynamic port exhaustion?
We can perform netstat -ano -p tcp to check the port exhaustion by which process.


To check the port range, we can perform netsh int ipv4 set dynamicport tcp start=10000 num=55535 to update the dynamic port range. The Windows take the updated dynamic port range immediately and It is required to reboot.


To change to default, we can perform netsh int ipv4 set dynamicport tcp start=49152 num=16384 to update it.


Ref:


This posting is provided “AS IS” with no warranties, and confers no rights!

Wednesday, April 27, 2016

Get the Windows Server 2016 and System Center 2016 from TechNet Evaluation Center

Today, Microsoft released technical preview 5 of Windows Server and System Center 2016. Now, you can download these products from TechNet Evaluation Center.

For more information about Windows Server 2016 Technical Preview 5. Please read What's new in Windows Server 2016 Technical Preview 5.

This posting is provided “AS IS” with no warranties, and confers no rights!

Tuesday, April 12, 2016

Hybrid IT Management course from Microsoft Virtual Academy (MVA)

There is a series on Microsoft Virtual Academy (MVA) to talk about Hybrid IT Management. There are 2 parts with 20 sessions in it. These are the following will be covered in Part 1 and Part 2.

Part 1
1. Introducing Hybrid IT Management
2. Getting Started
3. Deployment Options
4. Solutions
5. Logs and Near Real-Time Performance Data Collection
6. Search and Customizations
7. Security Analytics
8. Recommended Resources and Next Steps

Part 2
1. Introducing Hybrid IT Management
2. Introducing Azure Backup
3. IaaS Backup
4. Hybrid Cloud Backup with Microsoft Azure Backup Server
5. Integrating System Center Data Protection Manager and Azure Backup
6. System Center Data Protection Manager Overview
7. Introduction to Azure Site Recovery
8. VMware and Physical to Azure
9. Hyper-V to Azure
10. Site-to-Site DR with Azure Site Recovery and Hyper-V Replica
11. Site-to-Site DR with Azure Site Recovery and SAN Replication
12. Site-to-Site DR for VMware with Azure Site Recovery
13. Workload Support and Capacity Planning
14. Summary and Resources

Please go to the following web sites to watch these series.


This posting is provided “AS IS” with no warranties, and confers no rights!

Sunday, April 3, 2016

Linux Bash will be available on coming Windows 10 Insider build

In Build 2016, Microsoft announced that the user mode of Ubuntu bash will be available on the coming Windows 10 Insider preview for public to test and experience. One of recorded video of Build 2016 to talk and do some demo about Linux bash shell on Windows 10. Please watch Running Bash on Ubuntu on Windows! for more information.


This posting is provided “AS IS” with no warranties, and confers no rights!