Solved Is there a trigger for a task schedule to shutdown

MacNala

New member
Local time
3:49 AM
Messages
8
I want to ensure that when I shutdown certain critical files have been copied to an alternate location.
I have viewed a great number of tips and tutorials which show how to create a shutdown task.
eg
http://www.sevenforums.com/tutorials/779-shut-down-windows-alt-f4-window-change-default-action.html
http://www.sevenforums.com/tutorials/61294-shut-down-computer-shortcut-create.html
but fail to see how these are triggered.

Is it just changing the shutdown.exe to do the comparison of the files last written date/time, doing a copy if alternate location file is not the current file date/time?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Win 7 Prof x64 and Win 7 Ult
CPU
Intel i7-4930K 6 Core @ 3.4GHz
Motherboard
ASUS P9X79LE
Memory
32 GB
Monitor(s) Displays
1 27"
Screen Resolution
1920 1200
Hard Drives
Seagate 2TB x2 RAID
Seagate 1TB x1 nonRAID
Browser
IE11

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
Here's an article that uses backup as an example:

Run Scripts At Shutdown in Windows 7

It sounds like you need confirmation that the files have copied; if you figure that out I'd sure love to see how you implemented it MacNala.

:)
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell Latitude E6540 Laptop
OS
Windows 7 Professional 64bit
CPU
Intel Core i7 4600M @ 2.90GHz
Motherboard
Dell Inc. 0CYT5F (SOCKET 0)
Memory
16.0GB Dual-Channel DDR3 @ 797MHz (11-11-11-28)
Graphics Card(s)
Intel HD Graphics 4600 (Dell) 2048MB ATI AMD Radeon HD 8790M
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
HP ZR30w (2560x1600@60Hz)
Hard Drives
256GB LITEONIT LMT-256M6M-41 mm SATA (SSD)
1TB Samsung SSD 860 EVO mSATA SATA (SSD)
2TB USB 3.0 USB Device
115GB SanDisk Ultra Fit USB
Other Info
Multiple Dell E-Port Plus II Port Replicator/Docking Stations 0Y72NH USB 3.0 + 130W AC Adapters
Am I reading more into your reply than first appears?
Are you suggesting that there is Gotcha I should look out for?
e.g. The file stamps such lastwrittentime might not be up to date?..
I am going to attempt this in Powershell and if successful will report back.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Win 7 Prof x64 and Win 7 Ult
CPU
Intel i7-4930K 6 Core @ 3.4GHz
Motherboard
ASUS P9X79LE
Memory
32 GB
Monitor(s) Displays
1 27"
Screen Resolution
1920 1200
Hard Drives
Seagate 2TB x2 RAID
Seagate 1TB x1 nonRAID
Browser
IE11
Back
Top