Dragon Age + Windows 7 Backup

microsoft forums thread on the subject

If you install Dragon Age Origins to another drive, let’s say D:, it will cause Windows Backup tool to make image backup of D: drive too.

This is because Dragon Age  contains ”Updater service” which Windows considers part of the ”core system” and that’s why it creates image backup of D: too. If you don’t want to backup D: drive one option is to move the update service to c: drive and update service’s registry entry accordingly. Please see above link for more details.

Google Chrome and pdfs

This my story of struggle to get Google Chrome working nicely with pdf-files. First I will talk the symptoms and finally I will walk through the suggestions and fixes I found from the web.

So I first installed Chrome version (newest at the time of writing). I already had Acrobat Reader installed.

OK, so basically everything worked just fine,  pdfs opened inside Chrome using the adobe reader plugins. Unfortunately, there Acrobat Reader seems to have some problems on my computer so sometimes it just hangs indefinitely. The problem is that then the Chrome hangs…The whole program!…I know, I know it shouldn’t happen because Chrome should run each tab in its own process but it seems that some compromises has been made when it comes to plugins (like the Acrobat Reader plugin).

OK, I must admit that after you wait something like 10 seconds, Chrome asks if you want to shut down the non-responding plugins. After pressing OK, pdf-tabs come back alive by refreshing them.

This was unsatifactory for me, since the Adobe plugin hanged quite often.

I wanted to know whether the problem was the Acrobat reader or the plugin itself. I tested opening pdf files manually from explorer and found out that sometimes the whole acrobat reader just hanged and I had to force kill it. It’s quite safe to assume that this was the reason why the Chrome sometimes stopped responding too.

Solution Suggestion #1: Disable pdf viewing in Adobe Reader (Open pdfs outside the browser)

  1. Open Acrobat Reader, select Settings/Internet and uncheck the ”Display PDF in browser” checkbox.
  2. Restart chrome and open pdf file

When the option is unchecked, Chrome opens every pdf file outside the browser, therefore opening Acrobat Reader. OK, this might be good for some, but it didn’t resolve my problem since the Acrobat Reader itself hanged quite often.

Note: Chrome doesn’t handle this setting very nicely. When you press pdf hyperlink in page, let’s say ”http://www.site.com/report.pdf” it opens it outside the acrobat reader, but unlike you might expect the URL bar in Chrome still displays ”http://www.site.com/report.pdf” EVEN THOUGH the website is still displayed. None of the stuff in the website is clickable since the real URL is ”http://www.site.com/report.pdf”, not ”http://www.site.com/”. So ther must understand to press Back-button to get to the web page the link is on. Not very ideal, when compared to IE or FF, for example. At this point I can tell you that I haven’t found a way to Chrome work properly in this situation. So currently there’s no way (as far I can tell) to tell Chrome to open pdfs outside the browser, and not changing the url of the browser to the pdf. Chrome seems to be designed to use the pdf plugin and nothing else.

Solution Suggestion #2: Install alternative pdf viewer, Foxit Reader (Best I’ve found so far)

There exists alternative pdf readers, one of them is Foxit Reader. It’s free but has some ads displayed on the top corner. I thought that this might fix the problems I was having with Acrobat Reader.

I installed Foxit Reader normally and associated all pdf files to it. It worked very fast and didn’t show no problems. PDFs opened automatically using Foxit, as expected.

The problem was that Chrome still opened the files using the acrobat reader!!! This is against all expectations, definately Chrome should respect system’s defaults.

After digging deeper (Note:you can see the used plugins by writing about:plugins to the URL bar) it seems that that Chrome still uses Acrobat Reader pdf plugin and ofcourse the Acrobat plugin opens Acrobat Reader.

I’ve googled way to make Chrome use the Foxit Reader plugin but all suggestions didn’t seem to work (One of them suggested creating Plugins folder inside Chrome directories and moving the foxit plugin dll there, didn’t work for me.)

It seems that Chrome uses Acrobat Reader plugin nppdf32.dll located in

C:\Program Files (x86)\Adobe\Reader 9.0\Reader\Browser

If you just delete the file, pdfs don’t open at all in the browser so that doesn’t work. EDIT: Deletion is enough, and after that Foxit browser works.

