1. The Install-ASNetworkConfigGenerator.ps1 command of Partner Toolkit is run for the first time according to section 2.3 "Generating Configuration Files for the TOR and BMC Switches" of the Huawei Hybrid Cloud Solution for Microsoft Azure Stack Installation and Deployment Guide. The Ubuntu Linux subsystem has been installed on Windows. However, after the command is run, the laptop restarts repeatedly and the installation fails.
2. After the Get-WindowsDeveloperLicense command is run, "There is no developer license on this computer" is displayed.
\NetworkConfigGenerator\Tools> Get-WindowsDeveloperLicenseGet-WindowsDeveloperLicense : There is no developer license on this computer.
Open Windows PowerShell as an administrator and run the Show-WindowsDeveloperLicenseRegistration command.
The command opens a dialog box where you can enable the developer mode. A valid Microsoft account is required for this operation.
Run the Get-WindowsDeveloperLicense command to recheck the developer license.
Two parameters are displayed: ExpirationTime and IsValid. The format of ExpirationTime is date time, which specifies the expiration date and time of the license. IsValid is a boolean parameter, which specifies whether the license is valid. You can run this command on a command prompt that does not have elevated permissions.
The developer mode is not enabled.