# IT/Programming Help

**URL:** <https://forums.speedlife.net/t/it-programming-help/242959>\
**Category:** Shift518 Off Topic\
**Created:** [March 20, 2009, 1:49pm UTC](https://forums.speedlife.net/t/it-programming-help/242959 "2009-03-20T13:49:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![99FRC](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/99frc/32/6335_2.png) [@99FRC](https://forums.speedlife.net/u/99FRC)\
**Post date:** [March 20, 2009, 1:49pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/1 "2009-03-20T13:49:02Z")

</div>

Hey guys. I’m working on a project where I am trying to set up a remote controller using a linux program that will run behind the windows OS.

Basically, here is the story. We give out a laptop. We want to be able to shut down the laptop in the event a customer falls behind on a payment.

I am not looking for code as much as i’m looking for logic to start with.

We would like to start out by having the PC check in with the host server. This is as far as I have got. I can easily track the laptop but im having trouble coming up with a way to control the features such as on/off since im working with Linux behind windows. I think this is where the problem is coming from.

The only real idea I have jotted down so far is to look into the possibility of canceling the product code on the PC so that the OS stops working. Once the payment has been made I can go ahead and restart the product code. The only problem im thinking will happen is that Microsoft dosen’t like one product code being used to many times so I think i’ve already shut that idea down. Any help appreciated…

---

<div class="post-metadata">

**Author:** ![bennyfizzle](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/bennyfizzle/32/6291_2.png) [@bennyfizzle](https://forums.speedlife.net/u/bennyfizzle)\
**Post date:** [March 20, 2009, 1:50pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/2 "2009-03-20T13:50:47Z")

</div>

I don’t know much about the subject, but anyone with a working knowledge of computers, namely simply reformatting, should be able to wipe whatever you do off the laptop easily.

---

<div class="post-metadata">

**Author:** ![Kicklow](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@Kicklow](https://forums.speedlife.net/u/Kicklow)\
**Post date:** [March 20, 2009, 1:54pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/3 "2009-03-20T13:54:48Z")

</div>

toss a remote kill switch so to speak on the power supply and have it be controlled remotely like a gps or onstar can kill your engine of u fall behind on ur payments

---

<div class="post-metadata">

**Author:** ![bennyfizzle](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/bennyfizzle/32/6291_2.png) [@bennyfizzle](https://forums.speedlife.net/u/bennyfizzle)\
**Post date:** [March 20, 2009, 2:01pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/4 "2009-03-20T14:01:21Z")

</div>

Is there any way to control the cooling fan?

You could program something that disables the fan so it only runs for a few minutes before it goes into thermal overload protection and shuts down.

---

<div class="post-metadata">

**Author:** ![99FRC](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/99frc/32/6335_2.png) [@99FRC](https://forums.speedlife.net/u/99FRC)\
**Post date:** [March 20, 2009, 2:03pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/5 "2009-03-20T14:03:40Z")

</div>

[quote=“Kicklow,post:18,topic:15890"”]

toss a remote kill switch so to speak on the power supply and have it be controlled remotely like a gps or onstar can kill your engine of u fall behind on ur payments

[/quote]

I think that would void warranties and is most likely not very cost effective.

---

<div class="post-metadata">

**Author:** ![Kicklow](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@Kicklow](https://forums.speedlife.net/u/Kicklow)\
**Post date:** [March 20, 2009, 2:05pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/6 "2009-03-20T14:05:13Z")

</div>

very true

---

<div class="post-metadata">

**Author:** ![99FRC](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/99frc/32/6335_2.png) [@99FRC](https://forums.speedlife.net/u/99FRC)\
**Post date:** [March 20, 2009, 2:07pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/7 "2009-03-20T14:07:46Z")

</div>

I think I came up with the solution:

What-ever checks when it fails rewrite the boot.ini with garbage and reboot the machine

Won’t be able to boot into windows.

Schedule a task at a daily interval which downloads a file from the host server.

Logic:

Reads the file is deactivate, is in the file run script to break boot.ini and reboot, if not, do nothing.

---

<div class="post-metadata">

**Author:** ![jays05](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@jays05](https://forums.speedlife.net/u/jays05)\
**Post date:** [March 20, 2009, 2:58pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/8 "2009-03-20T14:58:29Z")

</div>

You might want to look at and even possibly disassemble code from something like Lojack for Laptops… since you are looking for the same functionality. AFAIK it runs custom code in the bios which checks in with a server on the internet from time to time and a remote “kill” can be performed if needed.

What is this “linux behind windows” thing you talk about? Where is your code located, on the disk?

---

<div class="post-metadata">

**Author:** ![99FRC](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/99frc/32/6335_2.png) [@99FRC](https://forums.speedlife.net/u/99FRC)\
**Post date:** [March 20, 2009, 5:23pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/9 "2009-03-20T17:23:27Z")

</div>

Basically, we will have to download a program or application that is linux/unix based onto each computer. The program is what will contain the code for execution.

---

<div class="post-metadata">

**Author:** ![ninety1two40](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/ninety1two40/32/6332_2.png) [@ninety1two40](https://forums.speedlife.net/u/ninety1two40)\
**Post date:** [March 20, 2009, 6:42pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/10 "2009-03-20T18:42:39Z")

</div>

Look into a program called Safeboot, my work’s laptops use it for encryption. But on every reboot you have to enter a username and password, then when you log into windows, safeboot will sync with the server and check to make sure the local user/password list is acurate. If you remove the user they can’t get past the safeboot login during a reboot. From what I hear from the IT guys onsite, in order to reformat the drive you have to disable safeboot and/or it just takes a stupid amount of time.

---

<div class="post-metadata">

**Author:** ![Jimmerz](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/jimmerz/32/6370_2.png) [@Jimmerz](https://forums.speedlife.net/u/Jimmerz)\
**Post date:** [March 20, 2009, 7:11pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/11 "2009-03-20T19:11:50Z")

</div>

> [@The perfect time-waster for work](https://forums.speedlife.net/t/the-perfect-time-waster-for-work/15881/5):
>
> Hey guys. I’m working on a project where I am trying to set up a remote controller using a linux program that will run behind the windows OS.
> 
> Basically, here is the story. We give out a laptop. We want to be able to shut down the laptop in the event a customer falls behind on a payment.
> 
> I am not looking for code as much as i’m looking for logic to start with.
> 
> We would like to start out by having the PC check in with the host server. This is as far as I have got. I can easily track the laptop but im having trouble coming up with a way to control the features such as on/off since im working with Linux behind windows. I think this is where the problem is coming from.
> 
> The only real idea I have jotted down so far is to look into the possibility of canceling the product code on the PC so that the OS stops working. Once the payment has been made I can go ahead and restart the product code. The only problem im thinking will happen is that Microsoft dosen’t like one product code being used to many times so I think i’ve already shut that idea down. Any help appreciated…

well if its linux or unix behind windows then there has to be a unix or linux partition of some sort correct? if thats the case bypass win-blows all together and just code it to contact the server download a boot file to force it to bypass or overwrite windows boot.ini and just force it to loop or shut down or maybe boot linux or unix os that automatically scripted to log in by itself and connect to the server and once it finds a payment has been made another file is downloaded to reverse the boot options and presto win-blows now has control again? probly sounds easier then it is… if its even possible but i would think this day in age there has to be a way to do it.

---

<div class="post-metadata">

**Author:** ![99FRC](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/99frc/32/6335_2.png) [@99FRC](https://forums.speedlife.net/u/99FRC)\
**Post date:** [March 23, 2009, 6:30am UTC](https://forums.speedlife.net/t/it-programming-help/242959/12 "2009-03-23T06:30:10Z")

</div>

Yea I came up with something that seems to be working. I am still tweaking it but it works.

---

<div class="post-metadata">

**Author:** ![PhunkFX](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@PhunkFX](https://forums.speedlife.net/u/PhunkFX)\
**Post date:** [March 23, 2009, 9:36am UTC](https://forums.speedlife.net/t/it-programming-help/242959/13 "2009-03-23T09:36:15Z")

</div>

What you’d have to do is make some kind of user lockout policy. You really cant do much to disable the machine, if you did and it wouldnt boot to windows… how would you revert back once the customer pays?

---

<div class="post-metadata">

**Author:** ![99FRC](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/99frc/32/6335_2.png) [@99FRC](https://forums.speedlife.net/u/99FRC)\
**Post date:** [March 23, 2009, 11:25am UTC](https://forums.speedlife.net/t/it-programming-help/242959/14 "2009-03-23T11:25:44Z")

</div>

> [@Moving Truck???](https://forums.speedlife.net/t/moving-truck/16017/21):
>
> What you’d have to do is make some kind of user lockout policy. You really cant do much to disable the machine, if you did and it wouldnt boot to windows… how would you revert back once the customer pays?

The client we are developing this for is a rent to own company. Basically they want software from us that will disable a pc and basically force the customer to bring in the computer to have it “fixed” and make a payment or it dosent get fixed.

Basically, we throw a garbage value into boot.ini so the pc won’t boot the OS.  
The customer then brings the pc in for repair and to make a payment. At which time we use a startup fix utility to repair the damaged boot.ini file.

---

<div class="post-metadata">

**Author:** ![bennyfizzle](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/bennyfizzle/32/6291_2.png) [@bennyfizzle](https://forums.speedlife.net/u/bennyfizzle)\
**Post date:** [March 23, 2009, 11:29am UTC](https://forums.speedlife.net/t/it-programming-help/242959/15 "2009-03-23T11:29:05Z")

</div>

Wow man that’s great. I need to get a real job. :rofl

---

<div class="post-metadata">

**Author:** ![jays05](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@jays05](https://forums.speedlife.net/u/jays05)\
**Post date:** [March 23, 2009, 2:34pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/16 "2009-03-23T14:34:12Z")

</div>

> [@car question (turbo honda)](https://forums.speedlife.net/t/car-question-turbo-honda/16030/2):
>
> The client we are developing this for is a rent to own company. Basically they want software from us that will disable a pc and basically force the customer to bring in the computer to have it “fixed” and make a payment or it dosent get fixed.
> 
> Basically, we throw a garbage value into boot.ini so the pc won’t boot the OS.  
> The customer then brings the pc in for repair and to make a payment. At which time we use a startup fix utility to repair the damaged boot.ini file.

You are assuming that the users are idiots. What’s to stop them from blowing away the hard drive and reinstalling the OS? You need something that runs in hardware i.e. the bios.

---

<div class="post-metadata">

**Author:** ![99FRC](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/99frc/32/6335_2.png) [@99FRC](https://forums.speedlife.net/u/99FRC)\
**Post date:** [March 23, 2009, 2:41pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/17 "2009-03-23T14:41:17Z")

</div>

> [@On another topic](https://forums.speedlife.net/t/16022/9):
>
> You are assuming that the users are idiots. **What’s to stop them from blowing away the hard drive and reinstalling the OS? You need something that runs in hardware i.e. the bios.**

A BIOS and a hard drive password.

The company were doing this for technically owns the PC’s until they are done being rented, or payed for. As a precaution we already put Passwords on the BIOS and the Hard Drives. Only the store and us have the passwords and they are not shared with the customer.

Of course if you know what you are doing there are always going to be ways around anything you do. BIOS can be reset. Hard Drives can be replaced. Etc, etc. 98% of the clientel for rent to own do not have the knowledge to reset BIOS and replace hard drives. The store is looking to cut down on loss, not eliminate it. That is impossible in that industry.

---

<div class="post-metadata">

**Author:** ![PhunkFX](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@PhunkFX](https://forums.speedlife.net/u/PhunkFX)\
**Post date:** [March 23, 2009, 8:59pm UTC](https://forums.speedlife.net/t/it-programming-help/242959/18 "2009-03-23T20:59:33Z")

</div>

> [@car question (turbo honda)](https://forums.speedlife.net/t/car-question-turbo-honda/16030/2):
>
> The client we are developing this for is a rent to own company. Basically they want software from us that will disable a pc and basically force the customer to bring in the computer to have it “fixed” and make a payment or it dosent get fixed.
> 
> Basically, we throw a garbage value into boot.ini so the pc won’t boot the OS.  
> The customer then brings the pc in for repair and to make a payment. At which time we use a startup fix utility to repair the damaged boot.ini file.

Yeah like said before. That can be worked around. You can install an OS without needing the bios password as long as the optical drive is set to a boot device prior to the hard drive.

What would be sweet is a hard drive encryption program such as true crypt or something like that set to encrypt the drive at your command, only making it accessable to them if they bring it in to have the decrypted… but… then again you would only have to re-install OS over the encrypted drive if it doesn’t have CMOS security.

Tough one to do on a non large programming project scale. Let me know how it turns out!

---

<div class="post-metadata">

**Author:** ![99FRC](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/99frc/32/6335_2.png) [@99FRC](https://forums.speedlife.net/u/99FRC)\
**Post date:** [March 24, 2009, 6:39am UTC](https://forums.speedlife.net/t/it-programming-help/242959/19 "2009-03-24T06:39:38Z")

</div>

> [@Calling out DrDos](https://forums.speedlife.net/t/calling-out-drdos/15773/52):
>
> Yeah like said before. That can be worked around. You can install an OS without needing the bios password as long as the optical drive is set to a boot device prior to the hard drive.
> 
> What would be sweet is a hard drive encryption program such as true crypt or something like that set to encrypt the drive at your command, only making it accessable to them if they bring it in to have the decrypted… but… then again you would only have to re-install OS over the encrypted drive if it doesn’t have CMOS security.
> 
> Tough one to do on a non large programming project scale. Let me know how it turns out!

Yea you def. have a good point. I did some additional logic last night and came up with another idea on top of the passwords.

The software we are developing is also going to be able to track the customer PC’s. Basically, the PC will be scheduled to call into the host server at least once a day, or whenever it is hooked up to the internet. If the PC does not call in it goes into a report which will be viewed at the end of each week. If there is a PC that has not called in within a given time period then the client takes over from there and does whatever they have to do to find out what their customers are up to.

---

<div class="post-metadata">

**Author:** ![psi2high](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/psi2high/32/6320_2.png) [@psi2high](https://forums.speedlife.net/u/psi2high)\
**Post date:** [March 24, 2009, 6:50am UTC](https://forums.speedlife.net/t/it-programming-help/242959/20 "2009-03-24T06:50:40Z")

</div>

Damn Ricky didn’t know you were a computer geek

[Next page](https://forums.speedlife.net/t/it-programming-help/242959.md?page=2)
