Windows

Using autorun.inf to display a web page when a CD is inserted

January 7th, 2005

I was making up a CD of documentation for someone at work today. Rather than just dump a collection of PDFs on the CD, I thought I'd use a modified version of the PDF list on our intranet to provide a more easy to use front end. The PDF list is a web page containing links to the PDFs - so you can open the PDF in your browser by clicking the description of the document on the web page. Having burnt CD, I thought it would be useful for the Support engineers to take with them when they were working offsite, so I offered to burn them copies. Andrew Waterson (one of the Support guys) came up with the bright idea of putting an autorun.inf file on the CD to automatically open the web page when the CD is inserted into the drive (provided your using Windows and autorun is turned on). He pointed me to this site: www.ashzfall.com/products/autorun/browsercall.html This provides a very nice executable file (typically, but not necessarily, called browsercall.exe) that you put on the CD and call from the autorun.inf file, with the name of the web page you want to open as a command line parameter value. For example, to open index.html, the autorun.inf file (a simple text file) just needs to contain:
open=browsercall.exe index.html
It works a treat!

Leave a comment

 

Word 5.1 nostalgia

June 23rd, 2004

I came across an interesting article on Wired News about the greatness (in many people's minds) of Word 5.1: www.wired.com/news/mac/0,2125,63848,00.html and a riposte by Davide Guarisco: www.wired.com/news/rants/0,2350,63931,00.html in which he writes: While I confess that I wrote my Ph.D. thesis in Word 5.1, I now look back and marvel at how ignorant and naive I was at the time ... Yes, Word 5.1 may be the best version of Word ever, but my esteem of Word has gone way down. Now that I have gotten to know FrameMaker and LaTeX, I realize that Word is nothing more but a completely wrong-headed approach to word processing (and a horrible piece of software, too). Now I think that Word is like a cancer, an evil virus pervasive because of ignorance. Get rid of it!

Potentially similar posts

Leave a comment



Getting rid of adware

May 26th, 2004

I've been a serious computer users for years but until a few days ago I'd never been bothered by, or even particularly aware of, adware. If you are in a similar state of blissful ignorance, adware is (according to www.webattack.com): "is a product that is available for free and in exchange displays advertising banners within the software interface. Instead of you having to pay for the software, the company creates revenue by selling advertising space in the software product. Adware will usually install additional third party components on your system and may exchange statistical data with a remote location over the internet." This makes it sound fairly innocuous. However, there's another variety of adware: the kind that manages to install itself on your computer without your consent and does some stuff you didn't ask it to (like changing your home page and stopping you changing it to anything else) and does other stuff you are unaware of (like using your internet connection to register hits on pay-per-click websites you've never heard of. Internet Explorer, being the most widely used browser, is the browser that is most prone to attack by this type of adware. You can pick it up by clicking what purports to be a Close button on a web pop-up (usually a little advert or a fake Windows message box that appears when a web page loads). There are lots of other similar ways you can pick up these things. They can't get onto your machine without some action on your part, but the makers of adware (just like the makers of viruses) put a lot of thought into coming up with ways of tricking you into making that click that will install their software on your machine. I use Mozilla's Firefox as my default browser. Firefox is less prone to attack, partly because of the way it was written but mainly because it offers a smaller target for the creators of adware, so they tend to focus their attention on Internet Explorer. Although I don't use IE, other users of my computer do, and I occasionally have to use it for annoying sites that insist you "upgrade" your non-IE browser to the latest version of IE. I was listening to some radio-on-demand from the BBC's website last week (because the BBC radio player doesn't work properly on Firefox) when I noticed that there were a whole raft of entries in my Favorites that I didn't put there (including a category labelled "Adult Entertainment"). I was annoyed, but I just deleted them and continued. A while later I opened IE again and noticed that my Google toolbar had gone and in its place was a search toolbar I'd never seen before. When I looked in my Favorites, lo and behold, there were all the entries I'd previously deleted. I deleted the rogue Favorites again, but I couldn't figure out how to get rid of the toolbar, so I ended up just hiding it and redisplaying the hidden Google toolbar. However, next time I opened IE, guess what, the toolbar and Favorites were back again. This time I also got a search toolbar across the bottom of my Windows desktop. When I closed IE I discovered I'd also got another IE window, behind everything else, with an advert in it. It was time to sort this out. After quite a lot of digging around, I discovered that I'd picked up one of the many so-called "Cool Web Search" adware programs (CWS for short). These programs try to get you to use a search engine which clocks up pay-per-click counts for whoever it was that wrote the adware. Someone, somewhere is making money out of you. The first thing I tried to get rid of this was a little application called CWShredder, which you can download from: www.spywareinfo.com Unfortunately, for me, this didn't work. I then tried Lavasoft's Ad-Aware. You can get this by going to www.download.com and doing a search of the Windows category for "ad-aware". Like CWShredder, Ad-aware is free. Unlike CWShredder it is a full-blown application, and a very slick, professional one at that. I updated the reference files and scanned my entire machine. Ad-aware found 38 potential problems. I chose to remove them all and when I opened up IE again: no more toolbar, no unwanted Favorites, no Windows search bar and no pop-up advert. Success! Or so I thought. A few days later and none of these annoyances had returned, but I noticed that if I typed an incorrect URL into the address bar, instead of going to the usual "The page cannot be displayed" page, I went to a horrible-looking search page that resided on a temp directory on my local machine. The URL of this page was: C:\Documents and Settings\\Local Settings\Temp\Dart deaf list.htm#URLyouwanted.html The bit after the # always contained the URL you had typed in. At first I thought this was something to do with IE's autosearch facility. There are plenty of adware programs out there that exploit the default IE search page. If this is your problem, see: http://support.microsoft.com/default.aspx?scid=kb;EN-US;179402or http://www.geekgirls.com/net_hijacked.htm The adware trick here is making changes in the Windows Registry settings for IE. However, when I looked, my settings were all okay. After some more reading and experimenting (e.g. disconnecting from the internet and trying to reach a known website) I figured out that every time I went to any page via IE, I was in fact going first to this page and then on to my requested destination. However, the devious part was that this happened covertly, and in between going to this page and the page that actually got displayed, I also invisibly visited lots of other sites – again to clock up hit counts for someone. I tried updating CWShredder and Ad-Aware and running them again. Ad-Aware found more adware – but just tracking cookies this time. It didn't get rid of the problem. I then tried Spybot Search & Destroy. You can get this from: www.safer-networking.org I scanned my whole machine and it picked up a handful of threats, which I removed, but my IE problem didn't go away. I continued to read more on the subject and I realised that my problem was an IE extension. I tried going into Tools > Internet Options in IE, clicking the Advanced tab and clearing the checkbox labelled "Enable third-party browser extensions (requires restart)". Sure enough, after the restart, my problem was gone. However, so was my Google toolbar, which I really wanted to keep because I use it all the time. Eventually – and yes, there is a happy ending to this long tale – I downloaded and ran ToolbarCop. You can get this at: www.mvps.org/sramesh2k/toolbarcop.htm Again, the base version of this app is free. It's not as professional-looking as Ad-Aware, but it's a very useful, very clever tool. It shows you all the Registry entries for IE extensions: toolbars, toolbar buttons and "browser helper objects" (BHOs). My problem wasn't a toolbar or a toolbar button, so I check the list of BHOs. Clicking on each hex key gives you a description of the BHO and the path to the related file. I had seven keys. Six of them had seemingly legitimate related files. The other one had the description "Web Ace" and the related file: C:\PROGRA~1\64bows\IntraAmok.dll I went to the C:\PROGRA~1\64bows directory (which, in fullname format is C:\Program Files\64bows and found three files:   23635.exe   IntraAmok.dll   nounboltspam.bin That last one if a binary file that, judging by its name, probably generates a variety of names for the dummy search page it puts in C:\Documents and Settings\\Local Settings\Temp\. So the name I got was "dart deaf list.htm" but you might get something completely different. Incidentally, the beauty about generating the search page in this directory is that it gets deleted when you close IE, making it much harder to detect. ToolbarCop lets you to disable a Registry key, allowing you to see what effect that has. Sure enough, when I disabled the "Web Ace" key, my problem was solved. For good measure I also deleted the 64bows directory. The moral of the story is be vigilant: watch out for adware. Don't think a firewall or anti-virus software will protect you – it won't. I have a dedicated firewall machine, running Smoothwall, and I have ZoneAlarm on my PC. I also keep Norton AntiVirus up to date. None of this stopped me picking up several covert adware programs. I thoroughly recommend Ad-Aware and, for getting rid of unwanted IE extensions, ToolbarCop. These are free programs and they are extremely useful – but, like any software you download off the internet, be careful where you get them from. Something purporting to be an adware or spyware remover may be something nasty in disguise. Watch out. Finally, make regular system backups as well as data backups. Before you use ToolbarCop, or before you edit the Registry by any other means, always use the Windows System Restore tool (usually in Start > Programs > Accessories > System Tools > System Restore) to make a restore point. I hope, if you've been affected by adware, that reading this article has prevented you spending the hours and hours that I spent scouring the internet for help.

Leave a comment



Stopping msmsgs.exe

January 28th, 2004

I use Zone Alarm Pro. This morning I finally got round to upgrading my Norton AntiVirus 2002 to 2004. I then noticed that among the messages Zone Alarm throws up was one about msmsgs.exe, and it kept coming back every few minutes. I would click "No" every time, to block the program from running, but a few minutes later the same message would pop up again. I went into the programs list in Zone Alarm and blocked Messenger, but that had no effect. I went into Windows Services (Start > Run > services.msc) and edited the Properties for the Messenger service, changing Startup Type from "Autostart" to "Disabled". No effect either. Eventually I tracked down the problem to one of the options in Norton AntiVirus. I should have made the connection between the upgrade and the Zone Alarm message quicker, but it was first thing in the morning and logice hadn't got past first gear yet. In Norton AntiVirus 2003 and 2004 you can set Instant Messenger options. One of them is the option to protect Windows Messenger. If you select that option, NAV run msmsgs.exe every few minutes, even if youâ € ™ve disabled Messenger in Services and blocked it in Zone Alarm. Removing the selection on this option solved the problem. For more details on how to stop msmsgs.exe, if the above doesn't work, see: www.itauthor.com/notes/stopping-msmsgs.html

Leave a comment



^ back to top ^

Page 12 of 12« FirstNewer89101112