Do not modify any of the items in this folder except for the following listed below.

- Change debug.off to debug.on to not reboot after restoring a disk image. For troubleshooting restore errors.
- Change mode.default to mode.reimage to default to restoring disk imaging instead of prompting user for image capture vs. restore.
- Add commands to to_do.bat to trigger files added to the extras folder that are copied to c:\windows\temp\psimage on client.

When editing to_do.bat please note the following.

If adding registry settings with reg add with a value that includes spaces and double quotes in it, add outer quotes (to maintain the spaces) and backslash escape the inner quotes to maintain them in the registry value.

	reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v bginfo /t REG_SZ /d "\"C:\Program Files\bginfo\Bginfo64.exe\" \"C:\Program Files\bginfo\config.bgi\" /timer:0 /silent /nolicprompt"

If launching an executable use start /wait so the script waits for your binary to finish before rebooting. If the commandline includes spaces use start /wait "" <your_command_line>.

	start /wait "" "c:\windows\temp\psimage\Firefox Setup 88.0.1.exe" /S

For logging, redirect the output for your commands with >> C:\Windows\Temp\psimage.log

	start /wait "" "c:\windows\temp\psimage\Firefox Setup 88.0.1.exe" /S >> C:\Windows\Temp\psimage.log

To redirect both stderr and stdout for your commands use >> C:\Windows\Temp\psimage.log 2>&1

	start /wait "" "c:\windows\temp\psimage\Firefox Setup 88.0.1.exe" /S >> C:\Windows\Temp\psimage.log 2>&1

In general try to deploy items as filesets if possible instead of using to_do.bat if you can help it. However, if it's a task that must be done on the reimaged client PC ASAP and cannot wait for the deployment of a fileset then use to_do.bat.
