Thursday, August 28, 2014
When Android Music Players Did Not Show All Songs on an External SD Card
Unfortunately, the indexing can sometimes be incomplete. When I started up a music player, -- either the Samsung Music Player or the Google Music Player, it did not matter -- I saw some of my songs, but not all of them. I could browse into the folders on the micro SD card and play each of the missing files, but I just could not find them inside the music player.
My files are inside the "Music" folder, and I do not have a file named ".nomedia" in there.
So I decided to try to get my phone to re-index the SD card. Here are my steps:
1. I turned off the phone.
2. I removed the micro SD card.
3. I restarted the phone to let it know that I no longer have a micro SD card plugged in.
4. I turned off the phone again.
5. I re-inserted the micro SD card.
6. I restarted the phone to let it know that I now have a micro SD card plugged in again.
Sure enough, Android started scanning the micro SD card to index files on it. At first I was a little nervous, because the music players where showing even fewer files than before. But after a while, all mp3 files are found, and my problem is now solved.
Sunday, August 3, 2014
Fix Windows 8.1 Cannot Launch “PC Settings” or “Store” Problem
On my Windows 8.1 Desktop Computer, I have two user accounts. One is connected to my “Microsoft Account” online. It was created when I installed Windows 8.1 on this PC. The other is a Windows domain user account. It was setup when I joined this PC to a local Windows domain.
In the “Microsoft Account”, I am able to run all “Metro Apps” or “Modern Apps”. I can go to “Microsoft Store”, etc. Everything seems to work fine.
But in the domain user account, there are all sorts of problems. In the “Action Center” of the control panel, I kept getting errors saying that I needed to enter a password to connect to a “Microsoft Account”. But when I clicked on “Enter Password”, the “PC Settings” app flashed on the screen, and nothing followed. An icon for “PC Settings” showed up on the task bar, but when I clicked on it, a gigantic “PC Settings” icon flashed by, and still nothing happened. In the event log, I saw the following:
“Activation of app windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel failed with error: This app does not support the contract specified or is not installed. See the Microsoft-Windows-TWinUI/Operational log for additional information.”
I searched online, and it turned out that this had to be fixed by running three powershell commands from an administrator command prompt:
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\camera\AppxManifest.xml
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\FileManager\AppxManifest.xml
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml
The link is here:
It turned out that this “Add-AppxPackage” command is a cure for the “Microsoft Store” problem as well:
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml
The link is here:
The Microsoft Store error in the event log looked like this:
“Activation of app winstore_cw5n1h2txyewy!Windows.Store failed with error: This app does not support the contract specified or is not installed. See the Microsoft-Windows-TWinUI/Operational log for additional information.”
Obviously this is not something that we outside of Microsoft could have figured out on our own. But if this happens every time when a domain user is added to a Windows 8.1 machine, I wonder why Microsoft has not patched it.
Perhaps few in the corporate world care about the “Modern Apps” or the “Microsoft Store”. That cannot be good news for Microsoft. Then again Windows patches have been making my PC not bootable from time to time in the last few months. It seemed to have been caused by an “AMD WDDM1.3 driver update”, but I am not certain. Until I am certain, Windows auto update has to stay at “Off”.