Pages

Thursday, 19 February 2015

How to get rid of mdi064.dll Windows startup error message

Every morning I just start up my PC just to see the hell of popups and malwares starting up. However I happened to clean up all of em except this loner,

The message read:
            "There was a problem starting                                                                 
              C:\User\admin\AppData\Local\Temp\\mdi064.dll
              The specific module could not be found"

And I was really frustrated about this little popup and din't know how to get rid of it anyway.

Some sites suggested that I download and run a full system scan of the free version of Malwarebytes.

So, I want to know where these startup programs run from and found the msconfig command.

Some info about why this is a Malware:

  •   The library "mdi064.dll" has been detected as malware by 8 anti-virus scanners.
  •   It is automatically set to start up on every windows logon via the current user registry key 'tsiVideo'
Now, How to disable this item from starting up,
     Windows key + R and type the run command "msconfig"

And press Enter key, and now you will see "System configuration utility" interface

Check for this "tsiVideo" Startup item and disable it(Remove the checkbox). This is the bugger which contains the startup link to the mdi064.dll file located at "C:\Users\admin\AppData\Local\Temp\\". Since its detected as a malware and deleted by your antivirus software, it will no longer be available at that location and shows the dll file is missing.

After disabling this item, restart the computer to take effect. And you will no longer see this weird popup again.

If you still have any problems facing mail me or leave a comment. I'll be at your help anytime.



Saturday, 7 February 2015

How I installed Android's Lollipop update on my Moto G2

I got a system update notification from the Motorola Notification Services on 3rd Feb 15(What better gift I can get on my birthday).



I clicked on the notification and the above displayed "New system software available". Tapped "Yes, I'm in" to download the update.

The update software is almost ready to install,


When the download is finished, tap on Install now. But please make sure you have at least 50% to 60% battery charge available so that you don't end up into any issues. If you don't have enough charge available on your phone just click "Later" and once your battery is sufficient you can install the update from System Update in Setting menu. You don't have to download it again. And you cannot make or receive phone call during the update process. I had exactly 50% charge while still in charge so I clicked on install now.

Once clicked on Install your phone restarts once the update is installed and the version is shown with the "Update complete" message. As you can see the recent apps section is smooth and line up one after another back to back.

Goto Settings -> About -> Android Version -> Tap 5 times,
The all new Android Lollipop version 5.0.2

Taste the flavour of Lollipop on your phone and enjoy playing with it coz I do.

Thursday, 22 January 2015

Fix a clr20r3 Error

1. Click Start button, click All Programs, click Accessories, then right-click Command Prompt, in the right click menu, please click Run as administrator.
2. Type the following commands, press Enter after each line. 

regsvr32 atl.dll
cd C:\WINDOWS\eHome
ehSched /unregServer
ehSched /service
ehRecvr /unregServer
ehRecvr /service
ehRec.exe /unregServer
ehRec.exe /regserver
ehmsas.exe /unregServer
ehmsas.exe /regserver

Monday, 5 January 2015

Building Rest API with Spring Webinar

Watch a webinar on how to build Spring MVC application with Spring REST Api and the questionaire by webinar attendees.

Monday, 22 December 2014

How to generate a random String in Java

The following function can be used to create a random string.
 private String getRandomString(int len){
    final String AB = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";  
    Random rand = new Random();  
    StringBuilder sb = new StringBuilder(len);
    for(int i=0; i<len; i++)
         sb.append( AB.charAt( rand.nextInt(AB.length()) ) );  
    return sb.toString();  
 }

You can call this java utility method to generate a random String of the choice of your own length.

Syntax:
getRandomString(int length); 

Note:Here length is the parameter which accepts the integer type and generates and returns a length character String.

For example:
     This is how you use this utility method.

 String randomStr = getRandomString(4);
 String ranString = getRandomString(8); 

Sample output(s):

gY5C
79V6yy2x    

Monday, 16 December 2013

Recover files on pendrive that has been changed to shortcuts

Getting back to the topic, to recover your data (which is converted to shortcuts), just follow these simple steps:
  • Connect your pen/flash/external drive to your computer.
  • Go to My Computers and check what drive it is assigned for example F: or G: drive. Lets assume its G: (replace it with correct letter as applicable in your case).
  • Click on “Start” –>”Run”–> type cmd and hit OK. This will start command prompt.
  • Enter the following command and hit “Enter”.
    attrib -H -R -S /S /D G:\*.*
  • Now check the pendrive for the files.
    If the above command doesn't work then use a third-party tools that you can find on the internet. One cool tool i found is Piriform's  Recuva.

    Recuva recovers files deleted from your Windows computer, Recycle Bin, digital camera card, Memory Sticks, or MP3 player. And notably it's free of cost. Post your comments if you found any helpful or better tools.

Sunday, 13 January 2013

How to Install Smarty on Windows

Installing Smarty on Windows

This document assumes that you have configured PHP5, Apache Webserver already.
  1. Download Smarty
  2. Unzip the content of Smarty zip file to smarty folder. So it appears as  C:/server/smarty
  3. Create two folders templates_c  and cache inside it. So it appears as C:/server/smarty/templates_c and C:/server/smarty/cache
  4. Browse to PHP Installation Directory and edit php.ini's include_path and add the location of the libs folder. Example: include_path = ".;C:/server/smarty/libs/;"
  5. Restart IIS/Apache
  6. Create a new folder in htdocs (root) folder and rename it to smarty. C:\server\htdocs\smarty
  7. Create two folders configs and templates inside it. C:\server\htdocs\smarty\configs and C:\server\htdocs\smarty \templates
  8. Smarty configuration is done. Create two scripts index.php and index.tpl to test Smarty template engine.
  9. Place index.php inside C:\server\htdocs\smarty and index.tpl inside C:\server\htdocs\smarty \templates
  10. Open the web browser and type in the URL http://localhost/smarty.

index.php

<?php

// load Smarty library

require('Smarty.class.php');

$smarty = new Smarty;

$smarty->template_dir = ‘C:\server\htdocs\smarty \templates’;

$smarty->conf ig_dir = ‘C:\server\htdocs\smarty\configs’;

$smarty->cache_dir = ‘C:/server/smarty/cache’;

$smarty->compile_dir = ' C:/server/smarty/templates_c’;

$smarty->assign('name','Lucky!!');

$smarty->display('index.tpl');

?>

index.tpl

<html>

<body>

Hello, {$name}

<body>

<html>