TechRepublic : A ZDNet Tech Community

Microsoft Windows

Host: Mark Kaelin
Contact

How do I use Prey to help recover a stolen laptop?

Laptops are stolen all the time. And recovering a stolen laptop is made very difficult when steps have not been taken to help this task get accomplished. Prey is an open source application, available for Windows, Mac, and Linux, that can help you out when your laptop is stolen. Prey takes an ingenious approach to laptop recovery, because once it is installed, it will send timed reports to a configured e-mail address containing information describing its whereabouts. The information collected includes:

  • Status of the computer
  • List of running programs and active connections
  • Detailed network and WI-FI report
  • Screenshot of running desktop
  • A picture of the thief (if the stolen laptop is equipped with a Webcam)

Of course you are probably thinking that this is a lot of information to be sending out, especially since, with this setup, your laptop will be sending out this information even when the laptop isn’t stolen. Ah, but the creators have thought of that as well. You can configure Prey to send out the information only if it finds a certain Web URL that you created in the event of the laptop being stolen. We’ll address that in a bit. First, let’s look at how to get the program and install it.

This blog post is also available in PDF format in a free TechRepublic download.

Getting and installing

Before we start, you should know that Prey requires the .NET library. If your laptop does not have this installed, you will have to install it before you can work with Prey. First download the zip file from the Prey Download Page. Once you have that on your hard drive, unzip the file and open the resulting folder. Within this folder you will see a few executable files. The file you need to concentrate on is PreyConfig.exe.

Configuring Prey

Here is the information you will need to set up Prey:

  • URL: More on this later
  • E-mail address: This will be the address Prey sends all information to.
  • SMTP Server: The SMTP server Prey will use to send e-mail.
  • Port: The port the SMTP server will use.
  • SSL: If your SMTP server uses SSL, you will have to check this box.
  • Username: This is the username for the SMTP server.
  • Password: This is the password for the SMTP server.

In order to configure Prey, double-click on the PreyConfig.exe file. When the configuration window opens (Figure A), enter the necessary information, but do not enter a URL.

Figure A

If you don’t want to create an account with Prey, you can go the simple e-mail route.

One thing to note is that if you use Google’s SMTP server you will need to set the port to 587 and click the SSL checkbox.

Before you activate Prey you have to locate the PreyAgent executable command. To do this, click the Activate checkbox, which will open an Explorer window where you can locate the PreyAgent.exe file.

Once you have entered all the information, click the Activate button and you are good to go. Prey will begin to send information to the configured e-mail address in the time increment you have configured.

Setting up a URL

As stated earlier, the developers have created a way for you to pseudo-activate Prey should your laptop be stolen. What you do is create a URL that Prey can check for (it will do so at the time increment configured). When Prey finds that URL, it will then begin to send out the information to the configured e-mail address.

The URL you create is up to you, but make sure you have the capability of creating that URL from anywhere at any time. Say you own the domain http://www.mydomainishere.com. You can configure Prey to check for the URL http:///www.mydomainishere.com/STOLEN.html. If your laptop is, in fact, stolen, create a Web page with that address (you can just create a blank STOLEN.html file as Prey checks only for the existence of the address) and then you will begin to receive information at the configured e-mail address.

When you click the Activate button, a new window will pop up with a message telling you the configuration is OK.

Using the Prey Control Panel

If you choose to create an account on Prey’s site, you can take advantage of their Control Panel for more granular control of your stolen hardware. After you sign up for the service, you will get an activation key, which you will enter in the configuration screen. You will also have to add a new device in the Control Panel. Click the Add New Device button once you have logged in. In this new screen (Figure B), you enter a name, select the device type, select the OS, and then click the Create button. When you create the device, you will be given a device code that you will then enter into the configuration screen.

Figure B

You can add numerous devices here.

Problem

In order for Prey to actually work, it will have to be booted up and connected online. This can be avoided unless the first thing a thief does is format your hard drive. If that is the case, you are out of luck.

Final thoughts

Is Prey a perfect solution? No, but it is an interesting and well-executed solution that just happens to be open source and cross-platform. This enables pretty much anyone to have at least a slight chance of recovering a stolen laptop. And even the slightest assurance is better than none.

Stay on top of the latest XP tips and tricks with TechRepublic’s Windows XP newsletter, delivered every Thursday. Automatically sign up today!

Jack WallenJack Wallen is the host of the TechRepublic open source blog as well as a regular writer in the "10 Things..." and the "How Do I..." blogs. Previously, he worked at TechRepublic as the Editor in Chief of Linux content and was integral in creating the original Linux portion of TechRepublic. Jack has been using and advocating the Linux operating system for over ten years now and will continue his zealotry until the penguin finally reaches its goal of world domination. Read his full bio and profile.

