Windows Tips 'n' Tricks II

Windows Tips 'n' Tricks II

Nikhil Rastogi, Apr 20, 2008 1126 hrs IST

AVIs bringing your PC down? Vanishing system restores? Here's how to fix 'em and tweak the blues away!

Next Page

Deleting Obstinate AVI Files

Have you ever had the problem that whenever you click on a particular, large AVI file (700 MB or bigger), Windows stops responding, with the CPU jumping to 100% usage? You can neither view the video, nor rename it, nor move or delete it. And this becomes an even bigger problem when you may have many files in a folder with thumbnail view on.

This problem generally occurs because the large AVI (700 MB is considered large) has no indexing information; it is absent in the file. Due to this, Windows tries to process each and every sector of the file to acquire the information, which can take a very long time - up to two hours or more.

So what makes an AVI corrupt?

1. The AVI structure might have gotten corrupted during download.
2. Partially downloaded files are considered corrupt as they are incomplete (but are still viewable many a time).
3. Some codecs or conflicting codecs (those that let the player play the movies) can cause this behaviour to occur.

There are several ways of fixing this but before I mention the tip to rectify the problem, note that these ways are unsupported by Microsoft; if you continue, you'll be doing so at your own risk. Nevertheless, this tip has been tried and tested. If you are more technically inclined, you can read it at the Microsoft site -- it's a solution suggested by the community. Microsoft recommends fixing this issue and a whole lot of others by updating to the latest Service Pack through Windows Update. If you have no patience for that -- it can take hours if you haven't kept abreast with the latest patches -- here is the manual way.

What this (manual) way does is, it removes the previewing of media files altogether (that means no thumbnails); this applies to only media files such as audio and video, and not photo files such as JPG, BMP, GIF, or PNG.

To remove previewing of media files:

1. Click Start | Run



2. Type in regsvr32 /u shmedia.dll. Click OK.



3. In an instant, you will get a dialog with the message "DllUnregisterServer in shmedia.dll succeeded."

To re-enable previewing of media files, do the same, except that you should now type in regsvr32 shmedia.dll. It's the same text without the /u.

You can do the same for photo formats if you like:
To remove photo preview, run regsvr32 /u shimgvw.dll.
To re-enable photo preview, type in regsvr32 shimgvw.dll (without /u).

This is a blanket solution which cures any and all problems associated with previewing media files, whether it is video or audio. If the problem started to occur after, say, installing a different codec pack to view a movie, simply removing the codec pack in question should solve the problem.

If you don't want to disable and re-enable previewing of files, there is another solution that requires Registry-tweaking. What we are going to do in this solution is, allow us to access the file in question without Explorer crashing. Access equals clicking on the file, renaming it, moving it, or deleting it.

1. Click on Start | Run



2. Type in regedit and press OK.



3. What you need to look for is this PropertyHandler key under HKEY_CLASSES_ROOT. The easiest way to do this is to right-click on HKEY_CLASSES_ROOT, click Find, and type in SystemFileAssociations with no spaces.

4. Once regedit finds this, you need to go to PropertyHandler a few folders below. Therefore the entire path would be HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler.



5. In the right pane, right-click on Default, hit Delete, and then Yes to confirm. You'll need to close any open programs and restart the PC.

Personally, I prefer disabling preview of media files while keeping photo previews on, as previewing video files is just plain useless. When videos are previewed, basically only the first frame of the video appears, which may be plain black due to the fade-in effects. Plus, disabling preview speeds up browsing in the folder, and it's a lot safer to use a non-Registry trick. Nevertheless, it's a personal choice; feel free to use either of the methods.

Next Page



Write a comment

       (All fields are mandatory.)

Text Limit = 255 Characters

Type the characters you see in the picture below.

#

Characters are not case sensitive.

USER COMMENTS

