Subversion Repositories userdetect2

Rev

Rev 81 | Rev 83 | Go to most recent revision | Last modification | Compare with Previous | View Log | RSS feed

Last modification

Path Last modification Log RSS
[NODE][NODE] [DIRECTORY] devcpp_plugins/ 77  2016-02-28 22:38:33 daniel-marschall Log RSS
[NODE][NODE] [DIRECTORY] Plugins/ 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [DIRECTORY] private/ 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] cleanup.bat 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] Documentation.rtf 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [H-FILE] ud2_api.h 73  2015-10-03 22:19:01 daniel-marschall Log RSS
[NODE][NODE] [H-FILE] ud2_guid.h 73  2015-10-03 22:19:01 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_Main.ddp 81  2016-06-17 01:20:46 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_Main.dfm 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_Main.pas 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_Obj.pas 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_PluginIntf.pas 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_PluginStatus.pas 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_PluginUtils.pas 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [H-FILE] ud2_status.h 73  2015-10-03 22:19:01 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_TaskProperties.ddp 81  2016-06-17 01:20:46 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_TaskProperties.dfm 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_TaskProperties.pas 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [H-FILE] ud2_utils.h 73  2015-10-03 22:19:01 daniel-marschall Log RSS
[NODE][NODE] [FILE] UD2_Utils.pas 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UserDetect2.dof 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UserDetect2.dpr 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UserDetect2.exe 82  2016-06-17 23:59:37 daniel-marschall Log RSS
[NODE][NODE] [FILE] UserDetect2.inc 70  2015-10-02 05:33:13 daniel-marschall Log RSS
[NODE][NODE] [FILE] UserDetect2.ini 74  2015-10-03 22:39:45 daniel-marschall Log RSS
[NODE][NODE] [FILE] UserDetect2.res 81  2016-06-17 01:20:46 daniel-marschall Log RSS
[NODE][NODE] [FILE] WindowsXP.res 68  2015-09-29 20:31:10 daniel-marschall Log RSS

ViaThinkSoft UserDetect2

What is UserDetect2?

UserDetect2 is a program that allows the user to execute different programs depending on their current environment (e.g. MAC addresses, user name or computer name), so that a single executable file, e.g. shared over a network drive, a flash drive or external hard disk, can perform tasks for different work stations. The environment identifications can be extended by plugins.

Usage example

You have an external hard disk which you use for a daily backup with a backup tool (e.g. Microsoft RoboCopy).

You use this external drive to perform backups for different computers.

Additionally, you want to decide if the computer should be shutdown after the backup, or not. (Can be useful if you leave the computer alone, while the backup is performing)

If you have 2 computers with the names “JohnPC” and “JohnLaptop”, then you would probably need 4 batch files:

  1. E:\JohnPC\backup_no_shutdown.bat
  1. E:\JohnPC\backup_shutdown.bat
  1. E:\JohnLaptop\backup_no_shutdown.bat
  1. E:\JohnLaptop\backup_shutdown.bat

If you accidently start the wrong batch file, the backups will be inconsistent, and there may be data loss.

But if you use UserDetect2, you could create following Task Definition File:

[NoShutdown]
Description=Run backup without shutdown
ComputerName:JohnPC=JohnPC\backup_no_shutdown.bat
ComputerName:JohnLaptop=JohnLaptop\backup_no_shutdown.bat
[Shutdown]
Description=Run backup and shutdown
ComputerName:JohnPC=JohnPC\backup_shutdown.bat
ComputerName:JohnLaptop=JohnLaptop\backup_shutdown.bat

In this case, you would only need to run “E:\UserDetect2.exe” (maybe even use it as AutoRun application, if you are working with Windows Vista or previous versions of Windows) and then select if you want to perform a backup with or without shutdown. UserDetect2 will select the correct batch file for you.

Documentation

In the documentation you can read more about:

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.