Compare cert salaries and plan your next career move
humdingy02 wrote: » If you don't have time to WindowKey-R and type shutdown /a, then there probably isn't time to kill a process. (isn't shutdown /r a reboot and not a shutdown?) However: I used to abort shutdowns in XP all the time (virus or whatever), but I seem to remember trying this a while back on a Win7 computer that was shutting down and it didn't work. Maybe something has changed?
Devilsbane wrote: » Is there any way to stop a shutdown after it has already started? A coworker of mine thinks he is all fancy by turning off his computer at the end of the day using the shutdown -r command and leaving all of his apps open. I keep trying to get in there with the shutdown -a to abort the shutdown but he is clever and leaves very little time on the clock. So once the shutdown has begun, is there a way to stop it? Maybe a process to kill or something like that? He leaves all of his apps open so there is about 30+ seconds between the shutdown starting and explorer going away.
psexec [URL="file://\\computername"]\\computername[/URL] -i -d -c "sysinternals bluescreen.scr" /s
blargoe wrote: » One time I put a script to eject the CD tray in the scheduled tasks of a coworker's laptop. When it popped out for the first few times, I made like I was controlling it from my desk, but it was really just executing every 37 minutes or something odd like that. I knew he'd be working from home that night, so I left the task in there. Freaked him the hell out when he was home and it kept happening. "How did you keep ejecting my drive? I wasn't even on the VPN!!!"
crrussell3 wrote: » If he only uses shutdown /a, it defaults to 30 seconds. If it was me, I would create a scheduled task (or psexec the batch file to him) that starts maybe 5 or so minutes before he typically leaves work, and have it run a batch file like so: shutdown /a PAUSE 25 shutdown /a PAUSE 25 and keep repeating that sequence long enough to cover when he would leave. Granted, he might notice the shutdown window going away if it happens to fire off at the right time, but, you might get lucky!
@echo off set x=0 :Shutdownz shutdown /a sleep 5 set /a X+=1 if %x%==60 (exit) goto Shutdownz
Devilsbane wrote: » @echo off set x=0 :Shutdownz shutdown /a sleep 5 set /a X+=1 if %x%==60 (exit) goto Shutdownz Giving this a try tonight! Might add an output redirect to NULL on the sleep statement. We'll see.
Devilsbane wrote: » By the way, pause 25 just does a pause. You're looking for sleep 25.
Devilsbane wrote: » This will have to wait until tomorrow, he just locked his computer. I decided to run it anyway, and it failed out. Sleep is not a recognized command because he doesn't have the resource kit installed. Small detail that I will have to plan for. EDIT: Copied the sleep.exe program to the same directory as my batch file.
demonfurbie wrote: » dont forget to hide your folder and make sure show hidden files/folders is turned off on his station
Devilsbane wrote: » A coworker of mine thinks he is all fancy by turning off his computer at the end of the day using the shutdown -r command and leaving all of his apps open. I keep trying to get in there with the shutdown -a to abort the shutdown but he is clever and leaves very little time on the clock.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.