just a help from me too when there is system restore on u will find a folder (start nero + add files+ go to C drive+where u find a folder system volume information) or type C:\system volume information when u open that folder u will find all ur backup file but wid other name so copy them & paste to ur other drive & also if ur pc is infected by virus & u use system restore to back stage ur infected files r there in above mentioned folder so delete that file too

by Abhishek, Raipur, on Apr 21, 2008 07:58 PM, Report abuse   Reply

Thanks for that wonders from Asmara

by hamdani, Asmara, on Apr 25, 2008 07:04 PM, Report abuse

Thanks for knowledge. But many r known facts. Try to include some unknown, astonishing and new one's.

by Vinod, Bangalore, on Apr 25, 2008 02:36 PM, Report abuse   Reply

u rock dude, thank u :) i like all ur stuff

by Jaideep Singh, Karnal, Haryana, on Apr 24, 2008 05:53 PM, Report abuse   Reply

ausome

by ankur bhardwaj, Meerut, on Apr 23, 2008 04:17 PM, Report abuse   Reply

i really like this. plz keep sending me hese type of mails

by sujan, hyd, on Apr 22, 2008 01:03 PM, Report abuse   Reply

2 things one should know about system restore....a. it never helps when u need it and b. as yogeshb329 from New Delhi says whenever ur pc is infected by anything when system restore is on...consider all ur restore points infected too...so as far as i see, i always disable the service as i call it a waste fo time and resources...however, many may not share my view but jus another peice of crap from microsoft..... hey dude this article is jus too basic and not that informative for many noobs who would be looking out for such stuff...

by Vishal_Kadakia, mumbai, on Apr 21, 2008 07:17 PM, Report abuse   Reply

System Restore is always useful. Specially if u r person like doing R & D. If we are tweaking with some system settings or registry and accidentally u have done something wrong and didn't understand what to do, system restore will always become useful at that time.

by Atul, Mumbai, on Apr 21, 2008 08:17 PM, Report abuse

And you have forgotten to mention a very critical disadvantage of System Restore. Everytime there's a viral or trojan attack, erst assured the goose for your PC is cooked and ready for disaster. S.R. will create back of each attack. Until you delete all the restore point you'll never be able to disinfact the machine. Go ahead talk to any vaccine designer and he'll advise to keep S.R. off particularly on your system drive such as 'C'

by yogeshb329, New Delhi, on Apr 20, 2008 11:27 PM, Report abuse   Reply

VIEW ALL LATEST

Sanyo Develops 12x Blu-ray

News > Gadgets , October 07, 2008 1158 hrs IST

Can hold up to 100GB ...

Halo Wars: Trailer Out Now

News > Gaming , October 07, 2008 1203 hrs IST

Features all the elements of real-time strategy game ...

Hybrid Refrigerators for Rural India

News > Consumer Electronics , October 07, 2008 1058 hrs IST

Cheap, efficient cooling that won't pollute ...

Sega To Return From The Dead

News > Gadgets , October 07, 2008 1053 hrs IST

Will bring us new portable console next year ...

Make Music with Pi

News > General , October 07, 2008 1104 hrs IST

Unique way to create 'house' music ...

 

USER REVIEWS

MOST POPULAR NEWS

Hide
News

Could A DVR Save Your Marriage?

News | Consumer Electronics | 04 Sep 2008

...Or should you stick to your shrink?

News

Firefox Counters Chrome's Speed Test

News | Internet | 04 Sep 2008

According to Mozilla's SunSpider test, Firefox 3.1 is 28% faster than Chrome on ...

News

Nokia N96 for Rs. 40,000?

News | Telecom | 04 Sep 2008

False alarm everyone... We have learnt from Nokia that the N96 will be priced be...

MOST POPULAR REVIEWS

Hide

MOST POPULAR GAMES

Hide

MOST POPULAR DOWNLOADS

Hide
Downloads

Forbidden.exe

Downloads | Games | 02 Sep 2008

Downloads

md5deep

Downloads | System Tools | 04 Sep 2008

Downloads

RivaTuner

Downloads | System Tools | 03 Sep 2008