Tilted Forum Project - TFP - Sexuality, Philosophy and Political Discussion

Go Back   Tilted Forum Project - TFP - Sexuality, Philosophy and Political Discussion > Interests > Tilted Technology

Reply
 
LinkBack Thread Tools
Old 05-19-2004, 07:14 PM   #1 (permalink)
Lost
 
Munku's Avatar
 
Join Date: May 2003
Location: Florida
Need help ASAP! Program to reboot someone's comp?

To cut a long story short I need something I can send to someone, and when they open it, it reboots their comp. I made a progam that did this in Autoit, but now I redownlaoded autoit, and none of the functions work it seems. Need this ASAP!

*Edit* I made my own. That was stinky.. if anyone needs a guaranteed comp rebooter file, let me know and I'll send it over AIM only.

Last edited by Munku; 05-19-2004 at 07:30 PM.
Munku is offline   Reply With Quote
Old 05-19-2004, 07:39 PM   #2 (permalink)
I am Winter Born
 
Pragma's Avatar
 
Join Date: Apr 2003
Location: Alexandria, VA
Well, the simplest plan is a batch file or something that simply calls "shutdown" with the appropriate command line options on a Win2k/XP box.

Failing that, you could always do something more esoteric like writing a C/C++ app that calls the system API for rebooting.
__________________
Eat antimatter, Posleen-boy!
Pragma is offline   Reply With Quote
Old 05-19-2004, 07:54 PM   #3 (permalink)
Lost
 
Munku's Avatar
 
Join Date: May 2003
Location: Florida
I just used AutoIt v. 3 :P
Munku is offline   Reply With Quote
Old 05-19-2004, 09:28 PM   #4 (permalink)
Devils Cabana Boy
 
Dilbert1234567's Avatar
 
Join Date: Apr 2003
Location: Central Coast CA
i've looked into it for 2k and i have not found anything that can do it from a command line.
__________________
Donate Blood!

"Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen
Dilbert1234567 is offline   Reply With Quote
Old 05-20-2004, 05:19 AM   #5 (permalink)
Psycho
 
Join Date: Jan 2004
Location: Boston, MAss., USA
For Win2k, there is a shutdown exe program that's included in the Resource Kit, might be able to do what you want.

There's also psShutdown from Sysinternals.com which wil do the same thing.
__________________
I'm gonna be rich and famous, as soon I invent a device that lets you stab people in the face over the internet.
JohnnyRoyale is offline   Reply With Quote
Old 05-20-2004, 08:15 AM   #6 (permalink)
"Officer, I was in fear for my life"
 
hrdwareguy's Avatar
 
Join Date: Apr 2003
Location: Oklahoma City
Reboot script, copy the following into notepad or something and save it as a .vbs file. This will reboot a machine when executed.

Code:
' Copyright (c) 1997-1999 Microsoft Corporation
'***************************************************************************
' 
' WMI Sample Script - System reboot (VBScript)
'
' Invokes the Reboot method of the Win32_OperatingSystem class
' NOTE:  You must have the Shutdown privilege to successfully invoke the Shutdown method
'
'***************************************************************************
Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery("select * from Win32_OperatingSystem where Primary=true")

for each OpSys in OpSysSet
	OpSys.Reboot()
next
__________________
Gun Control is hitting what you aim at

Aim for the TFP, Donate Today
hrdwareguy is offline   Reply With Quote
Old 05-20-2004, 12:34 PM   #7 (permalink)
Stop. Think. Question.
 
rubicon's Avatar
 
Join Date: Apr 2003
Location: Redondo Beach, CA
Go to SysInternals web site and download the PSTools. There is a freeware tool called "psshutdown" that can be used from the CLI.
__________________
How you do anything is how you do everything.
rubicon is offline   Reply With Quote
Reply

Bookmarks

Tags
asap, comp, program, reboot

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -7. The time now is 06:58 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
All text (c) 2002-2008 Tilted Forum Project
"Insignia" vBulletin 3.5 - b6gm6n - x7x7x7.com