View Single Post
Old 05-07-2008, 02:23 AM   #84 (permalink)
Hain
has a plan
 
Hain's Avatar
 
Location: middle of Whywouldanyonebethere
I have created a simple but interesting locking mechanism on my Win XP system. I use KeePass to manage all my passwords. For portability I have KeePass installed on my flash drive. In essence, if my computer cannot find my USB drive with my KeePass KDB when booted up, it will lock the users out.

Things needed:
  • TweakUI (or have your computer set to automatically log into a user)
  • Fastkake
  • USB or other portable memory device

Follow these steps
  1. Use TweakUI to set your computer to auto login into your account ("Logon" > "Autologon")
  2. Have a file on your USB drive that you will never rename or get rid of
  3. Install Fastkake to somewhere on your computer
  4. Open Notepad and type out a code similar to this one
    Code:
    @E~CHO O~FF
    I~F E~XIST "J:\Augi_Database.kdb" copy /V /Y "J:\Augi_Database.kdb" "D:\My Documents\Augi_Databse.kdb"
    I~F N~OT E~XIST "J:\Augi_Database.kdb" "C:\Program Files\fastkake\FastKake.exe" lockscreen
    • remove the "~"
    • Replace the directory and file specific stuff with your own stuff
      Save that file as "lock_my_screen.bat" ("any file", with quotes) to... your desktop
  5. Go to your Start button, right click, and click "Explore"
  6. Navigate to "Startup" ("Programs" > "Startup")
  7. Move the BAT to that directory.
Easy as that.

I am open to suggestions.
__________________

Last edited by Hain; 05-09-2008 at 06:37 AM..
Hain is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62