1. Actual work done
I continued to work on DeviceLock’s centrol control earlier this week. After that, I prepared a document to describe the installation and functionality, such as monitoring, verifying and reporting, of DeviceLock’s control-controlling server. Then I started to develop a program with AutoIT and C# to collect the software and printer information from all computers in the domain.
2. Technical involvement
In order to use AutoIT efficiently as a windows scripting language, I learnt a lot about windows scripting and command, I learnt more about registry to retrieve information from it directly. Also I tried to optimize the algorithm to achieve best performance of the program.
3. Problems and results
Lot of problems showed up when I was considering the details to perform the task of information collection. One is the privilege denied caused by the security mechanism of Vista and Windows 7 operating system when I tried to retrieve information from registry. Another problem is time consuming of pinging and connecting to each computer one by one. There were many other run-time problems due to the changeable environment. I optimized the algorithm and developed a “switch user” function to gain administration privilege, and also I added multi-thread function to shorten the processing duration.