Hi,
I need a software that on each user login automaticely checks a computer for its configuration. Intention is that this helps in software administration in a big company.
This should be Windows service working on NT4.0, 2000, XP, Vista, that runs a specified remote script with admin priviliges. (If there is a problem, NT4.0 may be not required). Also it does some shutdown operations.
Should be simple i.e. installable without any additional software (like .NET). I expect to get source code as well as binaries.
How it should work:
There are 2 files: [login to view URL], config.txt.
Setup copies configuration file into Windows path. In case of missing [login to view URL] setup stops and generates error message. The service starts on each computer start and reads config file (file should be editable by admin in the future).
Config file looks like:
==========================================
[uruchamiaj_po_zalogowaniu]
/computer/share/path/to/[login to view URL]
[logi]
c:/%COMPUTERNAME%.txt
[wylacz]
akcja=wylaczenie
czas=20:30
==========================================
On each user login the service reads remote script from [login to view URL] (in example: /computer/share/path/to/[login to view URL]).
Then the service executes the [login to view URL] locally under admin priviliges.
Script [login to view URL] shall be like:
========
route -p add [login to view URL] mask [login to view URL] [login to view URL]
arp -s [login to view URL] 00-0e-0c-4b-44-99
arp -a >> smb/komputery/%USERNAME%.txt
linux/komputery/log/[login to view URL] ukryty=tak linux/komputery/log
# in line above slashes should be replaced by windows backslashes
========
(But do not assume precise content of the script, this is given for testing purposes only).
Section [wylacz] (means "turn-off"), have two parameters:
akcja - can be either "wylaczenie" (means turn the computer off) or "hibernacja" (puts windows into hibernation);
czas - is a time in format HH:MM (hours minutes)
On defined time if there was no user action (mouse move or keyboard press), the computer should be turned-off or hibernated (as first parameter specifies).
PROGRAM REPORTS:
1. If there is no [login to view URL], service does nothing apart from storing the info into c:/%COMPUTERNAME%.txt
(%COMPUTERNAME% is an enviromental variable).
2. Wrong or missing [logi] section - stores info into c:/%COMPUTERNAME%.txt file.
3. Missing or incorrect remote script ([login to view URL]) => stores info into [logi] file.
4. Incorrect time or action in [wylacz] section - stores info info [logi] file.
All log storage in format: date|time|human readable comment
I have done similar type of application before. Check PM for demo. Give me more details about
your future centralized remote administration system. I will provide you another demo on that.
This program is a minimal version of your requirement. This service is developed in C++. So, it does not require any dependencies to run. This program is just a quick demo. I have kept the configuration file simple. I will implement everything according to your specification after you select me. So, let’s start...
$125 USD en 7 días
5,0 (1 comentario)
2,9
2,9
9 freelancers están ofertando un promedio de $228 USD por este trabajo
I will build this application as single file standalone program in Borland C++ . This application would require no dependency files like .NET env or DLL etc. it will run as windows service and do the actions as specified by you.