Home >System Tutorial >Windows Series >How to solve the problem that Windows focus function cannot be enabled?
The inability to use the Windows focus function is a very easy problem to solve. Under normal circumstances, as long as the network is connected normally and the account is logged in, it can be automatically updated. However, many users still do not update automatically even if these two conditions are met.
Enter Powershell after Win S, right-click to run as administrator
Use Get-AppxPackage command and add-AppxPackage command Redeploy the relevant UWP application
Log out and log in again
About the Powershell command:
Get-AppxPackage –alluser
A message appears after execution A list of Appx packages, which contains all Appx packages that can be retrieved under the current system. These packages are used to deploy corresponding applications. The specific information of each package will be listed in full, including the installation location, the complete name of the package, etc.
You can find the package name microsoft.ContentDeliveryManager in the list, and write down the information given in the installlocation column.
Add-AppxPackage –disabledevelopment –register
This command will re-register the specified package. -register is usually followed by “installlocation\Appxmanifest.xml”, and installlocation is the one recorded in the above command. information.
In the current case of Windows 10 1709, it is recommended to only enter -register. After execution, you will be asked to provide the Path parameters required for register. The path entered in Path is the complete path recorded by installlocation. Appxmanifest.xml still needs to be added at the end of the path. Double quotes are not required in the input of this parameter.
In view of the abnormal working of the focus function itself, please note:
1. Windows 10 focus belongs to the lock screen interface setting , without using any account to log in to the system, it may not be started by default
2. The main symptom is that the wallpaper does not change normally after locking the screen
3. This function requires a network connection. Make sure the network connection is normal
If the symptoms of 2 appear after meeting the conditions 1 and 3, you can try to repair it using the following method after logging in to the system as an administrator:
The above is the detailed content of How to solve the problem that Windows focus function cannot be enabled?. For more information, please follow other related articles on the PHP Chinese website!