W2K Script needed to remove games at login
Posted on 2004-11-10
I am working on a physically diverse network of ~400-500 W2K machines. A large number were mistakenly deployed with the games still installed. I have googled and found the trick of modifying sysoc.inf to make the games show up in Add/Remove Programs. It's a good solution, except that some of these machines are 200 miles away. I have found that it can be done via Group Policy, but we are not running any form of it as this time.
What I am in search of is a way to add to the users login scripts commands to search to see if the games are present and if so delete them and the directories they belong in. (Don't want the games to even -appear- to be installed.) We have something very similar that worked quite well under Windows NT, but does not work under W2K. Best as I can tell, W2K appears to readd the games every time I simply delete the .exe. Very frustrating. I have been able to modify the old script to look at C:\WINNT\SYSTEM32\$gameinquestion.exe, but despite appearing to delete the exe...it still runs.
Can anyone help this frazzled tech?