Quantcast
Channel: 2BrightSparks
Viewing all articles
Browse latest Browse all 9303

Re: Put the laptop back in sleep again after running profile

$
0
0
Edit the command-line string in the Scheduled Task to add one of these switches

-hibernate
-standby
-shutdown
-shutdownforce (v6.3.7.0 onward only)

with an intervening space (and leading dash, as shown), thus (example)

"C:\.....\SyncBack.EXE" "NameOfProfileOrGroup" -hibernate

Help > Search > 'command-line' (without the quotes) > top hit

for more background. Note some are not available in the Free version (labelled accordingly in the text)


Note that the Task command-line is not manually editable in the drill-down with the new (Vista-and-later) Windows Task Scheduler (it was in XP/2003, but not any more). You need to access/edit this via the Windows Task Scheduler itself.

http://www.2brightsparks.com/help/index ... article=59

gives clues how to access the Windows Task Scheduler in Vista-and-later, where the Task is stored, etc. (follow the 'Vista' trail, but don't get snarled up with the error-tracing text, just follow the guide to how to find the Task). Note the Action is split over two edit boxes, one for the executable path and the other for Arguments, which would be

"NameOfProfileOrGroup" -hibernate

in the above example. Beware any pop-up after editing that suggests Windows may have stored the split string wrongly (split it between 'program' and 'files') - I think they fixed this with a Windows Update or in SP1, but can't be sure. We haven't seen a report of it (or an occurrence locally) for some time, but that's no proof ;) If it comes up, click No (etc)

Viewing all articles
Browse latest Browse all 9303

Trending Articles