Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Halt Program Start Up

Status
Not open for further replies.

jammer1221

Programmer
Joined
Jul 30, 2003
Messages
352
Location
US
Hi, I was wondering if its possible to halt programs (Except one), right after windows starts up. If this is possible could someone lead me in the right direction.
Thanks,
Matt
 
Use pskill from the sysinternals website. Just pass it the processid of the executable you want to kill. In order to find out what the processid is, use their pslist utility.

Hint: Be judicious in it's use. Killing some processes will result in an instant blue-screen.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Thanks for the reply and I couldn't find that program, but from what it sounds like I don't think that's what i want. All I want is to be able keep other programs and basically windows from loading until my program is done executing...After it's done loading I want windows and all the other programs to start up just like it normally would without my program. An example is if you've ever seen an anti virus' software's spalsh screen come up the second you logon and then stay there and not let anything load until it's done checking for things. Well I hope that helped explain a little bit more what I mean, if not I'll try and explain better next time
 
Let's imagine if this were true (preventing other programs from launching).

I could then write a program which could wedge itself into the system before the anti-virus program runs, leaving the computer wide-open to attack. I could also write a keylogger that would monitor what the user does on the computer. It also implies that I can control the lifetime of other programs, in effect doing a local denial of service attack.

All of these things would be bad, so the operating system doesn't permit it.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top