|
Answer» I need a script that will verify if a program is installed, then create an alert that the program exists on the system. I would APPRECIATE any HELP I can get.Check that the program install folder exists, and whether the executable program file is present in that folder. Tailor as appropriate for 32-bit and 64-bit systems.
Which program are you testing for?
I had an issue at a prior job where users who needed elevated privileges were installing unapproved software such as AOL Chat etc. I made a batch instruction that searched systems on the NETWORK for violation files and it would overwrite the EXE of that software with a custom EXE that I created with C++ stating that
Code: [Select] This software is not approved for use on this computer
Please contact the network administrator if you have any questions One person was extremely upset about this lack of chatting on the clock when they should be working on graphic design. But the computers belong to the company, not the employee!
It stopped the problems and it was amazing that certain individuals got more work done
* I was waiting for someone to catch on to this EXE swap and get smart to overwrite my custom EXE with the CORRECT EXE to make the software function again, but no one was capable there of figuring this out and defeating the unapproved software BAN. We had about 12 programs that were part of this ban that an EXE would get overwritten to disable them.
|