In a safe city project, the customer cannot provide the Internet access at the early stage of the project delivery. A large number of servers in the data center use third-party platforms (such as CAD and GIS). The Windows operating systems on those servers fail to be activated in a timely manner, and continue running even after the trial period, which may cause the misunderstanding from the customer and result in delivery risks. The activation mode via telephone is inconvenient in some remote areas and the cost is high.
The Windows operating system is not activated.
This following describes how to activate the system by using the USB tethering function of an Android smartphone. A Huawei Honor phone is used as an example. The operations on other Android phones are similar. The difference is that the path of the USB tethering function is different. For details, see the user guide of the corresponding mobile phone.
(1) The equipment room has mobile phone signals for using mobile data. In addition to 4G signal, 3G signals are also supported because the amount of mobile data used for activating the system is small.
(2) The Android phone has been configured with a local SIM card and the phone user has purchased data traffic.
(3) The USB cable compatible with the phone is available for data sharing. You are advised to use the original USB cable of the phone. One end of the cable is a common USB connector for connecting to the USB port on the server. The other end is the Type-C, Mini-B, or Micro-B connector for connecting to the phone.
(1) Enable the mobile data traffic of the phone.
(2) Connect the phone to the USB port of the server via a USB cable.
(3) Choose Settings > Wireless & networks > Tethering & portable hotspot. If the USB connection between the mobile phone and server is normal, USB tethering is displayed instead of dimmed. In this case, you can enable or disable the USB tethering function. Enable USB tethering, as shown in the following figure.
(4) In the Windows operating system, run the ping command for the external IP address (for example, ping 18.104.22.168) or use a browser to access websites to check whether the Internet is accessible. If not, check the local network IP address or DNS configuration. If necessary, temporarily delete the DNS server configuration and set the network port IP address to DHCP.
(5) After external networks are accessible, activate the Windows operating system by following the normal activation procedure.
Internet connection is unavailable on the delivery site.
Use the USB tethering function of Android smartphones to activate the system.
2. This solution can also be used in Windows and Linux systems for upgrading system software or components online when the mobile phone's network quality is good. In a case, a user wants to upgrade the browser to Internet Explorer 11 in the Windows Server 2008 Enterprise Edition. He tries downloading packages and components for offline upgrade. The upgrade takes several hours, but fails. Finally, this solution is used to complete the upgrade successfully and takes only 20 minutes.