MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.
This article explains how you can close all the applications / processes forcefully before you perform the backup.
Let's say you want to implement a policy setting that can be used to close off all the programs running in computer. Actually speaking this is not bit easy but you can deploy a script that can do your job at specified time using Task Scheduler service.
To accomplish above you need the followings:
A startup or logon script.
Tlist.exe to display list of processes running on the computer and kill.exe to kill the processes running except Windows defaults.
AT command to schedule the script at specified time.
You need to know the *process name* of the application you want to close or kill. You can use resource kit tool called "kill.exe* to close the process of an application. When you kill the process, application will be closed automatically.
You need to run a script using Group Policy which will run at 10.00 PM everyday. You can achieve using Task Scheduler service or using AT command in a script.
Deploy this script using Group Policy.
Files opened by network clients must also be closed in order to perform backup. You can use the command outlined here to close all opened files by network users.
Please follow this article:
If you don't know what all applications clients are running then you need to use some kind of programming stuff which can identify and close the application. Likewise all running applications can be closed by killing the main process that is Explorer.exe. If you kill explorer.exe then you need to re-run it in order to perform backup. Using some programming stuffs you can achieve this.
Here is an example:
1. You create a script. 2. Use kill.exe in this cript to end PID of explorer.exe or kill this process. 3. Run a command again to re-start this process (explorer.exe) to lunch desktop and then perform backup.