Shutdown Script

llwyd

New member
Hello all

I'm looking to put together a shutdown script for XP. I have a device running off 5vUSB which the software for fails to terminate during shutdown. This leaves the device feeding off the standby 5v which is a bit irritating to say the least.

I'm guessing I need to knock up a simple batch file and add this to the shutdown schedule. If so, whats the shutdown command for an .exe and where's the editor for the shutdown list?

Or if there's an easier method I would appreciate a pointer in the right direction.

Thanks in advance :)
 
name='Kempez' said:
Checked the BIOS to power off USB after power down? You've probably already checked, but just in case

Yea i have BUT now you mention it, this IP35pros bios is being a bit of a bugger. Keeps resetting itself randomly and refusing to boot after reaching the C1 check (memory count i think). So it may well be back and forth.

Gonna try get a new batt and bios chip before selling it on and going back to ASUS, the apparent lesser of two evils (and by evils I mean companys who have yet to send me a motherboard I would class as acceptable)

just incase, my question still stands :)
 
make a shortcut with "shutdown -s -f -t 30" as the target / a batch file containing that.

this will -s shutdown -f force everthing to close -t 30 in 30 seconds

u can place it in a bat and assign it to a keyb hotkey or schedule it

shutdown /a stops it
 
Thanks Joe but that was my first port of call but its of no use as thats pretty much the normal windows shutdown process. I need to force the shutdown of a specific exe at the start of the windows shutdown process.

Im sure there is a shutdown.ini just the same as the boot that I can use initiate a specific app termination before the -s -f functions run.
 
name='llwyd' said:
Thanks Joe but that was my first port of call but its of no use as thats pretty much the normal windows shutdown process. I need to force the shutdown of a specific exe at the start of the windows shutdown process.

Im sure there is a shutdown.ini just the same as the boot that I can use initiate a specific app termination before the -s -f functions run.

add tskill *name of the application* use the name found by running tasklist on a commandline

2 the start of the shutdown script
 
XP home doesnt have the tasklist.exe iirc so i'll try download it now

You mean the shutdown batch I created or to the default windows one? because I want to tie it to the main windows shutdown if possible

Will try that now anyway

Thanks Joe :)
 
name='llwyd' said:
XP home doesnt have the tasklist.exe iirc so i'll try download it now

You mean the shutdown batch I created or to the default windows one? because I want to tie it to the main windows shutdown if possible

Will try that now anyway

Thanks Joe :)

whichever1 gets u shaking and breathless
 
Right well after realising how many tools are missing from XP home.... such as the kind of essential group policy editor, i've binned that idea and gone with an alternative solution lol

thanks anyway joe
 
name='llwyd' said:
Right well after realising how many tools are missing from XP home.... such as the kind of essential group policy editor, i've binned that idea and gone with an alternative solution lol

thanks anyway joe

NP

quick q ??? Why u running Home ??
 
name='Joe' said:
NP

quick q ??? Why u running Home ??

Couple of my windows disks are just marked as windows and some are dud. Had a hard time getting this IP35 Pro to boot from DVDRW so there was a lot of disc changing and home was the one that it booted on. Got vista here but my partition system is too small for it and my backup drive is full so no altering partition size without using software.

Oh and i've lost my activation code for my working XP pro disc haha
 
Back
Top