What if we replace the file with the Foxit plugin (btw, it’s located in C:\Program Files (x86)\Foxit Software\Foxit Reader\plugins\npFoxitReaderPlugin.dll)

Well, it turns out that after this the Chrome opens pdfs inside the browser, using the Foxit Reader. I’m satisfied with the result, although it’s not perfect. Ideally I would prefer the pdfs opening outside the browser but please note the problems mentioned before.

By the way, the solutions might be easier if you just delete the Acrobat Reader alltogether and install Foxit Reader, probably then Chrome would understand to use Foxit. I’m not ready for this yet (until I’ve verified that Foxit displays the pdfs correctly).

Chrome seems to have some sort of weakness here, I think the user should be able to set which file is opened in what application.

Hopefully this helps someone. Please ask and comment!

For Reference: http://www.geekrant.org/2009/07/08/use-foxit-reader-in-chrome/comment-page-1/

How to Replace a System Program without Modifying System Files or Permissions

See this post. This can be used to replace notepad with other program, for example.

Under the registry key
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

create a subkey with the name of the exe you want replaced.
Add a string value called Debugger.
Modify Debugger with the command you want run.

When any user tries to run any executable with the name of the subkey, Windows executes the Debugger command with path\name of the original exe and all command line parameters appended. (Did that make sense?)

Solution: Vuze (azureus) seeds getting ’queued’ status

Wonder why your seed get queued even if you want them to be seeded?

The problem is vuze’s quite poor default values. To understand the problem let me explain a bit more how vuze determines whether to queue an item.

Vuze determines the queue status on few things (in this order):

  1. First Priority rules (Options/Queue/Seeding/First Priority). Items matching the first priority rules go to the top of the queue. Please note that first priority have ignore rules which override the ”matching rules”
  2. Ignore rules (Options/Queue/Seeding/Ignore rules). Items matching the ignore rules go to the bottom of the seeding queue and probably they will never seed.

Most forum posts mention ”correct” rules for ignore rules but fail to mention that First priority rules have their own ignore rules too.

I have attached my working settings but feel free to tune them for your connection and needs.

Disabling ”Open File – Security Warning dialog” in Vista (and XP SP2 onwards)

After little bit of googling I found how to remove that annoying security warning dialog (see image). This should also work in Windows XP. Here’s how to define file types ’less risky’.

  1. Run Local group policy editor by entering following command in the start menu ”gpedit.msc”
  2. Open User configuration/Administrative Templates/Windows Components/Attachment Manager and double click on the setting called ”Inclusion list for moderate risk file types”.
  3. Click ’Enabled’ and write file types you want to run without the open file security confirmation. I have ”.exe;.msi” in the text box (see image).

You could also use setting called ”Inclusion list for low risk file types”. Remember that changing either one of the settings is weakening your security! Open file security warning prevents accidental opening of email attachments, for example.

Edit: To remove confirmation dialog only from files that are opened from network drives you should consider other options (adding UNC paths to trusted sites, for example).

Vista 64bit video preview thumbnailit explorerissa

Update: These instructions does not seem to work in Windows 7, see this newer post for Windows 7.

Lataa guliverkli2:lta (SourceForge) 64bittiset versiot mediasplittereistä MatroskaSplitter.ax MP4Splitter.ax MPegSplitter.ax OggSplitter.ax. Sen lisäksi lataa ffdshow-tryouts 64bit versio ja aseta se purkamaan haluamasi formaatit. Tämän jälkeen rekisteröi .ax-splitterit seuraavalla command line skriptillä:

@echo off
echo copying files to system32…
cd D:\Apps\Video Splitters for 64bit (thumb gen)
copy /Y *.ax c:\windows\system32
cd c:\windows\system32

regsvr32 MatroskaSplitter.ax
regsvr32 MpegSplitter.ax
regsvr32 MP4Splitter.ax
regsvr32 OggSplitter.ax

echo filters registered


Uninstall proseduuri:

@echo off
cd c:\windows\system32

regsvr32 /u MatroskaSplitter.ax
regsvr32 /u MpegSplitter.ax
regsvr32 /u MP4Splitter.ax
regsvr32 /u OggSplitter.ax

echo removing filters from system32

del MatroskaSplitter.ax
del MpegSplitter.ax
del MP4Splitter.ax
del OggSplitter.ax

echo filters UNregistered