Solved

Looking for a way to set Windows application to self-destruct (stop running) like a trial version

Posted on 2013-01-24
1
350 Views
Last Modified: 2013-02-01
We had a program written which contains time-sensitive materials. We would like to allow users to install the program for a fixed time, such as 180 days, and then the application will just stop working. Can someone suggest tools or utilities or strategies for implementing time limited installations for a Windows program?
0
Comment
Question by:Shannon Mollenhauer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 250 total points
ID: 38815766
On the first run, the application creates an obscured registry entry, somewhere under HKCR.  Run Process Monitor, monitor registry operations and find the place that will be hard to tell from others.

In that place store the installation date in encrypted format, so it can't be easily recognized by eye.

On application start, check that registry value and compare to 180.

Be prepared to the fact that determined hackers will still crack your protection, and also to the fact that if your application becomes anywhere near popular, the crack will be created and published.


As an alternative, consider cryptography-based approach:
http://jclement.ca/devel/dotnet/reallysimplelicensing.html
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question