Print/View all Posts Comments on this blog

Have you had a laptop stolen? Mark W. KaelinTechrepublic Moderator | 09/15/09
Never had one stolen, but I have a concern TelcoChuck | 09/16/09
Never had one stolen, but I have a concern roland54@... | 09/17/09
create seperate account jlwallen@... | 09/17/09
Encrypt the Drive JM1981 | 09/17/09
I'm not a laptop thief.....but paladin2 | 09/17/09
Open-source app requires .NET framework ?? MKeighley | 09/18/09
There are non-techs stealing laptops dwain@... | 09/21/09
RE: How do I use Prey to help recover a stolen laptop? been there, done that now going downhill fast | 09/16/09
RE: How do I use Prey to help recover a stolen laptop? CyberOptiq | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? dlhall@... | 09/17/09
Cyberoptiq is a team leader? been there, done that now going downhill fast | 09/18/09
RE: How do I use Prey to help recover a stolen laptop? jonbaker_08_live.com | 09/16/09
RE: How do I use Prey to help recover a stolen laptop? mike.serrano@... | 09/16/09
Even if stuartc@... | 09/17/09
Inside Theft jbowling | 09/17/09
Sometimes, the data's more valuable than the hardware DittoHeadStL | 09/17/09
doesn't need to reformat it techr@... | 09/17/09
make it harder to Uninstall bjorn.goddijn@... | 09/18/09
RE: How do I use Prey to help recover a stolen laptop? brijesh_deo@... | 09/17/09
Technology already here. The_Home_Smithy | 09/17/09
There is a hack! ozchorlton | 09/17/09
but... paladin2 | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? cynic 53 | 09/17/09
in developing countries onalethata@... | 09/17/09
Won't work with FDE/pre-boot authentication Daniel.Muzrall | 09/17/09
Loss of Data shouldn't hurt dwain@... | 09/21/09
what translation issue? JSmotherman | 09/17/09
Please ignore Mark W. KaelinTechrepublic Moderator | 09/17/09
hack login vs reformat? ZoomZoom | 09/17/09
BIOS level program? CalTec | 09/17/09
or Laptop Cop paladin2 | 09/17/09
Easy to wipe passwords jimrinflorida@... | 09/17/09
rereformat - nah, they will steal your bank/work account info tony@... | 09/18/09
RE: Prey? Bad idea period. bad-idea | 09/17/09
RE: Bios level protection rshaw@... | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? rogerwal | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? dawid.dekock | 09/17/09
Think like a thief Skibum | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? yonman | 09/17/09
Tracing the laptop is the least of the problem luis@... | 09/17/09
Just Nuke It migv1@... | 09/17/09
I like your idea....a lot paladin2 | 09/17/09
Couldn't travel with C4 on airplane tony@... | 09/18/09
Is the obvious missing? igtddave@... | 09/21/09
Thanks for sharing techr@... | 09/17/09
NUKE the file system, PREY is moot techrepublic@... | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? edward.j.obrien@... | 09/17/09
.NET Framework nolamatt09 | 09/17/09
.NET Framework edward.j.obrien@... | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? NCWeber | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? kandyass@... | 09/17/09
Re: How do I use Prey to help recover a stolen laptop? ahafez@... | 09/17/09
Stolen Laptops reisen55@... | 09/17/09
And I just stole your car SinisterSlay | 09/17/09
Claim on the insurance? UsersRevil | 09/17/09
How do I activate Prey after installing using email instead of URL? gealogom@... | 09/17/09
Let it go man, because it's gone. marcpen@... | 09/17/09
full nuke is the answer bhughes55@... | 09/17/09
No matter the method... TexDad | 09/17/09
Taking out the HD won't work marcpen@... | 09/18/09
Not entirely true tony@... | 09/18/09
RE: How do I use Prey to help recover a stolen laptop? azizurrehmans@... | 09/17/09
RE: How do I use Prey to help recover a stolen laptop? goldi.raj9@... | 09/18/09
Comparison to other programs - LoJack cwilson@... | 09/18/09
Lojack has Recovery Service tony@... | 09/18/09
I use the BIOS method - LoJack hapecat | 09/18/09

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



Administrator's Guide to TCP/IP, Second Edition
Maintain your critical TCP/IP system and ensure reliable, safe remote access. Get the expert advice and solutions to handle Windows networking, Cisco routing, documentation, and troubleshooting.
Buy Now
500 Things Every Technology Professional Needs to Know
Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
Buy Now

SmartPlanet

Click Here