Monday 26 June 2017

Android mediaserver process killing battery life


If this happens to you, then do the following

  1. Force stop on Settings, Applications, All, Media Storage.
  2. Clear Cache and Clear Data, for the Media Storage application
  3. Unmount SD card
  4. Take out your sd card and put it in computer
  5. Find the LOST.DIR folder and delete it from the card
  6. Put the card back into the phone
  7. Reboot the phone
Got this from here...

Solution 1. Clear media storage data

The simplest solution is to clear media storage database and let it restart the process from scratch. Chances are this will fix most of the issues with Mediascanner/Mediaserver. Do the following, and it should help ease-out the pain:
Settings > applications > Media Storage > clear data, force stop and reboot.



Read more: http://geeknizer.com/fix-android-media-server-scanner-sdcard-cpu-battery-drain/#ixzz4lIDijXJ7



Friday 2 June 2017

Visual Studio Work Item Images broken

The case of the missing image…

image

Turns out this was due to my old windows credentials being cached on the tfs server credentials cache.

To fix this, I logged onto the tfs server directly via my admin account and updated the credentials there in the windows credentials manager.

Also ran fiddler in the background and cleared the winnet cache as well

Then it refresh a few times on the work item ticket back in visual studio, and hey presto they are all showing again.

How to find the last interactive logons in Windows using PowerShell

Use the following powershell script to find the last users to login to a box since a given date, in this case the 21st April 2022 at 12pm un...